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 Te ...
…
continue reading
Join Sabrina as she explores the integrity, risk, and compliance world as it applies to charities, nonprofits, and NGOs in the 3rd sector. Follow Sabrina on LinkedIn to get new episode announcements and join the conversation. https://www.linkedin.com/in/smsegal/
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Why the Windows kernel can connect slower than Linux
37:23
37:23
Play later
Play later
Lists
Like
Liked
37:23
Fundamentals of Operating Systems Course https://os.husseinnasser.comWhy Windows Kernel connects slower than Linux I explore the behavior of TCP/IP stack in Windows kernel when it receives a RST from the backend server especially when the host is available but the port we are trying to connect to is not. This behavior is exacerbated by having both …
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Running out of TCP ephemeral source ports
20:06
20:06
Play later
Play later
Lists
Like
Liked
20:06
In this episode of the backend engineering show I describe an interesting bug I ran into where the web server ran out of ephemeral ports causing the system to halt. 0:00 Intro 0:30 System architecture 2:20 The behavior of the bug 4:00 Backend Troubleshooting 7:00 The cause 15:30 Ephemeral ports on loopback…
…
continue reading
Fundamentals of Operating Systems Course https://os.husseinnasser.comLinux I/O expert and subsystem maintainer Jens Axboe has submitted all of the IO_uring feature updates ahead of the imminent Linux 6.10 merge window.In this video I explore this with a focus on what zerocopy. 0:00 Intro0:30 IO_uring gets faster 2:00 What is io_uring7:00 How Normal…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
They made Python faster with this compiler option
29:04
29:04
Play later
Play later
Lists
Like
Liked
29:04
Fundamentals of Operating Systems Course https://oscourse.winLooks like fedora is compiling cpython with the -o3 flag, which does aggressive function inlining among other optimizations.This seems to improve python benchmarks performance by at most 1.16x at a cost of an extra 3MB in binary size (text segment). Although it does seem to slow down some…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
How Apache Kafka got faster by switching ext4 to XFS
33:52
33:52
Play later
Play later
Lists
Like
Liked
33:52
https://oscourse.win Allegro improved their Kafka produce tail latency by over 80% when they switched from ext4 to xfs. What I enjoyed most about this article is the detailed analysis and tweaking the team made to ext4 before considering switching to xfs. This is a classic case of how a good tech blog looks like in my opinion. 0:00 Intro 0:30 Summa…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Google Patches Linux kernel with 40% TCP performance
14:24
14:24
Play later
Play later
Lists
Like
Liked
14:24
Get my backend course https://backend.win Google submitted a patch to Linux Kernel 6.8 to improve TCP performance by 40%, this is done via rearranging the tcp structures for better cpu cache lines, I explore this here.0:00 Intro0:30 Google improves Linux Kernel TCP by 40%1:40 How CPU Cache Line Works6:45 Reviewing the Google Patchhttps://www.phoron…
…
continue reading
0:00 Intro 2:00 File System Block vs Database Pages 4:00 Torn pages or partial page 7:40 How Oracle Solves torn pages 8:40 MySQL InnoDB Doublewrite buffer 10:45 Postgres Full page writes
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Cloudflare Open sources Pingora (NGINX replacement)
31:05
31:05
Play later
Play later
Lists
Like
Liked
31:05
Get my backend course https://backend.win Cloudflare has announced they are opening sources Pingora as a networking framework! Big news, let us discuss 0:00 Intro 0:30 Reasons why Cloudflare built Pingora? 3:00 It is a framework! 7:30 What in Pingora? 11:50 Security in Pingora 13:45 Multi-threading in Pingora 21:00 Customization vs Configuration 25…
…
continue reading
https://backend.win https://databases.win I’m a big believer that database systems share similar core fundamentals at their storage layer and understanding them allows one to compare different DBMS objectively. For example, How documents are stored in MongoDB is no different from how MySQL or PostgreSQL store rows. Everything goes to pages of fixed…
…
continue reading
In this video I explore the type of languages, compiled, garbage collected, interpreted, JIT and more.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
The Danger of Defaults - A PostgreSQL Story
11:34
11:34
Play later
Play later
Lists
Like
Liked
11:34
I talk about default values and how PostgreSQL 14 got slower when a default parameter has changed. Mike's bloghttps://smalldatum.blogspot.com/2024/02/it-wasnt-performance-regression-in.html
…
continue reading
Background writing is a process that writes dirty pages in shared buffer to the disk (well goes to the OS file cache then get flushed to disk by the OS) I go into this process in this video
…
continue reading
Fragmentation is a very interesting topic to me, especially when it comes to memory. While virtually memory does solve external fragmentation (you can still allocate logically contiguous memory in non-contiguous physical memory) it does however introduce performance delays as we jump all over the physical memory to read what appears to us for examp…
…
continue reading
In this video I explore the hidden costs of sending a request from the frontend to the backend Heard https://medium.com/@hnasr/the-journey-of-a-request-to-the-backend-c3de704de223
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 35: Tolerable Risk E035 - Rupert Evill - Ethics, Integrity, Culture, and Risk
55:07
55:07
Play later
Play later
Lists
Like
Liked
55:07
Join Sabrina as she speaks with Rupert Evill, author of Bootstrapping Ethics, and they discuss ethics, integrity, culture, and risk in the third sector. Links for this episode: https://linktr.ee/ethics_insight
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 34: Tolerable Risk E034 - Nir Kossovsky - Reputational Risk Management
44:53
44:53
Play later
Play later
Lists
Like
Liked
44:53
Join Sabrina as she speaks with Nir Kossovsky, CEO of Steel City RE and reputational risk management expert, as they discuss reputational risk management approaches for the third sector. Relevant links: Time Stamp, Topic, URL 08:30 Prediction: Resilience Monitor https://steelcityre.com/predict-reputation-risk/ 10:11 2022 Νobel Prize in Economics – …
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 33: Tolerable Risk - E033 - Lori Stanley - strategy development and risk
44:22
44:22
Play later
Play later
Lists
Like
Liked
44:22
Join Sabrina as she speaks with Lori Stanley, founder of Lori Stanley Consulting and strategy development expert, as they discuss the threats and opportunities third-sector organizations face when developing strategic plans.
…
continue reading
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)https://database.husseinnasser.com Why create Index blocks writesIn this video I explore how create index, why does it block writes and how create index concurrently work and allow writes.0:00 Intro1:28 How Create Index works4:45 Create Index blocking Writes5:00 …
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 32: Tolerable Risk - E032 - Rachel Erskine - Ethical storytelling and fundraising
44:41
44:41
Play later
Play later
Lists
Like
Liked
44:41
Join Sabrina as she speaks with Rachel Erskine, an ethical storytelling advisor and co-chair of the BOND People in the Pictures Working group, and they discuss the importance of ethical storytelling and fundraising in the third-sector. Resources for this episode: Practical guidance The Dignified Storytelling project (2022) Guidelines for ethical co…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 31: Tolerable Risk - E31 - Dr. Warren Black - Complex systems thinking and risk
49:43
49:43
Play later
Play later
Lists
Like
Liked
49:43
Join Sabrina as she speaks with Dr. Warren Black, a complex systems and risk expert, and they discuss how complexity, systems thinking, and risk impact the third sector. You can find the complexity matrix we discuss on the episode here. You can find Dr. Black's YouTube channel here - https://youtube.com/@warrenblack4700?si=of8i9HsBmWRhTTHr…
…
continue reading
HTTP/3 is getting popular in the cloud scene but before you migrate to HTTP/3 consider its cost. I explore it here.0:00 Intro HTTP/3 is getting popular3:40 HTTP/1.1 Cost5:18 HTTP/2 Cost6:30 HTTP/3 Costhttps://blog.apnic.net/2023/09/25/why-http-3-is-eating-the-world/
…
continue reading
The Encrypted Client Hello or ECH is a new RFC that encrypts the TLS client hello to hide sensitive information like the SNI. In this video I go through pros and cons of this new rfc.0:00 Intro2:00 SNI4:00 Client Hello8:40 Encrypted Client Hello11:30 Inner Client Hello Encryption18:00 Client-Facing Outer SNI21:20 Decrypting Inner Client Hello23:30 …
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 30: Tolerable Risk - E030 - Isabel de Bruin Cardoso - unethical behavior and the "halo-effect"
43:43
43:43
Play later
Play later
Lists
Like
Liked
43:43
Join Sabrina as she speaks with Isabel de Bruin Cardoso - a third-sector ethics and safeguarding expert - and they discuss the risks of unethical behavior and the "halo-effect" in the third-sector. References for this episode: Contact details: debruin@rsm.nl More info: NGO Soul & Strategy podcast Principia Advisory Website Articles: The NGO Halo Ef…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 29: Tolerable Risk - E029 - Hussein Nasser-Eddin - physical and personal security and risk
51:43
51:43
Play later
Play later
Lists
Like
Liked
51:43
Join Sabrina as she speaks with Hussein Nasser-Eddin, CEO of Crownox Security, and they discuss physical and personal security and risk in the third-sector.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 28: Tolerable Risk - E028 - Kate Roberts - Moral Injury, Psychosocial Hazards, and Risk
38:28
38:28
Play later
Play later
Lists
Like
Liked
38:28
Join Sabrina as she speaks with Kate Roberts, a third-sector Staff Care and Wellbeing Specialist, and they discuss moral injury, psychosocial hazards, and risk in the third-sector.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 27: Tolerable Risk - E 027 - Claris D'cruz - Governance, Strategy, and Risk
1:04:25
1:04:25
Play later
Play later
Lists
Like
Liked
1:04:25
Join Sabrina as she speaks with Claris D'cruz, a third-sector governance expert, and they discuss strategy, governance, and risk in the third sector. Relevant links for this episode: https://www.gov.uk/government/5-minute-guides-for-charity-trustees https://www.gettingonboard.org/ https://www.eventbrite.co.uk/cc/trustee-learning-programme-getting-o…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 26: Tolerable Risk - E026 - Edson Marinho - Project Management and Risk
51:51
51:51
Play later
Play later
Lists
Like
Liked
51:51
Join Sabrina as she speaks with Edson Marinho, Executive Director of PM4NGOs, and they discuss project management and risk management in the third sector. Relevant links for the episode: https://pm4ngos.org/
…
continue reading
From the frontend through the kernel to the backend process When we send a request to a backend most of us focus on the processing aspect of the request which is really just the last step. There is so much more happening before a request is ready to be processed, most of this step happens in the Kernel. I break this into 6 steps, each step can theo…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 25: Tolerable Risk - E025 - Tim Leech - Board Purpose and Risk
40:11
40:11
Play later
Play later
Lists
Like
Liked
40:11
Join Sabrina as she speaks with Tim Leech, Managing Director of Risk Oversight Solutions, and they discuss the importance of having a clear Board purpose and how it helps organizations better achieve their objectives and manage risk.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
They Enabled Postgres Partitioning and their Backend fell apart
33:38
33:38
Play later
Play later
Lists
Like
Liked
33:38
In a wonderful blog, Kyle explores the pains he faced managing a Postgres instance for a startup he works for and how enabling partitioning sigintfically created wait events causing the backend and subsequently NGINX to through 500 errors.We discuss this in this video/podcasthttps://www.kylehailey.com/post/postgres-partition-pains-lockmanager-waits…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 24: Tolerable Risk E024 - Paul Ronalds - impact investing
41:02
41:02
Play later
Play later
Lists
Like
Liked
41:02
Join Sabrina as she speaks with Paul Ronalds, Founder and CEO of Save the Children Global Ventures, as they discuss impact investing, innovative financing, and risk in the third sector.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 23: Tolerable Risk E023 - Alexandra Hoffman - Crisis, resilience, and risk
31:55
31:55
Play later
Play later
Lists
Like
Liked
31:55
Join Sabrina as she speaks with Alexandra Hoffman, CEO of Crisis Ally, and they discuss crisis, resilience, and risk in the third sector.
…
continue reading
WebTransport is a cutting-edge protocol framework designed to support multiplexed and secure transport over HTTP/2 and HTTP/3. It brings together the best of web and transport technologies, providing an all-in-one solution for real-time, bidirectional communication on the web. Watch full episode (subscribers only) https://spotifyanchor-web.app.link…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 22: Tolerable Risk E022 - Elyse Wallnutt - Data Protection in Fundraising and Marketing
38:34
38:34
Play later
Play later
Lists
Like
Liked
38:34
Join Sabrina as she speaks with Elyse Wallnutt, Founder - Agility Lab Consulting, and they discuss the impact data protection has specifically on the marketing and fundraising efforts of third-sector organizations. Books referenced: The Fight for Privacy by Danielle Kats Citron Algorithms of Oppression by Safiya Umoja Noble LinkedIn: www.linkedin.c…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Your SSD lies but that's ok | Postgres fsync
30:04
30:04
Play later
Play later
Lists
Like
Liked
30:04
fsync is a linux system call that flushes all pages and metadata for a given file to the disk. It is indeed an expensive operation but required for durability especially for database systems. Regular writes that make it to the disk controller are often placed in the SSD local cache to accumulate more writes before getting flushed to the NAND cells.…
…
continue reading
ego is the main problem to a defective software product. the ego of the engineer or the tech lead seeps into the quality of the product. Fundamentals of Backend Engineering Design patterns udemy course (link redirects to udemy with coupon)https://backend.husseinnasser.com
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 21: Tolerable Risk E021 - Andy Kovacs - Improving Audit Communications
56:24
56:24
Play later
Play later
Lists
Like
Liked
56:24
Join Sabrina as she speaks with Andy Kovacs, The Audit and Leadership Communications Guy!, and they discuss the myriad of ways you can improve your audit communications.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
2x Faster Reads and Writes with this MongoDB feature | Clustered Collections
27:01
27:01
Play later
Play later
Lists
Like
Liked
27:01
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)https://database.husseinnasser.com In version 5.3, MongoDB introduced a feature called clustered collection which stores documents in the _id index as oppose to the hidden wiredTiger hidden index. This eliminates an entire b+tree seek for reads using the _id inde…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 20: Tolerable Risk E020 - Veesh Sharma - Internal Audit and Risk in nonprofit organizations
39:40
39:40
Play later
Play later
Lists
Like
Liked
39:40
Join Sabrina as she speaks with Veesh Sharma, Chief Assurance Officer / Interim Chief Risk Officer, of Save the Children International, as they talk about internal audit and risk in nonprofit organizations.
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Prime Video Swaps Microservices for Monolith: 90% Cost Reduction
35:58
35:58
Play later
Play later
Lists
Like
Liked
35:58
Prime video engineering team has posted a blog detailing how they moved their live stream monitoring service from microservices to a monolith reducing their cost by 90%, let us discuss this0:00 Intro2:00 Overview10:35 Distributed System Overhead21:30 From Microservices to Monolith 29:00 Scaling the Monolith32:30 Takeawayshttps://www.primevideotech.…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 19: Tolerable Risk E019 - Veronica La Femina - Strategy Execution
51:52
51:52
Play later
Play later
Lists
Like
Liked
51:52
Join Sabrina as she speaks with Veronica LaFemina, Founder and CEO of LaFamina & Co., and they discuss strategy execution and the threats and opportunities that are associated with this in the third sector. References for this episode My LinkedIn: https://www.linkedin.com/in/vlafemina LaFemina & Co. website: lafemina.co LaFemina & Co. Blog Post -- …
…
continue reading
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)https://database.husseinnasser.comIn a row-store database engine, rows are stored in units called pages. Each page has a fixed header and contains multiple rows, with each row having a record header followed by its respective columns. When the database fetches a …
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 18: Tolerable Risk E018 - Niki Wood - Risk and Monitoring, Evaluation, and Learning
44:57
44:57
Play later
Play later
Lists
Like
Liked
44:57
Join Sabrina as she speaks with Niki Wood, an international development MEL expert, and they discuss how monitoring, evaluation, and learning, and risk have more in common then you might think. References and citations for this episode are: Rogers, P. J. (2008). Using Programme Theory to Evaluate Complicated and Complex Aspects of Interventions. Ev…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
AWS Serverless Lambda Supports Response Streaming
13:14
13:14
Play later
Play later
Lists
Like
Liked
13:14
Lambda now supports Response payload streaming, now you can flush changes to the network socket as soon as it is available and it will be written to the client socket. I think this is a game changing feature 0:00 Intro 1:00 Traditional Lambda 3:00 Server Sent Events & Chunk-Encoding 5:00 What happens to clients? 6:00 Supported Regions 7:00 My thoug…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
The Cloudflare mTLS vulnerability - A Deep Dive Analysis
43:13
43:13
Play later
Play later
Lists
Like
Liked
43:13
Cloudflare released a blog detailing a vulnerability that has been in their system for nearly two years. it is related to mTLS or mutual TLS and specifically client certificate revocation. I explore this in details 0:00 Intro3:00 The Vulnerability7:00 What happened?8:50 Certificate Revocation12:30 Rejecting certain endpoints 17:00 Certificate Authe…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
The Virgin Media ISP outage - What happened?
23:23
23:23
Play later
Play later
Lists
Like
Liked
23:23
BGP (Border gateway protocol) withdrawals caused the Virgin media ISP customers to lose their Internet connection. I go into details on this video. 0:00 Intro2:00 What happened?4:11 How BGP works?11:50 Version media withdrawals15:00 Deep dive Fundamentals of Backend Engineering Design patterns udemy course (link redirects to udemy with coupon)https…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
GitHub SSH key is Leaked - How bad is this?
21:56
21:56
Play later
Play later
Lists
Like
Liked
21:56
GitHub Accidentally Exposed their SSH RSA Private key, this is the message you will get . @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Cookie Hijacking - How Linus Tech Tips got Hacked
13:33
13:33
Play later
Play later
Lists
Like
Liked
13:33
How Linus Tech Tips channel got Hacked In this short video we explain how was it possible for Linux to get hacked with cookies hijacking. 0:00 Intro0:47 TLDR what happened 5:10 Cookies in Chrome7:30 Cookies Hijacking8:46 Session Tokens (Access/Refresh)10:00 Remedies
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 17: Tolerable Risk E017 - Laura Frederick - Contracting and Risk
33:57
33:57
Play later
Play later
Lists
Like
Liked
33:57
Join Sabrina as she speaks with Laura Frederick, Founder and CEO of "How to Contract", and they discuss risk in contracting, demystify contracts, and provide simple and practical advice for third-sector organizations to better manage their contracting. Links for this episode: How to Contract Term Scout Contract Nerds…
…
continue reading
![Artwork](/static/images/128pixel.png)
1
Episode 16: Tolerable Risk E016 - Patti Blackstaffe - Governance and Risk
42:22
42:22
Play later
Play later
Lists
Like
Liked
42:22
Join Sabrina as she speaks with Patti Blackstaffe, governance expert and CEO of GlobalSway, as they discuss the importance of governance in risk management for third-sector organizations.
…
continue reading