+ 1

What's the best microservice to use to develop an API that can get two users request and process it in less than 10 second.

I want to develop an API that can get multiple users request and process it in less than 100 milliseconds.

2nd Sep 2018, 10:26 AM
Suleiman Ahamed Mamman
3 Answers
+ 4
Node.js single thread callback handling is best for fast multi API access.
2nd Sep 2018, 12:05 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 4
if its just fetching data over multiple end points with light processing then Nodejs will be totally Awesome and it would only take single thread to do so. But if there is heavy processing to be done before serving results, then the asynchronous tasks will be delayed significantly in Nodejs. so better to create new threads (child processes) to handle heavy processing or use webworker libraries to do so. btw from Node 10.5 multithreading support is available too, but still in experimental phase. so in that case go with .net (C#), java or something.
2nd Sep 2018, 12:27 PM
Morpheus
Morpheus - avatar
+ 2
Use multi-threads.
2nd Sep 2018, 10:31 AM
Potato Squad
Potato Squad - avatar