All about sanitizer interceptors

A dancing space leak

A comprehensive guide for the fastest possible Docker builds in human existence

Issue #326

2/1/2023

{{PreviewText}} 

Yo yo yo
How's it going party people? Another day, another issue.

====================================================================

Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.

====================================================================

All about sanitizer interceptors

Published: 8 January 2023
Tags: c, c++, compiler


MeowRay discusses how sanitizers work and the requirements of sanitizer interceptors.
Some highlights:

  • Interceptors work differently on ELF, Apple, and Windows platforms
  • Interceptors have a number of requirements for each platform
  • Sanitizers leverage symbol interposition to redirect such library function calls to their own implementation: interceptors


====================================================================

A dancing space leak

Published: 6 January 2023
Tags: aws, cloud, cpu, server


The article discusses a space leak in the Social Dance Today server and how Tom Sydney Kerckhove fixed it.
Some highlights:

  • The server was suddenly going down and that the CPU credits were running out
  • Tom noticed that the service with the biggest memory footprint was the one with the space leak
  • The problem was all stemming from an incorrectly configured cache


====================================================================

A comprehensive guide for the fastest possible Docker builds in human existence

Published: 3 January 2023
Tags: aws, containers, docker, kubernetes, optimization


Aaron Batilo shares how he increased the speed of docker builds by using a persistent cache.
Some highlights:

  • "builds went from about 3.5 minutes down to about 50 seconds in the cold case and about 15 seconds when a given container in my monorepo hadn’t changed"
  • Uses docker buildkit with kubernetes
  • Setup for using with gitHub action workflow


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 3043

Opens: 1522

Clicks: 336

Link Clicks Clicks % Unique Clicks Unique Clicks %
All about sanitizer interceptors 64 25.00% 74 27.11
A dancing space leak 44 17.19% 46 16.85
A comprehensive guide for the fastest possible Docker builds in human existence 148 57.81% 153 56.04

Previous

Back to Issues

Next