← Back to context

Comment by edoceo

13 hours ago

Any pointers to network configuration to tune? Some TCP stuff? How much does it matter on that VPS network?

Yeah mostly just keepalives and timeouts, increasing kernel maximums for connections, using Unix sockets directly instead of tcp, using pgbouncer, etc. as always, depends on use case and monitoring and measuring to determine your needs is good.

man, i wouldn't worry about tuning something like TCP until you can reliably prove TCP is the bottle neck in performance. That day will likely never come for most companies.