Reputation: 31
I am starting with server-side Dart to have a "microservice" like architecture to provide REST API interface to IOT nodes.
As I have good experience with Flutter I want to use Dart for server-side application as well.
But I have a few queries regarding implementation as follows :
A. Do we need any additional web server like Apache to handle multiple simultaneous REST API requests from IoT devices/clients? Does Dart Server capable to handle large traffic independently?
B. Is there any document/case study of comparing client request handling capability of Dart server side Vs Node Js / Python Flask
Thanks, Gaurav
Upvotes: 0
Views: 379
Reputation: 1069
A. Dart has its own HTTP server implementations, you don't need Apache, refer to aqueduct, shelf or angel for starters.
B. I don't know of any specific studies however you can find articles like this if you google, in general the Dart VM performs well in this respect. Note that if you use Google cloud you can now also use Dart in the Cloud Run product if all you want to do is serve HTTP requests, see here
Upvotes: 1