What is Nostr?
Mick 🇨🇦 /
npub1vtz…zqq3
2024-05-18 03:28:10

Mick 🇨🇦 on Nostr: That article from DigitalOcean suggests that 10-15 threads = 1 GB of RAM. We also ...

That article from DigitalOcean suggests that 10-15 threads = 1 GB of RAM.

We also need to give each thread its own DB connection.

In staging the DB is local, so we don’t need to worry too much about a few extra connections.

In production, we’re connected to a DB pool that will funnel the extra connections into a smaller number of connections to the DB. Our Database server still has oodles of capacity to keep up with all of this.

5/?

Author Public Key
npub1vtz6sg94y9wzrfwacuy98n4qq6nsz24xdrjaakftuyslq2y3k5sqvrzqq3