4 ms·
> adding 1-5ms per query makes it feel not okay Or going from ~1ms over a local wired network to ~10ms over a wireless network. Had a customer performance com
by magicalhippo 9mo ago
> adding 1-5ms per query makes it feel not okay
Or going from ~1ms over a local wired network to ~10ms over a wireless network.
Had a customer performance complaint that boiled down to that, something that should take minutes took hours. Could not reproduce it internally.
After a lot of back abd forth I asked if the user machine was wired. Nope, wireless laptop. Got them to plug in like their colleagues and it was fast again.
- fwip 9mo agoIf you have the ability to batch that communication, you could probably get those minutes down to seconds.
- magicalhippo 9mo agoYeah, sadly most of the business logic was written when people had like a few items to process, not tens of thousands, so batching wasn't a concern. We're slowly rewriting the application, batching in the core logic will absolutely be high up on the board.
- fwip 9mo agoAwesome, I hope the rewrite goes well for you all. :)