Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

THE ARCHITECTURE OF DOORDASH'S CACHING SYSTEM

DoorDash transitioned from a Python monolith to a microservices architecture, using Kotlin and gRPC for service communication. To minimize latency, it focused on reducing network requests, primarily by implementing caching with Caffeine for local caching and Redis Lettuce for distributed caching. However, different teams independently creating caching solutions led to issues like cache staleness, lack of runtime controls, inadequate metrics, and inconsistent key schemas. To address this, DoorDash developed a shared caching library with features like layered caching (request local, local, and Redis caches), runtime feature flags for customization, and observability tools to monitor cache performance.

REFLECTING ON 18 YEARS AT GOOGLE

Ian Hickson, the creator of Flutter (cross-platform app SDK) reflects on their 18-year tenure at Google, from its early post-IPO days to recent years. Initially, Google's culture was driven by a genuine desire to do good, guided by the "don't be evil" principle. However, over time, cultural shifts occurred, with less transparency and a shift in focus from user benefit to company and individual gain. Recently, Google's morale has declined, especially due to layoffs, and Hickson perceives a lack of visionary leadership and an increase in inept middle management.

MAKING A FONT

The author shares their experience of creating a font for the first time. Previously relying on digital text drawing, which sometimes led to inconsistent text size and readability, they decided to design a font based on their own handwriting. This endeavor involved learning about font anatomy, such as ascenders, baselines, and x-heights, and experimenting with two iterations of the font. The final design was derived from writing sentences naturally on paper, scanning them, and cleaning them up digitally. They used software to successfully create a TrueType font (TTF).

TLDR IndexPage 4