peterportal-public-api icon indicating copy to clipboard operation
peterportal-public-api copied to clipboard

Reduce Server Initialization Time

Open ramanxg opened this issue 3 years ago • 0 comments

Every time the the server has a cold start, the duration to initialize is around ~1.5 seconds. Try to reduce this amount, to less than 1 second. This will require identifying what part in the code takes the longest to initialize, and how to reduce it.

Possible Ideas:

  • Loading the cached data into memory each time.
  • Middleware that takes time to load

ramanxg avatar Sep 07 '21 16:09 ramanxg