logoalt Hacker News

bob1029 • today at 8:49 AM • 5 replies • view on HN

SQLite + NVMe feels like cheating sometimes. If my #1 requirement is lowest possible latency, I can't imagine picking anything else.

Kestrel (AspNetCore) + SQLite + NVMe all on the same machine is where things start to get really spicy in my experience. Imagine handling an entire form submission that mutates database state in tens to low-hundreds of microseconds. Total wall clock time required to service any HTTP request can be well under a single millisecond. If your average cpu time per request is 30uS, you could approach half a million per second on a 16-32 core machine.


Replies

Havoc • today at 8:52 AM

>If my #1 requirement is lowest possible latency, I can't imagine picking anything else.

optane

➕ show 2 replies
arethuza • today at 9:19 AM

What approach do you take for backups?

➕ show 1 reply
mordae • today at 11:26 AM

NVMe + LMDB. :-)

Kinrany • today at 9:52 AM

What happens when a new version is deployed?

sgt • today at 10:28 AM

Have you checked out DuckDB for time series data?