S
S
Sergey Bard2017-05-29 16:36:33
PHP
Sergey Bard, 2017-05-29 16:36:33

Which library to choose for asynchronous php code execution?

Hello. I need to make asynchronous code execution, I plan to parse huge .xml files and I want to do everything smartly and so that everything works more or less quickly, well, so that it does not eat memory so much). In general, the thing is, having climbed on the Internet (on Russian sources, since English knowledge wants to be better), I found out that basically for such tasks many people use several libraries, namely guzzlephp and reactphp , I started by parsing guzzlephp and came across that for an asynchronous request, Guzzle Promises are needed, but I did not understand (due to poor knowledge of English) this is a separate lib or an addition to the guzzle itself.
So what do you recommend to choose? continue learning guzzlephp or reactphp, or please explain behind Guzzle Promises.
Please give me some good advice on this matter!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2017-05-29
@serg_small_developer

guzzle/guzzle depends on guzzle/promises and so guzzle/promises is set automatically.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question