Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

ENHANCING NETFLIX RELIABILITY WITH SERVICE-LEVEL PRIORITIZED LOAD SHEDDING

Netflix initially implemented prioritized load shedding at the API gateway level, then extended it to individual service level for finer-grained control and better cloud capacity utilization. One example is its PlayAPI, which prioritized user-initiated requests over pre-fetch requests during an infrastructure outage, maintaining high availability for critical requests. Netflix also created an internal library for prioritized load shedding and experimented with CPU-based and IO-based load shedding.

UB OR NOT UB: HOW GCC AND CLANG HANDLE STATICALLY KNOWN UNDEFINED BEHAVIOR

Undefined behavior (UB) in C code allows compilers to optimize code based on the assumption that no UB exists, potentially removing conditions or altering program flow. However, the handling differs between compilers if the compiler statically detects UB, like division by zero: GCC tends to crash the program, while Clang may ignore the undefined code or continue compiling, potentially leading to unexpected results later. This differing behavior is due to different philosophies - LLVM aims for more lenient handling to match developer expectations, while GCC takes a more conservative approach.

WHAT ARE SOME CUSTOM TOOLS YOU'VE BUILT/SEEN INTERNALLY THAT HAS HELPED YOUR TEAM SUCCEED IN AUTOMATION?

This page looks at several custom tools that were developed by engineers to improve automation efficiency in their teams, including a Slack notification system for failing tests, a visual regression testing tool using Selenium and JIMP, a Windows application to automate terminal emulators, and a script to automatically generate API tests from a Swagger file.

TLDR IndexPage 4