Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go ยป
No member browsing this thread
Thread Status: Active
Total posts in this thread: 10
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 920 times and has 9 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
confused RSS Feed Flood Control?

I currently run a 3rd party stat image site (http://dcstat.com), and am having trouble retrieving stats for WCG. I am using the RSS Feed, however it appears as if flood control was recently put into place.

Here's what I get...

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>World Community Grid - Error</title>
<link>http://www.worldcommunitygrid.org</link>
<description>Too many requests in too short a time.</description>
<language>en-us</language>
<webMaster>support@worldcommunitygrid.org</webMaster>
<item>
<title>Error</title>
<description>You have requested this feed too many times within a given time frame.</description>
<link>http://www.worldcommunitygrid.org</link>
</item>
</channel>
</rss>


I was wondering what the flood control was currently set at, or what would be an acceptable rate to retrieve stats? Thanks!
[Jun 22, 2007 1:51:21 AM]   Link   Report threatening or abusive post: please login first  Go to top 
retsof
Former Community Advisor
USA
Joined: Jul 31, 2005
Post Count: 6824
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

Sort of the same question as the other message in the chat area. I'll refer the techs to both of these threads...
----------------------------------------
SUPPORT ADVISOR
Work+GPU i7 8700 12threads
School i7 4770 8threads
Default+GPU Ryzen 7 3700X 16threads
Ryzen 7 3800X 16 threads
Ryzen 9 3900X 24threads
Home i7 3540M 4threads50%
[Jun 22, 2007 1:56:40 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

Meanwhile, why not try throttling it yourself? 5 seconds between requests would space things out a bit.

Since the techs haven't mentioned this limit before, and I'm 99% sure they haven't just added it, it looks like you have just exceeded the limit now.
[Jun 22, 2007 2:01:11 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

Thanks retsof and Didactylos.


I just tested with a 5 second throttle....still to quick, apparently... From what I can tell, it looks like the limit is somewhere between 10-20 seconds. Puts my stat update times for WCG over an hour, possibly over two hours... d oh To see error message in action, click here then hit refresh a few times...
[Jun 22, 2007 2:37:00 AM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

It is set at 5 seconds (but you would want to pull at a slower pace in case the timing between each request had some variance).

And yes - we had to add this on Tuesday morning. We had someone pulling a the stats via this interface at around 6-7 requests per second and that caused the website to lock up for about 2-3 hours while we figured out what was going on.

I will drop the throttle down to 2.5 seconds. This will take effect when we release the next major release of the website (in about 2 weeks)
[Jun 22, 2007 1:41:56 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

Hmm... so I'm wrong about when you added it, right about the delay....

Next time, please tell us! It's only chance that you didn't break mine too; I use a combination of RSS and page scrapes.
[Jun 22, 2007 1:51:16 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jal2
Senior Cruncher
USA
Joined: Apr 28, 2007
Post Count: 422
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

It sounds like it would be more efficient for everyone if WCG could provide, and document, an HTML servlet which would accept a delimited list of tags and return an XML document with a row of values for each tag.
This would allow the different signature providers a documented mechanism with a hopefully smaller WCG bandwidth impact than current techniques.
Yes, I realize this is an enhancement which someone has to code, and there may be some security/privacy issues to consider, but I thought I would suggest it.
----------------------------------------
[Jun 22, 2007 4:23:38 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

It has been on the todo list for some time now. It's scheduled for this year.
[Jun 22, 2007 4:36:25 PM]   Link   Report threatening or abusive post: please login first  Go to top 
keithhenry
Ace Cruncher
Senile old farts of the world ....uh.....uh..... nevermind
Joined: Nov 18, 2004
Post Count: 18665
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

Thanks retsof and Didactylos.


I just tested with a 5 second throttle....still to quick, apparently... From what I can tell, it looks like the limit is somewhere between 10-20 seconds. Puts my stat update times for WCG over an hour, possibly over two hours... d oh To see error message in action, click here then hit refresh a few times...


Mousie, could you easily take a "round robin" approach? Send a request to each project rather than all requests for a given project back to back? You could set a time flag each time you send a request to WCG and the next time you need to send a request to WCG, check that and throttle if necessary? That might help keep down the total time for your stat updates. Just a thought.
----------------------------------------
Join/Website/IMODB



[Jun 22, 2007 5:16:55 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: RSS Feed Flood Control?

That is something I am considering, keithhenry. smile This actually comes around the time that I was considering making a few changes to the way my updates run, so this gives me even more reason to do so...
[Jun 22, 2007 5:39:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread