

The Backend Engineering Show with Hussein Nasser
Hussein Nasser
Welcome to the Backend Engineering Show podcast with your host Hussein Nasser. If you like software engineering you’ve come to the right place. I discuss all sorts of software engineering technologies and news with specific focus on the backend. All opinions are my own.
Most of my content in the podcast is an audio version of videos I post on my youtube channel here http://www.youtube.com/c/HusseinNasser-software-engineering
Buy me a coffee
https://www.buymeacoffee.com/hnasr
🧑🏫 Courses I Teach
https://husseinnasser.com/courses
Most of my content in the podcast is an audio version of videos I post on my youtube channel here http://www.youtube.com/c/HusseinNasser-software-engineering
Buy me a coffee
https://www.buymeacoffee.com/hnasr
🧑🏫 Courses I Teach
https://husseinnasser.com/courses
Episodes
Mentioned books

Aug 16, 2020 • 15min
Is YAGNI (You aren’t gonna need it) Still Relevant in Backend Engineering System Design?
YAGNI stands for You aren’t gonna need it and its a pillar in extreme programming, in this video I discuss this philosophy within the context of Backend Engineering. https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it * Extreme Programming Rob Jefferies * You Aren’t Gonna Need it .. true but only if the design is well defined * But I am going to need it * Waterfall vs Agile

Aug 9, 2020 • 14min
WOW! China Blocks TLS 1.3 with ESNI - Let us discuss
SNI or server name indication is a TLS Extention that indicate which server/host/domain the client want to communicate with. This is to allow for hosting of multiple websites on the same public static ip address. For the longest time all ISPs used SNI to block hosts and websites, China is now blocking the encrypted version SNI.
0:00 Intro
2:00 DNS and DOH
3:30 SNI
6:30 ESNI
11:00 The Block
The ESNI and DOH stops this but China want
https://www.zdnet.com/article/china-is-now-blocking-all-encrypted-https-traffic-using-tls-1-3-and-esni/
https://tools.ietf.org/html/draft-ietf-tls-esni-07#section-3.2

Aug 7, 2020 • 10min
Let us discuss HSBC moving from 65 relational databases into one global MongoDB database
HSBC moving from 65 relational databases to a single Global MongoDB, that might be true but it's misleading as not all systems are moved.
Resources
https://diginomica.com/hsbc-moves-65-relational-databases-one-global-mongodb-database
Why some devs don't use MongoDB
https://news.ycombinator.com/item?id=23507197
https://news.ycombinator.com/item?id=19497817
https://news.ycombinator.com/item?id=18366385
https://news.ycombinator.com/item?id=23270429

Aug 6, 2020 • 7min
FireFox Changes to SameSite Cookie Default Behavior Following Chrome’s footsteps - Great Change
SameSite Cookie attribute has been introduced to secure the web and only send cookies within a trusted and safe context. SameSite Cookies Video https://www.youtube.com/watch?v=aUF2QCEudPo

Aug 6, 2020 • 9min
Chrome Blocks Downloads For Files Hosted on HTTP (insecure) URLs - GREAT CHANGE!
A great change by Chrome team, downloading files on HTTP insecure channels is insecure. Let us discuss Resource https://www.zdnet.com/article/google-to-block-some-http-file-downloads-starting-with-chrome-83/

Aug 2, 2020 • 24min
How Homomorphic Encryption will revolutionize Software Engineering
Homomorphic encryption is a form of encryption allowing one to perform calculations on encrypted data without decrypting it first. The result of the computation is on an encrypted form, when decrypted the output is the same as if the operations had been performed on the unencrypted data. In this video I go through what homomorphic encryption is and how it will change software engineering forever.
0:00 Intro
2:25 What is Encryption?
3:55 Why we can’t always encrypt?
TLS terminator proxies to looks
Search and Analyse data
Database indexing, functions
8:30 Meet Homomorphic encryption
-Perform operations on encrypted data
-We decrypt the data to process it..
-Imagine no more TLS termination! In proxies
13:20 IBM FHE toolkit code demo
Country csv database, encrypted and then search
21:00 Pros & Cons of Homomorphic Encryption
Resources
https://github.com/IBM/fhe-toolkit-linux/blob/master/GettingStarted.md
https://www.youtube.com/playlist?list=PL0VD16H1q5IOEQuRdgRVt1M8uQSbpVzTb
https://arstechnica.com/gadgets/2020/07/ibm-completes-successful-field-trials-on-fully-homomorphic-encryption/?comments=1&start=80
https://github.com/IBM/fhe-toolkit-linux/blob/master/GettingStarted.md
cards
1;05 encryption video https://www.youtube.com/watch?v=Z3FwixsBE94
3;45 tls https://www.youtube.com/playlist?list=PLQnljOFTspQW4yHuqp_Opv853-G_wAiH-
7;41 steve gipson https://www.youtube.com/watch?v=UKvK76Rnqus

