Happy tuesday everyone. I hope you enjoy this issue, as much as I do.
This issue make this newsletter feel like a database newsletter. It just happens we have so many database news this week and database is always the hardest thing to learn and operate at scale.
A team at Microsoft build a system for Halo 4 game. They talked about all scaling aspect, stress and load test and Vladimir was able to learn a lot from those public available resources. The system that they build is really impressive. They had to rework their legacy backend code, so they can achieve that their system can sustain an initial load of over 11 million clients in a span of a few days period. Besides that, they have to make sure their system remains resilient and available with the load of several 100,000 requests per second.
They took Notion down for five minutes of scheduled maintenance. In that lone 5 minutes, they managed to cut over some Postgres upgrade which shard their database to help deal with the massive scale and leave room for future growth.
This week’s paper review won a best paper award at Usenix ATC, and discusses Alibaba’s approach to scaling their production environment. In particular, the paper focuses on the evolution of the scheduling architecture used in Alibaba datacenters in response to growth in workloads and resourcesAn increase in resources or workloads impacted the load on the existing scheduler architecture. The former translates into more options for the scheduler to choose from when scheduling, and the latter means more computation that needs to be performed by the scheduler.. Beyond discussing Alibaba’s specific challenges and solutions, the paper also touches on the landscape of existing scheduler architectures
On the surface, load shedding is simple. When a server approaches overload, it should start rejecting excess requests so that it can focus on the requests it decides to let in. The goal of load shedding is to keep latency low for the requests that the server decides to accept so that the service replies before the client times out. With this approach, the server maintains high availability for the requests it accepts, and only the excess traffic’s availability is affected.
To our knowledge, this is the first time a major cloud provider has announced GA for a new Postgres major version on their platform one day after the official release. We’ll then describe the work involved in making Postgres extensions compatible with new major Postgres versions, including our distributed database Citus as well as other extensions such as HyperLogLog (HLL), pg_cron, and TopN. Finally, you’ll learn how packaging, testing, and deployments work on Hyperscale (Citus). This last part ties everything together and enables us to release new versions on Azure, with speed.
supply chain attacks are more popular nowadays. What if NPM, Docker, Chef or any upstream sdk/provider are hacked and inject malicious code? Even a project as big as PHP had their Git server compromised. What can we learn and how can we prevent these.
Modern JavaScript has many low-level building block which looks like not useful at all. In this article we look into WeakMap and see why they are useful for our daily life of a front-end developer.
Debugging in CSS means figuring out what might be the problem when you have unexpected layout results. We’ll look at a few categories bugs often fit into, see how we can evaluate the situation, and explore techniques that help prevent these bugs.
It’s a massive project to implement a terminal in browser. I don’t think I can ever read all of these but a few thing are useful such as see how they handle ascii color code.
TypeScriptmultitouch gesture recognizer. This gem makes your linux able to recognize swipes or pinchs and assign commands to them. define your touchpad actions in yaml file and trigger command. Example, 3 left swipe, 4 up swipe etc.
RubySee how we can reverse engineer the solarwinds malware, tooling, methodology. 1 hour long but very much worth yoru time.
Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.
an open-source GraphQL powered search engine for your cloud infrastructure
A practical hand tracking engine only use your webcam.
Generate beautiful header images for blogs or social media accounts.
BetterDev Link
Every Monday