uno de los mejores resรบmenes de system design que vi. en 5 pรกginas cubre los conceptos mรกs importantes:
1) escalado -> primero agrandรกs el servidor. cuando no alcanza, sumรกs mรกs servidores detrรกs de un load balancer y guardรกs las sesiones en un store compartido como Redis.
2) caching -> guardรกs en memoria lo que se lee mucho y cambia poco, como perfiles o productos.
3) bases de datos -> SQL para la mayorรญa de los casos, รญndices para las queries mรกs frecuentes y transacciones cuando se mueve plata o stock.
4) escalar datos -> rรฉplicas para repartir las lecturas y sharding cuando un solo servidor no aguanta las escrituras.
5) picos de trรกfico -> una cola recibe las tareas y los workers las procesan a su ritmo, asรญ la API sigue respondiendo rรกpido.
si estรกs preparando entrevistas o querรฉs entender cรณmo se diseรฑan sistemas a escala, estos conceptos son clave.
Uwekezaji unaoweza kufanya maishani ni kuwekeza ndani yako mwenyewe.
1. Change your mindset.
2.Jifunze kujitambua na kujitawala
3. Jifunze human behavior.
4. Elewa namna pesa inavyofanya kazi.
5. Jenga discipline na good habits.
6. Invest in knowledge and valuable skills.
System design is basically:
High global latency? Use a CDN.
Slow database reads? Add a cache.
Sudden write spikes? Add a queue.
Distributed transactions? Use Saga.
Need ACID transactions? Use SQL.
Flexible data models? Consider NoSQL.
SQL database too large? Shard the DB.
Growing server load? Scale out.
High traffic? Add a load balancer.
Critical service failures? Add redundancy.
Need data durability? Use replication.
Too many requests? Add throttling.
Unpredictable traffic spikes? Enable autoscaling.
Realtime updates? Use WebSockets.
Retries causing duplicates? Use idempotency keys.
We just released the parcel delivery feature on @ChopGrub, and I did some interesting engineering work on it,
People in Kuje, Abuja, and its environs can check it out
Hoping for a restful weekend ๐
๐ฆ๐ฆ๐ข ๐๐ ๐ข๐๐๐๐ต ๐๐ ๐ข๐๐๐ ๐๐ ๐ฆ๐๐ ๐.
Do you know the differences?
๐ฆ๐ฆ๐ข is a user experience, not a protocol. It lets users log in once and access multiple apps without re-authenticating; providing seamless access across tools. It relies on protocols like SAML or OIDC.
๐ข๐๐๐๐ต is for authorization. It lets apps access user data or services without sharing credentials. It controls what an app can access, not identity.
๐ข๐๐๐ is an authentication layer on top of OAuth 2.0. It verifies user identity and provides user info via ID tokens (usually JWTs). Itโs the standard for login + identity in modern apps.
๐ฆ๐๐ ๐ is an older, XML-based standard primarily used for enterprise SSO. Itโs still widely used in legacy and enterprise systems, though newer applications increasingly adopt OIDC. Itโs powerful but more complex than OIDC.
OAuth = access.
OIDC = identity.
SAML = older enterprise SSO.
SSO = the experience.
But getting identity right doesnโt solve the whole access problem.
As more apps and AI agents connect to production data, managing permissions separately in every tool gets harder.
Retool centralizes that with SSO, role-based permissions, and Data Access Enforcement, giving teams shared guardrails underneath the apps and agents they build.
Build with the tools you already use. Run with Retool's enterprise controls.
๐๐ฟ๐ฒ๐ฎ๐ ๐๐ต๐ผ๐ฟ๐ ๐ฟ๐ฒ๐ฎ๐ฑ ๐ผ๐ป ๐ต๐ผ๐ ๐ถ๐ ๐๐ผ๐ฟ๐ธ๐ โ https://t.co/NPyc5W8kjn
What else would you add?
โโ
๐พ Save it for later.
๐ Thanks to @retool for sponsoring this post.
โ Follow me to improve at system design and AI engineering.
It all starts somewhere, bro. Every successful man was once broke, confused, inexperienced, and doubted by people around him. The difference is he didn't quit at the beginning.