Rank 4: Virtual Machine
Currently I barely use functions, only if users update themselves or for now the product importing
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 4: Virtual Machine
Currently I barely use functions, only if users update themselves or for now the product importing
Rank 4: Virtual Machine
I mostly use nextjs, so the api routes do it for me instead of functions :)
Rank 4: Virtual Machine
Upping the chunk limit did not speed it up at all haha
Rank 4: Virtual Machine
[Solved] Functions - Bad request
What do you mean with chunk limit?
Rank 4: Virtual Machine
I just got a 500 error randomly haha, so random, here's the docker logs if they help: https://paste.techscode.com/uguzejikoveluju.apache
Rank 4: Virtual Machine
Rank 4: Virtual Machine
chunkSize
Oh, I see
Uh, looks like the only error is docker error eof?
Rank 4: Virtual Machine
yeah
Rank 4: Virtual Machine
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
Rank 4: Virtual Machine
alrighty!
Rank 4: Virtual Machine
I'll keep chunkSize on 1, that seems to work with about a 5 second delay
Rank 4: Virtual Machine
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?
Rank 4: Virtual Machine
I know I know.. but the limits are not high enough :2HAhaa:
Rank 4: Virtual Machine
and pricing for me is cheaper in storage using Cloudflare R2 (silently waiting for s3 generic adapter)
Rank 4: Virtual Machine
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
Rank 4: Virtual Machine
Ah, that would work
Rank 4: Virtual Machine
Well, I got my issue fixed at least haha, thanks!