hello I have a simple service that responds very quickly (~1ms, definitley less than 10ms. Most all of my traces on sentry appear as 0.00ms. It is a simple rust axum api). It can run a test with 2,000 concurrent requests in about 200ms and that is with very small time.sleeps in the test case mentioned. However when I deploy, my response times have been anywhere between 300-700ms. Is there something I can do to speed this up?
some info:
- it runs in a docker container
- it is hosted in US East on railway metal
- my ping to US East it about 60ms
- i am using the default railway provided domain
- the average server load is extremely low (0.0vCPU and 5-8 MB ram)
If there is any more information needed please let me know. Any help would be greatly appreciated.
Thanks!