
Hi, Is there a good practice for writing function ? It's better to write all ours functions in dart or node or php ? Or it have no impact for performance to have multiple language ?

Hey there 👋 I would say there is no performance impact on using different languages for different function. Might be harder to onboard, but might be beneficial thanks to different libraries availability in different languages.
Regarding performance, all runtimes can execute hello world code in ~1-10ms. Fastest being Dart/Node/Swift, slowest being PHP/Python. Tho it's difference of 9ms so I wouldn't worry too much.
Well but for example, if you connect to mySQL server in Node, first execution (handshake) takes up to 200ms. While same logic in PHP can execute in <50ms. This again depends on library coverage in different runtimes

Here is a bit of reading if you are interested: https://dev.to/appwrite/take-your-serverless-functions-to-new-speeds-with-appwrite-013-5868

Thanks for the complete answer 👌

[SOLVED] Function : One language or multiple language ?
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
