The Architecture of Dropbox's Load Balancing Service (7 minute read)
Dropbox's Robinhood load balancing service improved its hardware utilization, reducing fleet sizes by 25% and saving millions annually. Robinhood operates by collecting load reports from services, using these reports to distribute traffic evenly across servers based on metrics like CPU utilization and geographic location. The performance indicators for Robinhood include max/avg ratio, p95/avg ratio, and p5/avg ratio.
|
Writing secure Go code (14 minute read)
It's easier to write secure Go code with tools for static code analysis, such as go vet, staticcheck, and golangci-lint, which help identify potential security issues and improve code quality. This article covers the use of govulncheck for scanning code and binaries for known vulnerabilities and introduces fuzzing as a method for automatically testing code with randomly generated inputs.
|
The most effective ways to improve Core Web Vitals (19 minute read)
Better Core Web Vitals mean better web page user experiences. To improve Core Web Vitals, focus on breaking up long tasks, minimizing JavaScript, and optimizing rendering to improve Interaction to Next Paint (INP). Images should be preloaded and a CDN should be used where possible to reduce Time to First Byte.
|
|
Get Me Out Of Data Hell (15 minute read)
This author worked in a data warehouse platform he calls the "Pain Zone." It had poorly designed code, illogical data structures, and a culture that prioritizes speed over quality. After deciding to resign, he decided that he prefers places that respect good code and craftmanship over speed.
|
|
Diagrams (Website)
Diagrams is a Python library that allows you to draw cloud system architecture diagrams in code. It's designed for prototyping new architectures and visualizing existing ones. Diagrams supports major cloud providers like AWS, Azure, GCP, and Kubernetes, along with on-premise nodes, SaaS services, and popular programming frameworks.
|
HTML to React & Figma (Website)
This is a Chrome extension that allows users to convert any webpage or section into React code or an editable Figma design. It can be used to quickly grab designs for inspiration, import existing designs to work from, and use AI to customize them.
|
|
Benchmarking Ruby Parsers (8 minute read)
Prism is a new Ruby parser that is much faster than other parsers. It's tested against other parsers like RubyParser, Ripper, and the Parser gem in different scenarios like parsing and walking the Abstract Syntax Tree (AST) and parsing directly to C structs. Prism is more than 10 times faster than the Parser gem and RubyParser when parsing and walking the AST, and it is 2.56 times faster than the traditional parse.y when parsing to C structs.
|
Rewrite it in Rails (10 minute read)
This developer tried to rewrite a Rails application he was working on in Rust and Svelte. This effort failed due to the complexity and the lack of immediate user benefits. After returning to Rails, he realized that while learning new tech is fun as a developer, it comes with significant trade-offs.
|
|
Love TLDR? Tell your friends and get rewards!
|
Share your referral link below with friends to get free TLDR swag!
|
|
Track your referrals here.
|
Want to advertise in TLDR? 📰
|
If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.
If you have any comments or feedback, just respond to this email!
Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford
|
|
|
|