Scaling Our Rate Limits to Prepare for a Billion Active Certificates (12 minute read) Let's Encrypt, a free certificate authority, faced challenges scaling its rate-limiting system to handle over 550 million websites and 340,000 certificate requests per hour. Its initial MariaDB-based system wasn't enough, as it caused slowdowns and frustrated users with long wait times. To address this, the company migrated to a Redis-based system that used the Generic Cell Rate Algorithm (GCRA), allowing it to handle a billion active certificates and even addressing the issue of "zombie clients" making repeated failed requests. | Open-Closed Principle in React: Building Extensible Components (5 minute read) In React, the Open-Closed Principle (OCP) means that components should be designed in a way that allows them to be extended with new functionality without modifying their existing code. As an example, the article shows the contrast between a closed, modification-heavy button component with an open, composition-based approach that uses base components and extending variants. There's an alignment between OCP and React's "composition over inheritance" philosophy, where OCP leads to more flexibility. | | Pause – Decision-Making Superpower (4 minute read) One should pause before making a decision, since taking time allows for better perspective and the chance to avoid regrettable actions. This author shares personal anecdotes that illustrate how pausing prevents rushed estimations and impulsive responses to emails. | Rust's worst feature* (13 minute read) This developer criticizes Rust's nightly `core::io::BorrowedBuf` feature, arguing it's a complex and flawed solution to the problem of unnecessary buffer initialization in I/O operations. The feature aims to allow reading into uninitialized memory, but its integration with existing code is poor and requires explicit support from various APIs, which could lead to potential misuse. | | Ahey (Website) Ahey is a free, unlimited pub-sub service that uses web push technology to send real-time notifications to any browser via HTTP POST requests. | Greenmask (GitHub Repo) Greenmask is an open-source tool for PostgreSQL database backup, anonymization, synthetic data generation, and restoration. It has features like deterministic transformers, dynamic parameters, and parallel execution, and it supports various storage options. | Ruck (GitHub Repo) Ruck is an open-source, buildless React framework for Deno that uses ESM, dynamic imports, and import maps to create React web apps without build steps. It has features like dynamic routing, server-side rendering with component-level data fetching, and declarative CSS management. | | How we accidentally built a better build system for OCaml (7 minute read) Jane Street initially created Jenga, an OCaml build system, but its limited reach and platform incompatibility led to its un-open-sourcing. It then developed Jbuilder, a simpler, cross-platform tool, which unexpectedly gained popularity due to its speed. Jbuilder evolved into Dune, a more robust build system, after a name change and significant community contributions. | Decompiling 2024: A Year of Resurgence in Decompilation Research (8 minute read) 2024 saw a resurgence in decompilation research, with nearly 30% of all top-tier publications in the field's history appearing that year. This surge included advancements in defining "good" decompilation, the incorporation of AI techniques for tasks like symbol prediction, and a significant increase in open-source implementations of academic work. | Why Aren't You Idempotent? (6 minute read) Idempotency is important in distributed systems, particularly for low-latency APIs. It makes sure that repeated requests produce the same outcome as a single request, preventing unintended side effects from retries in unreliable networks. This author details techniques for creating idempotent endpoints, including client-supplied identifiers and timestamps and calibrated counters, using Apache Cassandra as a case study. | | Stats (GitHub Repo) Stats is a macOS system monitor app that provides CPU, GPU, memory, disk, network, battery, sensor, and Bluetooth monitoring in the menu bar. | Writing brittle code (2 minute read) Writing "brittle" code - code that breaks rather than bends under stress - is a better approach to maintainability, especially in large organizations where generalists maintain code written by specialists. | | | 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. Want to work at TLDR? 💼 Apply here or send a friend's resume to jobs@tldr.tech and get $1k if we hire them! If you have any comments or feedback, just respond to this email! Thanks for reading, Priyam Mohanty, Jenny Xu & Ceora Ford | | | |
0 Comments