We Need to Stop the Microservices Madness - Scaling with Common Sense

The Backend Engineering Show with Hussein Nasser

Episode | Podcast

Date: Wed, 07 Oct 2020 19:22:27 GMT

<p>I stumbled upon this interesting article titled Scaling with common sense, the author goes into different topics of the bad practices of pre-mature scaling and optimization specifically with regards to microservices and k8. Let us discuss</p> <p>Resources</p> <p>https://zerodha.tech/blog/scaling-with-common-sense/</p> <p>0:00 Intro</p> <p>3:00 Comparisons are almost always meaningless.</p> <p>5:30 Scaling starts with well built software.</p> <p>8:50 Eat healthy and exercise daily.</p> <p>10:15 KISS, don’t be afraid, and boring better cool.</p> <p>12:00 The bottleneck is almost always the database.</p> <p>13:40 RDBMS works, almost always.</p> <p>15:00 Everyone forgets to index.</p> <p>17:30 Don’t use an RDBMS. What?</p> <p>19:40 Networking/IO is really hard. Network as little as possible.</p> <p>21:20 Connections are hard. Connect little, pool much.</p> <p>25:00 Latency is THE metric.</p> <p>26:10 The Internet is the Wild Wild West.</p> <p>28:40 Caching is a silver bullet, almost.</p> <p>29:00 Dumb caching is best caching.</p> <p>29:40 Some application state may not be bad.</p> <p>31:20 HTTP APIs can be E-Tagged (304) too.</p> <p>34:12 Allocation is expensive.</p> <p>37:40 Multi-threading and concurrency are necessary, but hard.</p> <p>38:30 Some technologies are genuinely slow. Use fast technologies.</p> <p>39:30 Scaling horizontally, vertically, and “enterprisely”.</p> <p>40:30 Human impediment.</p> <p>42:20 My Thoughts on Microservices</p> <p>🎙️Listen to the Backend Engineering Podcast</p> <p>https://husseinnasser.com/podcast</p> <p>🏭 Backend Engineering Videos</p> <p>https://www.youtube.com/playlist?list=PLQnljOFTspQUNnO4p00ua_C5mKTfldiYT</p> <p>💾 Database Engineering Videos</p> <p>https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2</p> <p>🏰 Load Balancing and Proxies Videos</p> <p>https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC</p> <p>🏛️ Software Archtiecture Videos</p> <p>https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9</p> <p>📩 Messaging Systems</p> <p>https://www.youtube.com/playlist?list=PLQnljOFTspQVcumYRWE2w9kVxxIXy_AMo</p> <p>Become a Member</p> <p>https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join</p> <p>Support me on PayPal</p> <p>https://bit.ly/33ENps4</p> <p>Stay Awesome,</p> <p>Hussein</p>