TLDR Web Dev

TLDR WEB DEV 2024-08-27

6 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

IN 2024

It's not unusual to find a ratio of 25:1 between developers and ops people in modern software development environments. Giving developers the tools to succeed is more challenging than ever.

datadoghq.comSponsor

02ARTICLES & TUTORIALS

HOW APPLE BUILT ICLOUD TO STORE BILLIONS OF DATABASES

Apple's iCloud and CloudKit were built using a combination of Cassandra and FoundationDB. Cassandra, which is being actively improved by Apple engineers, handles exabytes of data and millions of queries. FoundationDB powers CloudKit, Apple's cloud backend service. It provides key features like transactional guarantees and solves scalability issues that Cassandra alone could not address. Each iCloud user gets their own database, resulting in billions of databases. This is made possible by the Record Layer's stateless architecture and resource allocation using a “record store” abstraction.

read.engineerscodex.com10 min read

HOW META ANIMATES AI-GENERATED IMAGES AT SCALE

Meta's animate feature, which allows users to generate short animations from AI-generated images, had big challenges in scalability and efficiency. To overcome these challenges, the team implemented a series of optimizations, including halving floating-point precision, improving temporal-attention expansion, leveraging DPM-Solver to reduce sampling steps, and combining guidance and step distillation. They also deployed a traffic management system for better routing and less latency, as well as a retry system with optimized settings to reduce errors.

engineering.fb.com12 min read

FIXING A BUG IN GOOGLE CHROME AS A FIRST-TIME CONTRIBUTOR

This developer fixed a bug in the Chromium/Google Chrome web browser, their first contribution to an open-source project of this scale. They detail the process of building Chromium from source, finding the bug in the Devtools network inspector, debugging the code, and finally creating a fix. They also talk through the process of submitting the code, getting it reviewed, and the final impact of their contribution.

cprimozic.net17 min read

03OPINIONS & ADVICE

PREDICTING THE FUTURE OF DISTRIBUTED SYSTEMS

Object storage is becoming more popular for both transactional and analytical workloads. Adopting new programming models presents a greater challenge due to the lack of clear migration paths and the perceived high investment risk. Object storage in the future may become a ubiquitous component of distributed systems as new programming models emerge, shifting code from applications to infrastructure.

blog.colinbreck.com18 min read

DOKKU: MY FAVORITE PERSONAL SERVERLESS PLATFORM

Dokku is an open-source platform-as-a-service that allows users to create a Heroku-like environment on their own servers. It comes with features like automatic SSL certificate management, basic authentication, and flexible scaling. This developer uses Dokku to deploy various applications for their LLM consulting work, especially for non-GPU workloads.

hamel.dev6 min read

04LAUNCHES & TOOLS

Sponsored

AUTHENTICATION + AUTHORIZATION THAT'S ACTUALLY BUILT FOR DEVS

FusionAuth adds login, registration, SSO, MFA, and a bazillion other features [11] to your app in days – not months. It comes with everything you need out of the box, and it's flexible enough to customize and scale with unlimited MAU and identity provider connections. For added awesomeness, you can run it on any computer,

fusionauth.ioSponsor

AV

av is a command-line tool that helps you manage your stacked PRs on GitHub. It allows you to create a PR stacked on top of another PR, and it will automatically update the dependent PR when the base PR is updated.

github.comGitHub repository

PROTOBUF-ES 2.0 RELEASED

Protobuf-ES 2.0 is a significant update to the Protobuf runtime library for JavaScript and TypeScript. The release brings major improvements, including full support for Protobuf Editions, new APIs for field presence and default values, and a complete runtime reflection API.

buf.build8 min read

TACH

Tach is a Python tool that enforces dependencies using modular architecture.

github.comGitHub repository

05MISCELLANEOUS

WHAT THE INTERNS HAVE WROUGHT, 2024 EDITION

Every year, Jane Street presents what its interns worked on that summer. Arya Maheshwari developed Camels, an OCaml dataframe library, while another intern, Arvin Ding, designed a faster binary serialization protocol, resulting in improved tail latencies in production systems. Alex Li enhanced Limshare's time-travel debugger by integrating snapshotting, making it easier to investigate production incidents and understand the history of state changes.

blog.janestreet.com15 min read

STRIPE DATA VS OPEN‐SOURCE ALTERNATIVES: AN MRR EXAMPLE

Stripe makes it difficult to calculate crucial metrics like MRR through its API, forcing companies to use add-ons like Stripe Data Pipeline and Stripe Sigma. This strategy creates a barrier for businesses, especially those with usage-based billing models, making data analysis challenging. As a result, third-party tools and open-source billing solutions have emerged to fill the gap.

github.com11 min read

ERASURE CODING FOR DISTRIBUTED SYSTEMS

This blog post explores the use of erasure coding in distributed systems through practical examples, explaining its benefits in terms of storage efficiency, fault tolerance, and tail latency reduction while discussing the trade-offs involved, such as increased IOPS and decoding costs.

transactional.blog20 min read