java - Google App Engine: Backend getting stuck after fetching a large number of URLs -


i'm having problem gae backends , taskqueues. happens is, after backend several url fetch calls few minutes, tasks start getting stuck without starting. enforced rate drops 0.10/s , queue hardly moves. starts move if restart backend instance reach 0.10/s enforced rate again.

i'm working on gae project requires app traverse around 70000 urls, retrieve html, check values in html, , update records in datastore based on values in html.

the implementation involves cron job takes around 300 urls every minute, splits them 10's, , assigns them different tasks in task queue. each task goes through 10 urls, processing contents.

i'm running b4 static backend instance. task queue rate @ 5/s. max concurrent requests 8. tried adding task aging didn't help.

---- october 19, 2013 ----

edit: tried commenting out lot of code , narrowed down problem url fetching. apparently when remove url fetching, things run smoothly. still, i'm not sure how fix since i'm pretty sure closed connection related resources.

you may reach the quota limit url fetch 3000 api calls/minute or 657,000 api calls/day.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -