Back

Slow-ish performance on requests, even locally

  • 0
  • Self Hosted
  • Databases
  • Web
ajnart
17 Jul, 2024, 23:06

Seeing about 124ms response time from the server when doing a post to api.website.com with the app hosted on app.website.com I thought it was due to cloudflare. In my local setup api.server.local:9090 (appwrite) app on localhost:3000 produces 640ms response time. Are there any ways to reduce this ?

Now, I know it's not THAT slow but I would expect it to be near-instant, shouldn't it be ?

TL;DR
Developers are experiencing slow response times when making requests locally, even within the same network. They are getting responses in the range of 124ms to 640ms. The expectation is that response times should be near-instant. The issue might be related to the setup or configuration. To potentially reduce the response time, they could look into optimizing the network configuration, reviewing the server settings, and checking for any bottlenecks in the system.
Joshi
17 Jul, 2024, 23:47

That's def. not normal lol

ajnart
17 Jul, 2024, 23:56

how much do you think it should be ?

Joshi
17 Jul, 2024, 23:56

On localhost?

Joshi
17 Jul, 2024, 23:57

somewhere around 5ms or less lmao

ajnart
17 Jul, 2024, 23:57

I mean tbf it's not localhost its another computer, but on my local network

ajnart
17 Jul, 2024, 23:57

😦

Joshi
17 Jul, 2024, 23:59

You are hosting on an other computer in the same network?

Joshi
17 Jul, 2024, 23:59

Have you tried doing the request on the computer where you host it?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more