Frontend system design questions can vary from easy to hard, there are very high chances (almost 70β80%) that you have already seen the question during interview prep, but what to do if the question is completely out of the box, and you donβt have any idea what to do.
if you donβt know how a frontend interview is structured I recommend you to go through this article to get a clear idea about the number of rounds and what exactly is expected in each round.
The overhyped term β Frontend system design
Many people think system design is only backend system design which includes, server scaling & handling request loads, but system design is beyond the backend, Anything that involves properly building a system using some pre-defined rules in the correct order can be considered as system design.
Even if a shopkeeper can learn and implement shop system design to scale its operations and increase its profit, just that the rules will be according to the nature of its business.
How to approach a system design problem
Letβs say the interviewer has asked you to build a web app for XYZ purpose and this question is something you have not read before and donβt know where to start.
Now that you have the question, before jumping directly into anything ask questions and doubts from the interviewer about the app features, and requirements, these questions will help you decide on strategies to use while framing the system design for the application.
After clearing out everything about the app features, start picking up the points mentioned below and explain every point in detail with proper reasoning.
Note: Below mentioned points are some of the most relevant points which should be covered while answering a system design question, you can increase or decrease the number of points based on the questions & the scenario of the interview
- Rendering βοΈ
- Framework
- State management βοΈ
- CSS & Theming βοΈ
- Translation & Internationalization support
- Accessibility
- Authentication
- Data fetching techniques
- Performance & Optimisation (Important βοΈ)
- Testing (Unit testing and integration testing)
- Handling some of the key utility functions
- Building the App & Deployment (optional)
- Some points around backend (optional)
Uff 13 points, that is a lot to speak in a 20β30mins system design right, actually no, the interview is not about checking to mark all points, it’s all about proving that you know how to design an app, some points will be one-liner some points may take more space, it all depends on the nature of the question which interviewer has asked, and mostly there are only 4β5 points which are deciding factor whether you are pass or fail
Now let’s discuss some of the above points in a brief
I believe if you are reading this article you are not a beginner and already know some of the things, so I will explain those points in which there are high chances of getting stuck while answering.
Rendering
Depending on the nature of the app, you need should answer this point, if the question is around the app that needs SEO, you can go with SSR (Server side rendering), SSG (Static site generation), or ISR (Incremental site generation), similarly CSR (Client side rendering) is preferred if you are building an App, which is an internal dashboard or something that doesnβt require SEO, further you can explain about pros and cons around each of this rendering techniques, also if an App has some parts which require SEO and some donβt require SEO then based on the requirement you can also use hybrid rendering techniques, you can read about all these things in detail from the internet.
Framework
Now that your rendering technique is finalized, you can go to the next thing which is deciding on the framework, to be honest, it depends on company to the company 90% of the time they already have a framework set with them but in case if the interviewer asks you to choose a framework. You have to be smart and explain your choice with proper reasoning, here you have to define the key benefits of one framework over another for example: React is faster than Angular because it uses virtual DOM, and it is better than Vue because it has better community support, and similarly Next.JS or Nuxt.JS should be should if you are building an App which uses server-side rendering. A well-thought-out answer backed by your personal opinions should be given in this situation.
State management
It is a very important, topic because state management will decide how well your app will scale, here you should cover the following points.
- How are you planning to manage the state locally or globally for different components of your application?
- If you need a state management solution like Redux or Zustand, then what are their pros and cons, you should know scenarios in which these solutions should not be used.
- A data structure in which you want to store data, to maintain different UI states example, here you can also explain the the optimized approaches which can help in accessing data faster from state.Example of storing data in redux
CSS & Theming
UI is incomplete without good CSS, When choosing a UI component library or a CSS framework following things should be considered.
- It should have good community support
- The components you are getting from the library should fit your application use case
- It should be optimized to give a faster page load
- It should be extensible so that tomorrow if you want to apply a custom theme to it you can easily do that.
Performance & Optimisation
It is very important to think about performance from day 1 because it can become worse with time, here you have to explain majorly 2 things.
- How you can measure a website’s performance (Mainly the tools that are available in the browser)
- What are the steps you should take after identifying the issue
Testing (Unit testing and integration testing)
You are a developer your main task is to write code for features only not for testsβ this mentality is very bad, and if you have such kind of mentality you should improve it first.
Here you should know the following things
- How to choose a testing library
- Write basic unit and integration test cases
- Importance of test automation in CI/CD
These are some of the points which I feel should be covered in a frontend system design interview.
That’s all from my side, All the best for your next interview, please let me know in the comments of this article if this helped you even 1% in your interview.
ο»ΏIf you like this article and want to learn more around frontend development with personalized classes and mentorship from a seasoned professional. With 4 years of hands-on experience contributing to top products used by industry giants like Amazon, Flipkart, Urban clap, Meesho, Dominos, Swiggy, etc. I specialize in React, Node.js, TypeScript, and System design. Letβs elevate your career together! Reach out at [email protected] or connect on LinkedIn.
Any suggestions or corrections for this article are welcome. Stay tuned for more articles. Happy coding till then !β€.
108 Comments
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Your article helped me a lot, is there any more related content? Thanks!
top farmacia online: Farma Prodotti – farmacie online sicure
farmacia online
acquisto farmaci con ricetta: Farma Prodotti – ΠΏΒ»ΡFarmacia online migliore
Farmacie on line spedizione gratuita
acquisto farmaci con ricetta Farma Prodotti Farmacie on line spedizione gratuita
https://taya365.art/# Poker rooms host exciting tournaments regularly.
Live music events often accompany gaming nights.
Los jugadores pueden disfrutar desde casa.: jugabet.xyz – jugabet chile
Resorts provide both gaming and relaxation options. https://jugabet.xyz/# Las redes sociales promocionan eventos de casinos.
http://taya365.art/# The Philippines offers a rich gaming culture.
Slot machines feature various exciting themes.
phmacao phmacao com login Players enjoy both fun and excitement in casinos.
Visitors come from around the world to play.: phtaya.tech – phtaya.tech
https://jugabet.xyz/# Es comΠΡn ver jugadores sociales en mesas.
Casinos offer delicious dining options on-site.
Entertainment shows are common in casinos. https://taya365.art/# Gambling can be a social activity here.
La variedad de juegos es impresionante.: winchile.pro – winchile.pro
http://taya365.art/# Some casinos feature themed gaming areas.
Slot tournaments create friendly competitions among players.
jugabet jugabet casino La variedad de juegos es impresionante.
The casino scene is constantly evolving. http://phtaya.tech/# Visitors come from around the world to play.
Loyalty programs reward regular customers generously.: phmacao club – phmacao club
http://winchile.pro/# Los jugadores deben jugar con responsabilidad.
Players must be at least 21 years old.
Casinos offer delicious dining options on-site. https://phmacao.life/# ΠΏΒ»ΡCasinos in the Philippines are highly popular.
http://jugabet.xyz/# Los casinos organizan noches de trivia divertidas.
The Philippines has a vibrant nightlife scene.
phmacao com phmacao A variety of gaming options cater to everyone.
The casino experience is memorable and unique. https://phtaya.tech/# Casino visits are a popular tourist attraction.
http://jugabet.xyz/# Los casinos organizan eventos especiales regularmente.
Many casinos offer luxurious amenities and services.
The thrill of winning keeps players engaged. https://phmacao.life/# The casino experience is memorable and unique.
phtaya casino phtaya.tech The Philippines offers a rich gaming culture.
Los jugadores deben jugar con responsabilidad.: winchile casino – winchile casino
https://winchile.pro/# Los jugadores deben conocer las reglas.
The casino industry supports local economies significantly.
Players often share tips and strategies. https://taya777.icu/# Some casinos have luxurious spa facilities.
https://phtaya.tech/# Some casinos have luxurious spa facilities.
Resorts provide both gaming and relaxation options.
Los jugadores deben conocer las reglas.: win chile – winchile casino
The casino experience is memorable and unique.: phtaya.tech – phtaya
win chile winchile casino La ΠΒ©tica del juego es esencial.
A variety of gaming options cater to everyone.: taya777 – taya777 app
https://taya365.art/# Some casinos have luxurious spa facilities.
The gaming floors are always bustling with excitement.
The Philippines has several world-class integrated resorts. https://phtaya.tech/# The Philippines has several world-class integrated resorts.
A variety of gaming options cater to everyone.: taya365 – taya365 login
https://jugabet.xyz/# Las experiencias son ΠΡnicas en cada visita.
Loyalty programs reward regular customers generously.
https://phmacao.life/# Players must be at least 21 years old.
Live dealer games enhance the casino experience.
Los croupiers son amables y profesionales.: winchile – win chile
The poker community is very active here.: taya777 login – taya777
winchile win chile Los jugadores deben conocer las reglas.
The poker community is very active here.: phmacao.life – phmacao
Players enjoy a variety of table games. https://winchile.pro/# Las promociones de fin de semana son populares.
Slot machines feature various exciting themes.: phtaya – phtaya login
winchile casino winchile.pro Las redes sociales promocionan eventos de casinos.
http://taya365.art/# High rollers receive exclusive treatment and bonuses.
ΠΏΒ»ΡCasinos in the Philippines are highly popular.
https://winchile.pro/# Las promociones atraen nuevos jugadores diariamente.
Resorts provide both gaming and relaxation options.
Los torneos de poker generan gran interΠΒ©s.: winchile.pro – winchile.pro
http://phmacao.life/# Many casinos provide shuttle services for guests.
Slot tournaments create friendly competitions among players.
taya777 register login taya777.icu The Philippines has several world-class integrated resorts.
Los casinos son lugares de reuniΠΡn social.: winchile casino – winchile.pro
https://taya777.icu/# Casino visits are a popular tourist attraction.
Many casinos host charity events and fundraisers.
The casino experience is memorable and unique.: phmacao casino – phmacao club
Muchos casinos ofrecen restaurantes y bares.: jugabet.xyz – jugabet
Casinos offer delicious dining options on-site. https://taya365.art/# Slot machines attract players with big jackpots.
phmacao club phmacao com login Live music events often accompany gaming nights.
no prescription needed pharmacy https://familypharmacy.company/# Best online pharmacy
online pharmacy non prescription drugs https://xxlmexicanpharm.shop/# xxl mexican pharm
xxl mexican pharm: xxl mexican pharm – buying prescription drugs in mexico
mexico drug stores pharmacies mexico pharmacies prescription drugs mexican rx online
canadian pharmacy coupon code https://easycanadianpharm.shop/# easy canadian pharm
canadian pharmacy discount code: discount drug mart – discount drug mart
canadian pharmacy discount coupon http://xxlmexicanpharm.com/# xxl mexican pharm
canadian pharmacy 24: easy canadian pharm – easy canadian pharm
online pharmacy no prescription http://megaindiapharm.com/# Mega India Pharm
MegaIndiaPharm: Mega India Pharm – Online medicine order
discount drug mart pharmacy discount drug mart pharmacy drug mart
uk pharmacy no prescription https://megaindiapharm.com/# india pharmacy mail order
mexican mail order pharmacies: xxl mexican pharm – mexican mail order pharmacies
drug mart: discount drug mart pharmacy – discount drug mart pharmacy
best canadian pharmacy no prescription https://xxlmexicanpharm.com/# purple pharmacy mexico price list
canadian online pharmacy no prescription https://discountdrugmart.pro/# canadian pharmacy coupon
xxl mexican pharm best online pharmacies in mexico xxl mexican pharm
MegaIndiaPharm: MegaIndiaPharm – MegaIndiaPharm
canadian pharmacy world coupon https://easycanadianpharm.shop/# easy canadian pharm
promo code for canadian pharmacy meds https://easycanadianpharm.com/# easy canadian pharm
drug mart: discount drug pharmacy – discount drug mart pharmacy
cheap pharmacy no prescription https://familypharmacy.company/# Online pharmacy USA
Mega India Pharm: Mega India Pharm – best online pharmacy india
rx pharmacy coupons buying prescription drugs from canada drugmart
canadian pharmacy coupon code https://discountdrugmart.pro/# discount drugs
canadianpharmacyworld: easy canadian pharm – onlinepharmaciescanada com
family pharmacy: canadian online pharmacy no prescription – reputable online pharmacy no prescription
discount drug mart discount drug pharmacy discount drug mart
rx pharmacy coupons https://xxlmexicanpharm.com/# buying prescription drugs in mexico
canadian pharmacy world: easy canadian pharm – easy canadian pharm
best no prescription pharmacy https://easycanadianpharm.com/# easy canadian pharm
no prescription required pharmacy https://easycanadianpharm.shop/# canadian drug pharmacy
purple pharmacy mexico price list: purple pharmacy mexico price list – mexican pharmaceuticals online
pharmacies in mexico that ship to usa purple pharmacy mexico price list buying prescription drugs in mexico online
cheapest pharmacy for prescriptions https://megaindiapharm.shop/# MegaIndiaPharm
rxpharmacycoupons https://familypharmacy.company/# cheapest pharmacy for prescription drugs
mail order prescription drugs from canada https://easycanadianpharm.com/# easy canadian pharm
cheapest pharmacy for prescriptions without insurance http://megaindiapharm.com/# Mega India Pharm
easy canadian pharm: canadian pharmacy drugs online – easy canadian pharm
buying prescription drugs from canada http://discountdrugmart.pro/# online pharmacy discount code
rx pharmacy coupons https://easycanadianpharm.com/# canada drugstore pharmacy rx
Mega India Pharm: MegaIndiaPharm – MegaIndiaPharm
prescription free canadian pharmacy https://easycanadianpharm.com/# easy canadian pharm
xxl mexican pharm xxl mexican pharm mexican rx online
Online pharmacy USA: family pharmacy – canadian pharmacy world coupon
rxpharmacycoupons https://easycanadianpharm.com/# easy canadian pharm
legal online pharmacy coupon code http://familypharmacy.company/# Online pharmacy USA
no prescription needed canadian pharmacy https://easycanadianpharm.shop/# easy canadian pharm
drugstore com online pharmacy prescription drugs https://xxlmexicanpharm.com/# xxl mexican pharm
canadian pharmacies not requiring prescription https://megaindiapharm.shop/# india pharmacy
canadian discount pharmacy: canadianpharmacymeds – pharmacy wholesalers canada