Skip to main content

Posts

Featured

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. Read More

Latest Posts

Progressive JSON

WebSockets guarantee order - so why are my messages scrambled?

Streamline multi-environment deployments with Amazon EKS Blueprints and CDK pipelines

Where We're Headed with the dbt Fusion Engine

OpenAI: Scaling PostgreSQL to the Next Level

Making the Right Choice: Flink or Kafka Streams?

USING KEY in Recursive CTEs

mindDB

Announcing DuckDB 1.3.0

Archive Postgres Partitions to Iceberg