Thottle PHP script from json Facebook api feed
I have a script that runs in the background over facebook api using json_decode however it is bogging down my server to the point where i cannot connect. I am having it loop over all the tags in side my own personal photo album. Is there a way i can limit the connections/decodes/etc so that my server does n开发者_如何学Pythonot die?
Run it on a separate server, and then feed the data into your database.
You may want to look at php-resque (YMMV), I haven't used php and resque...
精彩评论