Asyncronous work |
I'm curious how people here deal with attempting to do things asyncronously.
For example, in my application I make several api calls to social networks. Sometimes an api call can take 1-2 seconds, but since php runs everything syncronously, a stack of 5+ api's can quickly delay a process to 10+ seconds. I'm wondering how people get around that here. Messaging Queue? ReactPromise? NodeJS? I do implement caching, which helps the 2nd time I make the call, but if a user hasn't logged in in a while and needs brand new versions of every feed, he will run into the delay. |
Messages In This Thread |
Asyncronous work - by albertleao - 05-28-2015, 01:04 PM
RE: Asyncronous work - by mwhitney - 05-28-2015, 01:58 PM
RE: Asyncronous work - by CroNiX - 05-28-2015, 02:08 PM
RE: Asyncronous work - by no1youknowz - 05-31-2015, 02:34 PM
RE: Asyncronous work - by albertleao - 06-02-2015, 08:29 AM
RE: Asyncronous work - by no1youknowz - 06-02-2015, 08:51 AM
RE: Asyncronous work - by ivantcholakov - 05-31-2015, 02:50 PM
|