3 ms·
> sub 100ms response times are normal That sounds incredibly slow for something that responds on a websocket, but you never told us what you're doing besides d
by NavinF 5y ago
> sub 100ms response times are normal
That sounds incredibly slow for something that responds on a websocket, but you never told us what you're doing besides db transactions (which should be 1ms unless you're on spinning rust)
- cultofmetatron 5y agothats the full end to end request comes in, parses input, performs db calls, processes a response packet and sends data out
- NavinF 5y agoThanks for clarifying. I still think 100ms is excessively slow unless you're doing something like realtime video encoding. A dozen postgres writes only take a couple of ms and that should be the bottleneck, not stuff like parsing. If you have 2 data centers in the US, network latency to the user only adds 10 to 50 ms