Rank 1: Thread
Hi team,
I have a few remarks and questions regarding Appwrite Cloud performance since it is “much slower” than my current self hosted instance.
I fully understand that Appwrite Cloud is in beta and things can only get better 🤗 . Also on self-hosted server my database is directly under Appwrite so ofc everything is snappier.
Any call to database on Cloud is an average of 400ms, sometimes under 300ms, and frequently above 500ms, while on self-hosted I get on average 80ms-120ms consistently, depending on the amount of data. Interacting with database is not faster from server functions.
Requests to starter functions from templates, that immediately return a value, take on average 150-200ms to complete on Cloud, with frequent spikes to 400-500ms. Same functions on self-hosted instance on cheapest Hetzner server (shared ARM, 2C/4GB) take on average 60-70ms, barely ever going above 100ms. Same outcome with all runtimes.
There seems to be much more latency on Appwrite Cloud. I am in Europe, at equal distance from Frankfurt (Appwrite Cloud) and Nuremberg (Hetzner).
While this is generally not a problem and it is fast when looking at a single request, but I have a fairly complex app where I have to execute multiple request to fetch and process data. For something that take 1 second on self-hosted, I am looking at almost 10 seconds of processing on Appwrite Cloud, even with dedicated functions.
I already optimised my queries in bunch of ways, with and without relationships, but there is no way around it when I have to fetch and clear data from 10+ different collections, or validate multiple cases before creating documents.
Will it be possible to buy more processing power at some point, or is it possible to somehow boost performance now? I am already on Pro plan if that makes any difference (it does mention dedicated database on pricing page). I really want to switch to Appwrite Cloud but I can’t seem to wrap my head around performance compared to cheapo 4€ server 😅