Hacker News new | ask | show | jobs
by tiffanyh 1209 days ago
> Removed Redis 4 years ago; average latency remained unchanged at 20ms.

A hidden taken away is that NVMe storage databases are so fast, they are comparable to in-memory (redis) databases these days.

1 comments

Throwing 1.5TB of RAM in the SQL Server (server) has to help too!
> [1.5TB of RAM] that is a third of the entire Q&A dataset.

Yes, but maybe not as much as you’d think.

https://twitter.com/sahnlam/status/1629713961951330304

It's probably debatable in this case but from what I know of Postgres (as one example) the general thinking seems to be "throw as much (relatively cheap) RAM at it as you can", tune some of the default (conservative) memory consumption params, and let Postgres eat the RAM.

See the various parameters here[0] - it's complicated but from my understanding you can pretty quickly run into performance issues depending on some not-exactly obvious variables in dataset size, specific queries, etc.

Of course Postgres != SQL Server but the concepts are likely similar. That said you won't catch me every researching this because I've never used SQL Server and never will :).

[0] - https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Serv...