How IFood Microservice handles 30k Requests per Second[Systems Design Sundays]
This is going to be a good one.
I came across a two-part series on Medium, where an engineer from the Braziliant Food Delivery company IFood. They are a company that operates at a large scale, serving over 80% of the market in Brazil’s Food Delivery sector.
Naturally, this had me very curious to read into their System Design experiences. Reading through their publications, I found a few ideas they discussed to be very interesting. Keep these in mind as you approach your own Systems Design challenges-
Things are much easier if you develop a solution keeping future scaling needs in mind. The following quote is a good one (taken from the post).
When designing new solutions we always have to keep in mind the idea that in a couple of months that the system use will grow 2 or 3 times.
Spend a lot of time deciding how your team will split responsibilities and tasks. Does the following snippet remind you of an idea we have discussed?
“We used this approach because the read and write on this system are done by really different areas of the company.” Think back to Conway’s Law, discussed here. This is exactly what the Law predicted. Don’t just rush into your systems designs to start coding things right away. Make sure you spend a lot of time delegating responsibilities the right way.
Define your needs very clearly. In part 2, the author touches upon how they had to take migrate from their fragile data ingestion pipeline to something much more robust. Their final process was a result of a lot of trial and error, and collaboration with another team. Defining your needs very clearly, and trying to envisage potential problems in advance will save you a lot of pain.
Make sure you give it a read. It is always helpful to read through the experiences of other developers/teams to learn from them.
Part 1: Developing a Microservice to Handle Over 30k Requests Per Second at Ifood
Part 2: Consuming over 1 billion Kafka messages per day at Ifood.
If you have enjoyed this post so far, please make sure you like it (the little heart button in the email/post). I also have a special request for you.
***Special Request***
This newsletter has received a lot of love. If you haven’t already, I would really appreciate it if you could take 5 seconds to let Substack know that they should feature this publication on their pages. This will allow more people to see the newsletter.
There is a simple form in Substack that you can fill up for it. Here it is. Thank you.
https://docs.google.com/forms/d/e/1FAIpQLScs-yyToUvWUXIUuIfxz17dmZfzpNp5g7Gw7JUgzbFEhSxsvw/viewform
To get your Substack URL, follow the following steps-
Open - https://substack.com/
If you haven’t already, log in with your email.
In the top right corner, you will see your icon. Click on it. You will see the drop-down. Click on your name/profile. That will show you the link.
You will be redirected to your URL. Please put that in to the survey. Appreciate your help.
In the comments below, share what topic you want to focus on next. I’d be interested in learning and will cover them. To learn more about the newsletter, check our detailed About Page + FAQs
If you liked this post, make sure you fill out this survey. It’s anonymous and will take 2 minutes of your time. It will help me understand you better, allowing for better content.
https://forms.gle/XfTXSjnC8W2wR9qT9
Happy Prep. I’ll see you at your dream job.
CAP Theorem Fanatic,
Devansh <3
To make sure you get the most out of System Design Sundays, make sure you’re checking in the rest of the days as well. Leverage all the techniques I have discovered through my successful tutoring to easily succeed in your interviews and save your time and energy by joining the premium subscribers down below. Get a discount (for a whole year) using the button below
Reach out to me on:
Instagram: https://www.instagram.com/iseethings404/
Message me on Twitter: https://twitter.com/Machine01776819
My LinkedIn: https://www.linkedin.com/in/devansh-devansh-516004168/
My content:
Read my articles: https://rb.gy/zn1aiu
My YouTube: https://rb.gy/88iwdd
Get a free stock on Robinhood. No risk to you, so not using the link is losing free money: https://join.robinhood.com/fnud75