Currently I barely use functions, only if users update themselves or for now the product importing
I mostly use nextjs, so the api routes do it for me instead of functions :)
Upping the chunk limit did not speed it up at all haha
[Solved] Functions - Bad request
What do you mean with chunk limit?
I just got a 500 error randomly haha, so random, here's the docker logs if they help: https://paste.techscode.com/uguzejikoveluju.apache
chunkSize
Oh, I see
Uh, looks like the only error is docker error eof?
yeah
appwrite says timed out (which it did), but probably is same issue as before
This specific EOF is fine, it happens when we try to calculate stats while there is cold-start ongoing. Its safe failure, it will re-calculate later. Also those stats are only used by OpenRuntimes Proxy, so if you dont have that in the stack, its not affecting anything
alrighty!
I'll keep chunkSize on 1, that seems to work with about a 5 second delay
Would definitely love that there comes some sort of queuing system for this, instead of having to scale with cores, not everyone can pay for 60 cores in the end haha
#ad, I would recommend Appwrite Cloud, we monitor those 24/7 and ensure we have enough resources to serve all requests 🙈
Coming this year, likely. Coroutine-style http server
Isn't that possible with async?
I know I know.. but the limits are not high enough :2HAhaa:
and pricing for me is cheaper in storage using Cloudflare R2 (silently waiting for s3 generic adapter)
Although honest question, if you do have an insane amount of people and are self-hosting, how would one do this? Just get one gigantic server with 2 cpu's?
You can rent multiple servers and use orchestration manager such as Docker Swarm
Ah, that would work
Well, I got my issue fixed at least haha, thanks!
Recommended threads
- Internal server Error when trying to exe...
When executing the function locally it works fine, but when the function is deployed I get this error: ```requests.exceptions.HTTPError: 500 Server Error: Inter...
 - dart appwrite 16.2.0 throws errors
Hi there, I just updated to 1.7.4 and also wanted to update the dart appwrite sdk to fit the appwrite version I am using now. So I updated to 16.2.0 and get th...
 - Server error on multiple requests
Hi there, I've updated from 1.5.7 to 1.7.4. I am using meilisearch for indexing and have therefore a dart script which syncs the appwrite data to meilisearch in...