Hello, JIT World: The Joy of Simple JITs
Java is fast because of JIT, same for V8. If you ever worry what is JIT? Then at the end of the day, it
just they generate machine code directly. Usually they did that after a code path is execute over a threshold.
The most difficult part of writing a simple JIT is encoding the instructions so they can be understood by your target CPU.
How To Be a Programmer(PDF)
A 40 page free book divite into Beginner, Intermediate and Advanced. It covers personal skill, team skill, debug skill, team talent, technological judgment and lots of other thing that I’m sure happen in life of a software engineer.
A Gentle Introduction to Erasure Codes
Let’s say you have nn files of roughly the same size, and you want to guard against mm of them being lost or corrupted. To do so, you generate mm parity files ahead of time, and if in the future you lose up to mm of the data files, you can use an equal number of parity files to recover the lost data files.
How shazam works"
Shazam can identify any music playing around you.
The Author read a research article written by Avery Li-Chun Wang, the confounder of Shazam, to understand the magic behind Shazam.
Special Cases Are a Code Smell
Often, when we code, we forget a lesson that’s obvious in these preposterous signs: Humans understand simple, consistent rules, but fail on special cases.
From Winning the Microservice War to Keeping the Peace
Andrew McVeigh is VP Architecture at Hulu. He shares his journey and lessons to mictoservices.
TLDR: Microservices work to him, but come with its own pitfalls.
You can either read the transcript or listen as a podcast.
Bye bye Mongo, Hello Postgres
While the article is about TheGardian magazine migrate from MongoDB to Production without disruptting curremt workload,
but it isn’t much about MongoDB vs Postgres post.
The main thing is how they plan and laid out and execution a live migration between 2 database. Many of these techniques
can be used for other kind of migration. such as re-writing in different languages/frameworks
Goole Tech Dev Guide
Google carefully curated a collection of material from many sources, including Google, that you can use to supplement your classwork or direct your own learning.
Fixing a Tough Memory Leak In Python
Even if you don’t use Python, the techniques are sound. We identified the C call stack where memory is allocated,
LD_PRELOAD a custom library to raise a signal when this stack is encountered.
Code to read
Phoenix-based websocket push implementation
persistent real-time key-value store, with the same redis protocol
secrets management and machine identity for modern infrastructure
Watch for releases on GitHub → gitpunch.com
Making running production-grade databases easy on Kubernetes
tests and displays connectivity between nodes in the cluster.
tuning PostgreSQL config by your hardware
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this