Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

GENERAL

TLDR Web Dev

YES, YOU SHOULD USE SQLITE: NOTION'S CREATIVE SQLITE USAGE FOR 20% FASTER LOADS

Notion implemented WebAssembly SQLite in its web app. This resulted in a 20% reduction in page navigation latency. To achieve this, its team used Web Workers to offload database operations to background threads and a SharedWorker with the Web Locks API to fix data integrity issues. They also addressed issues of slow disk reads by implementing a "race" between disk cache and network requests.

ANSWERING READER FEEDBACK: WAR ROOMS VS. DEEP INVESTIGATIONS

During a major Facebook outage in 2014, known internally as "Call the Cops", this developer found that "war rooms" were pointless for deep investigations. He struggled to diagnose the root cause of the outage while confined to a poorly ventilated room with limited resources. He needed to escape that environment and use his usual setup to effectively investigate. The root cause was eventually traced to a bug in the fbagent process that caused it to kill all processes on the machine when the fork failed due to running out of memory.

TLDR IndexPage 4