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
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, itโs mention that only setup client with endpoint / api key is enou...