Aug 2, 2020 • 36min
Dropbox migrates to Envoy from NginX - Let us discuss
Dropbox has fully migrated their proxying needs from nginx to envoy proxy. They wrote this detailed article about the reasons and motivations and problems faced during migration. It is an interesting read. Let us discuss
https://dropbox.tech/infrastructure/how-we-migrated-dropbox-from-nginx-to-envoy
Migrating Dropbox from Nginx to Envoy | Hacker News
0:00 Intro
4:20 What is this Article about?
6:10 Performance
11:15 Security
14:28 Missing Features in NginX
23:24 Migration was NOT Seamless
33:00 Summary

Aug 2, 2020 • 18min
Twitter hackers caught (Full analysis) - What really happened, how they got caught and can homomorphic encryption prevents this?
The twitter hackers got caught and the case is closed, what have we learned? what really happened? and how can we prevent such attacks in the future, can homomorphic encryption help?
Resource
https://www.theverge.com/2020/7/31/21349920/twitter-hack-arrest-florida-teen-fbi-irs-secret-service
0:00 Intro
2:00 Summary of July 15
3:30 How the attack really happened?
8:00 How the attackers got caught?
10:45 How could this be prevented?
12:15 Can homomorphic encryption help?

Jul 30, 2020 • 14min
MariaDB vs MySQL SSD NVMe vs SATA Performance - Discussions on the Percona Benchmark
This is an analysis of the #percona benchmark article comparing MySQL & mariaDB performance with regards to SSD disks with NVMe vs SATA controllers. Pretty neat 0:00 Intro 1:00 MariaDB vs MySQL 2:15 SATA vs NVMe 4:30 SATA Benchmark 7:30 NVMe Benchmark 10:00 SSD & B-Trees 11:20 Best Practices mySQL for SSDs Resources https://www.percona.com/blog/2020/07/29/checkpointing-in-mysql-and-mariadb/ https://www.percona.com/blog/2020/07/30/how-mysql-and-mariadb-perform-on-nvme-storage/?utm_campaign=2020%20Blog%20Q3&utm_content=135945936&utm_medium=social&utm_source=twitter&hss_channel=tw-35373186 https://www.samsung.com/semiconductor/global.semi.static/best-practices-for-mysql-with-ssds-0.pdf 🏭 Backend Engineering Videos https://www.youtube.com/playlist?list=PLQnljOFTspQUNnO4p00ua_C5mKTfldiYT 💾 Database Engineering Videos https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2 🛰 Network Engineering Videos https://www.youtube.com/playlist?list=PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr 🏰 Load Balancing and Proxies Videos https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC 🐘 Postgres Videos https://www.youtube.com/playlist?list=PLQnljOFTspQWGrOqslniFlRcwxyY94cjj 🚢Docker https://www.youtube.com/playlist?list=PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r 🧮 Programming Pattern Videos https://www.youtube.com/playlist?list=PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe 🛡 Web Security Videos https://www.youtube.com/playlist?list=PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv 🦠 HTTP Videos https://www.youtube.com/playlist?list=PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO 🐍 Python Videos https://www.youtube.com/playlist?list=PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX 🔆 Javascript Videos https://www.youtube.com/playlist?list=PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM 👾Discord Server https://discord.gg/CsFbFce Become a Member https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join Support me on PayPal https://bit.ly/33ENps4 Become a Patreon https://www.patreon.com/join/hnasr? Stay Awesome, Hussein

Jul 30, 2020 • 16min
MongoDB and ElasticSearch Clusters WIPED! The Meow attack and how Backend Engineers can prevent it
Bob Diachenko discovered an attack on MongoDB and ElasticSearch clustered that are unsecured. We discuss this attack in detail and how we as Backend Engineers can secure our databases. 0:00 The Meow Attack again MongoDB & ElasticSearch 1:43 How does it work? 5:00 Scope of the Attack 6:00 How Backup & MVCC Help 8:30 What does “Unsecure” mean? 11:00 Protecting Database Instances


