|
|
|
|
|
by FpUser
1669 days ago
|
|
>"But still, a server should rarely ever be your bottleneck. Your application's DB I/O will be." I have C++ server. Instead of constantly querying DB it holds all business data in RAM in appropriate structures optimized for real time usage, not how they're kept in DB. All read requests are basically limited by network IO except when some request calculates some more or less complex math. No waiting for DB. Writes are batched and a frequency of those is way less than that of reads. It reverse proxied by Nginx. Putting Caddy instead would be a disaster if Caddy is much slower. |
|