Home > Blockchain >  Postman requests are getting faster and faster
Postman requests are getting faster and faster

Time:09-12

Every postman requests spent less and less time

enter image description here

This is the first request

enter image description here

And this is second.

Why does it work like this? I saw this when I was writing spring application and now the same with quarkus.

CodePudding user response:

Similar to running your JSP pages when running a Spring application, at the first time, everything is getting compiled, built, rendered, and presented, and many other operations, but if you hit refresh for that JSP page again, it will happen much faster because it does not compile, build and rendered every time, it is just being present.

This is just a very simple example to get an idea, you are probably not using JSP pages, but the concept is still the same.

Basically, first requests in theory do like 10 tasks, but after everything is done, the number of tasks is much lower, hence the speed.

  • Related