Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

VIRTUAL THREADS ATE MY MEMORY: A WEB CRAWLER'S TALE OF SPEED VS. MEMORY

Switching a web crawler from platform threads to Java Virtual Threads improves speed, but also causes an OutOfMemoryError due to a lack of built-in backpressure. Virtual Threads allows downloads to race ahead, but without limits, the system quickly floods memory with unprocessed tasks. The fix is to introduce explicit concurrency control (like semaphores) to balance speed with memory.

ESLINT V9.0.0: A RETROSPECTIVE

ESLint v9.0.0 was released in April 2024 with a new configuration system, but its launch faced initial negative feedback from users due to numerous breaking changes, such as the combination of the new configuration system and rule API changes. While the ESLint team provided documentation, users found it overwhelming and preferred automated tooling for upgrades. The lessons learned include prioritizing smaller, more frequent releases, focusing on tooling over documentation, and improving error message context.

TLDR IndexPage 4