S
S
SimBioT192017-04-21 16:48:39
PHP
SimBioT19, 2017-04-21 16:48:39

How to reduce response time?

Hello.
The server receives many requests and each of them must be answered with the least delay.
The problem is that you first need to check the incoming data, process it in different ways, generate a response, in some cases perform a couple more additional actions, and all this, of course, affects the speed of the response.
How to "distribute" tasks so that they run with the least delay?
What should be used in this case?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nurlan, 2017-04-21
@daager

First, do some profiling and see where you have the longest running piece of code.

I
IceJOKER, 2017-04-21
@IceJOKER

Caching?

C
coderisimo, 2017-04-21
@coderisimo

Here is a bunch of potentially useful information
https://ruhighload.com/post/%D0%A7%D1%82%D0%BE%20%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question