J
J
jle349252015-11-15 03:13:26
PHP
jle34925, 2015-11-15 03:13:26

How to implement a request queue?

How to implement a request queue. For example, there is someone else's site and you can make a request to it 1 per second to get json information. I would like to make the user of my site, when he clicked on the search form on my site, he would get into a queue and it was written that the result would be in 30 seconds, this is calculated, depending on the number of people. in line, sort of. When the time came, my script worked and redirected the user to the page with the results.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikcon, 2015-11-15
@Rikcon

It seems that you need a queue server like Gearman habrahabr.ru/post/142210
I didn’t use it myself, I just googled it)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question