News for hackers. Stuff that matters.
Re:I run multiple $10K MRR companies on a $20/month tech stack by nchmy on Sunday April 12, 2026 @12:03PM (#47741306)
How about pg on Unix socket?
Re:I run multiple $10K MRR companies on a $20/month tech stack by eurleif on Sunday April 12, 2026 @02:52PM (#47743063)

    Running 100,000 `SELECT 1` queries:
    PostgreSQL (localhost): 2.84 seconds
    PostgreSQL (Unix socket): 1.93 seconds
    SQLite (in-memory): 0.07 seconds
    SQLite (tempfile): 0.06 seconds
(https://gist.github.com/leifkb/b940b8cdd8e0432cc58670bbc0c33...)
Re:I run multiple $10K MRR companies on a $20/month tech stack by nchmy on Sunday April 12, 2026 @04:06PM (#47743873)
seems about right
Re:I run multiple $10K MRR companies on a $20/month tech stack by onraglanroad on Monday April 13, 2026 @04:59AM (#47749514)
You appear to have benchmarked how quickly Python can access memory vs how quickly Python can open and close a socket. I'm not sure the DBs were required in any way.