
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
- availability appwrite 1.8.0
when will the new server version be available for selfhosted?
- Build-in user attributes unique
Hey! I have a question, i'm creating user via account.create and i was wandering if there is possibility to make name and email unique. I don't wont to go throu...
- Functions reset by peer
Hi, I have appwrite 1.7.4 on docker, on a private vps behind reverse proxy which is bunker web. When I call some functions, casually, I receive the error that ...
