can anyone suggest a self hostable Faas server which can be used to run dart functions and return output back to client ??
You can run dart on appwrite
You can have dart functions with appwrite
So why do you want another separate server?
if i call the function in sync mode from a few simultaneous clients., the function container becomes unstable and freezes and throws timeout error.
cannot use it in production out of the box.. or is there any hacks to solve it?
umm, making is sync would surely put burden on server, I wonder why not try async?
In what language is your function is written in?
At is own Appwrite function are able to process no matter the number of requests you're sending to it. The only problem I've had so far is when Appwrite function call Appwrite itself again, in those use-cases Appwrite client freezes and you get that timeout.
I've tried many ways to mitigate it, bo so far no success. I have few ideas in which I'm gonna try later and let you know.
but the server should handle or else there is no point right?? now i tried, dartfrog, kind of NodeJS of Dart.. and created a simple server which replies after 2 second and then used python to sent 1000 concurrent request at a single instant to the server. and calculated the response time. it took only 2.02 seconds for every response. and none of the 1000 request failed.. tried the same with appwrite function and both of it failed and i couldn't sent any fuinction call for the proceeding 1 minute.
Yes, I know there is some bottle neck that make it all stuck.
and as dart frog is natively dart, i could use the same cloud code i wrote for appwrite functions (but have to write lots of boiler plat for authentication). hope the appwrite functions will be more efficient and scalable soon.
dart
And is your Appwrite function is for general use or you're connecting to your Appwrite instance?
using dart for backend is beneficial as lots of codes can be re used and shared in between..
Agreed
connecting to appwrite instance.. im not using database end point for data fetching or data manipulation as i dont want to embed the business logic in the app. only API end points should be visible at the client app/webapp side.
Recommended threads
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...
- Cancelling Pro account and billing perio...
Is it possible to switch back to a free account and cancel a billing period. i switched to pro version for a day and realised i don't need it and i want to retu...