las2peer icon indicating copy to clipboard operation
las2peer copied to clipboard

Performance for service API calls could be improved

Open AlexanderNeumann opened this issue 9 years ago • 0 comments

When looking at the network timelines in the chrome developer tools even very simple service calls need 10-20ms to be processed (TTFB waiting time).

The attachment contains a very simple example method I'm using in the template project.
I call the service using normal ajax requests from a web page and both service and web page are running on localhost.

Comparable ajax calls to a file server yield TTFBs lower than 5ms.

So an average of 15ms for adding two numbers seems unreasonable high.
This is not critical, but in a micro-service-environment the waiting-times can add up quickly and become very noticable.

Maybe something can be optimized to make request processing faster?

[LAS-210] created by alexruppert

AlexanderNeumann avatar Nov 04 '15 15:11 AlexanderNeumann