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
- Having issues with login via CLI
``` ~/appwrite î‚° appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...