TLDR Web Dev

TLDR WEB DEV 2023-09-25

6 sections15 entriesinline urlcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

02ARTICLES & TUTORIALS

HOW FACEBOOK HANDLED BILLIONS OF REQUESTS PER SECOND EFFICIENTLY

Facebook receives billions of requests per second and stores trillions of items in its databases. Traditional web architectures couldn’t keep up with its demands, so the team used a simple key-value store called Memcached. The team scaled Facebook efficiently to become the largest Memcached installation in the world. This article describes how Facebook scaled Memcached across servers, clusters, and regions worldwide in a simple manner.

engineercodex.substack.com8 min read

CSS FINDINGS FROM THE THREADS APP: PART 2

This article features a few interesting practices that are often not seen in CSS guides. For example, an animation of navigation items expanding could be done by animating each item individually instead of animating the gap or padding, which is much cleaner but could be less performant. The article’s approach to analyzing CSS by adding outlines to all elements can be applied to analyzing the CSS of any site. The article analyzes the CSS choices Threads made.

ishadeed.com8 min read

MAKING SENSE OF REACT SERVER COMPONENTS

A couple of months ago, the React team unveiled React Server Components, its latest paradigm shift. Now, React components can run exclusively on the server. This article aims to demystify React Server Components and make them easier to understand.

joshwcomeau.com39 min read

03OPINIONS & ADVICE

LEAD

This interview with a staff engineer who has worked at companies like Twitter uncovers some helpful advice gained on his path to getting to his current position. Staff engineers consistently improve core infrastructure and deliver fantastic products. They also are able to manage effectively and are able to influence without authority.

careercutler.substack.com12 min read

BUN: LESSONS FROM DISRUPTING A TECH ECOSYSTEM

Bun is a backend JavaScript runtime with a focus on performance. It provides an up to 10x performance increase in package building or handling inbound server requests. Bun achieves this performance peak by using a more performant tech, making performance-centric optimizations, and making some trade offs to prefer performance over ease of use. Bun also reveals the contrast between a venture-funded open source system vs community-contributed open source - Node’s contributors are unpaid, while Bun has raised more than $7M.

blog.pragmaticengineer.com7 min read

CHOOSE POSTGRES QUEUE TECHNOLOGY

Postgres queue tech consists of two parts: the publish/subscribe pattern and row locks. It’s useful for background jobs, but many don’t use it because they are worried about its scalability. This article shows that Postgres queue tech is scalable and also provides extra features that current replacements might not. Most notably, Redis is the main message broker for background job libraries.

adriano.fyi9 min read

04LAUNCHES & TOOLS

RECOVERPY

RecoverPy is a powerful tool that leverages system capabilities to recover lost files. It can recover both deleted files and overwritten data.

github.comGitHub repository

UDSV

uDSV is a fast JS library for parsing well-formed CSV strings, either from memory or incrementally from disk or network.

github.comGitHub repository

05MISCELLANEOUS

UNITY APOLOGIZES TO DEVS, REVEALS UPDATED RUNTIME FEE POLICY

Unity recently introduced a Runtime Fee for which they instantly received tons of backlash from game developers. The company apologized publicly soon after and revealed massive changes to the policy as a response. The Unity Runtime Fee will no longer apply to games built on Unity Personal. Developers on said plan will also be able to now earn up to $200,000 in revenue. They will also no longer be required to use the "Made with Unity" splash screen.

gamedeveloper.com5 min read

ARE PERFORMANCE REVIEWS USEFUL?

Most of us are used to the annual cadence of performance reviews. It can be a good chance to get aligned with your manager about your priorities. However, frequent and relevant feedback could be a better solution.

fastcompany.com1 min read