DEV Community

Cover image for Read-Only Queries Write Terabytes, Microservices Head Home
Adam
Adam

Posted on

Read-Only Queries Write Terabytes, Microservices Head Home

Signup here for the newsletter to get the weekly digest right into your inbox.

Find the 9 highlighted links of weeklyfoo #159:


Speculative decoding, the art of guessing well

by astralord

Deep walkthrough of drafting several tokens cheaply and verifying them in one target-model pass, with acceptance and speedup formulas, EAGLE-3, multi-token prediction and diffusion drafters

📰 Good to know, ai, llm, performance


The dirty pages surprise, when a read-only query writes terabytes

by swingbit

A MonetDB count-distinct query saturates an NVMe drive because Linux flushes dirty pages from memory-mapped scratch files, and moving them to tmpfs cuts runtime from 73 minutes to 97 seconds

📰 Good to know, databases, linux, performance


Can we make React faster using the React Compiler?

by Jimmy Miller

In a 2,000-row microbenchmark inlining alone slows rendering from 444 ms to 1,038 ms by removing per-row caches, while adding block DOM updates cuts it to 164 ms

📰 Good to know, react, performance, compiler


How I found a $90,000 remote code execution vulnerability in Google

by Simon Koeck

Google's DevSite reused an OAuth secret from a readable Flask session cookie as the signing key, letting forged sessions reach unsafe pickle deserialization

📰 Good to know, security, bug-bounty


How savepoints throttled our Postgres queue

by Rory Malcolm

Adding workers to a Postgres-based queue made it slower because of per-job SAVEPOINTs, and claiming jobs with a lease fixed it

📰 Good to know, postgres, queues, performance


pg-delta

by Supabase

Supabase's open source schema diff engine that turns two Postgres databases into an ordered migration covering RLS policies, grants and domains

🧰 Tools, postgres, migrations, open-source


once

by alex0ptr

Caches command output so repeated runs return instantly

🧰 Tools, cli, caching


imapkit

by Postal Systems

Embeddable, scriptable IMAP server for testing email clients with in-memory mailboxes and scripted faults, driven from tests or a REST API

🧰 Tools, email, testing


Taming microservice overload, our journey to modular monoliths

by Mario Klaver

Five teams running 90+ microservices at the Port of Rotterdam use DDD and event storming to move back to modular monoliths

📺 Videos, architecture, microservices, devoxx


Want to read more? Check out the full article here.

To sign up for the weekly newsletter, visit weeklyfoo.com.

Top comments (0)