We skipped last week due to July 4th. I hope everyone had a nice rest anyway. Sometimes during this pandemic, it’s still worth it to go outside, wear a mask, on a weekend, go to a small park, take a short walk, go to a nearby beach(make sure you’re fully vaccinated if your government offers it) and just relax to recharge ourselves.
Have a great week ahead.
Behind the scenes, AWS Lambda
What’s better than containerization? Written in Rust, open source and the core of how AWS Lambda functions are powered, Firecracker!
Many article that against SQL to promote documented db such as MongoDB or DynamoDB usually are weak effort. But this article is quite well-thoughout.
This article argues that SQL is Inexpressive, Incompressible and Non-porous
Let's hand write DNS messages
DNS is an interesting aspect on the internet. It’s amazing fast and reliable, very well distributed, multiple layer of caches. So what is a query look like? Can we hand write it like how we hand write SQL instead of ORM?
Write a time-series database engine from scratch
This blog post walks you through how to implement a time-series database engine based on what I’ve learned from my experience of writing a lightweight one from scratch.
While it is written in Go, it mostly covers language-agnostic.
Locks in PostgreSQL: 2. Row-level locks
we will see how row-level locks are organized in PostgreSQL and how they are used together with object-level locks. We will also talk of wait queues and of those who jumps the queue
PostgreSQL, Memory and the Cloud™
Modern softwares tend to request more thant they need, and the OS happily grant this wish without explicitly reverse memory for that program. The OS hope that the program will not use all of that memory. And that’s a broken promise. When the software starts to use all of that promised memory, chaos happen.
Hardware Memory Models
In the old day, in single-thread programs, hardware optimization can easily test and validate because valid optimizations do not change the behavior of valid programs.
Then when we reached the limit of speed, we switch to multipe processors on the same computer, and now things is harder to validate due to concurency run of multiple processors.
BGP in a Nutshell
Border Gateway Protocol (BGP) protocol has a very simple purpose: choose the fastest and the most efficient route to deliver a message from one autonomous system (AS) to another. In layman’s term, BGP is the GPS for the internet.
The Incident Review: 4 Incidents in Outer Space
Reliablity in space is important. Mistakes can mean death, literally. Also in space, it’s harder to bring system back, no one is outthere to debug or reset the system. With that reality in mind, here’s a look at incidents and reliability challenges that have occurred in outer space, and what SREs stand to learn from them.
Code to read
a pure Ruby x86-64 assembler by Tenderlove
take “screenshots” of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.
Easy to use and powerful fuzzy string matching, port of fuzzywuzzy.
Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal by Caddy. If you want to see how Letsencrypt works, this is a great way to understand its protocol.
Python script for AWS resources inventory (cheaper than AWS Config)
plots directly on terminal, it has no dependencies and the syntax is very similar to matplotlib. It also provide a simple command line tool.
Fast and secure standalone server for resizing and converting remote images
is the tool to access your cloud; It securely stores your access information and generates temporary credential sets to access your cloud ecosystem from your local machine
Write check script in Lua, Define alert channel and check script in YAML.
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this