System administrator, part-time Perl hacker, full-time POE [perl.org] evangelist. One day he will be made to pay for his crimes.
He has some modules on CPAN [cpan.org]. They may or may not be useful
Finding myself on a host where I couldn't use NNTP to retrieve CPAN uploads from perl.cpan.testers, I decided to use POE::Component::RSSAggregator to do the job for me.
The resultant code is here
I'm polling every 1800 seconds, but you may care to adjust that
Happy smoking!
RSS polling ettiquette (Score:1)
120 seconds?! That’s… well let’s benevolently call it “very eager.” Much like a young puppy who’s so happy he’s slobbering all over your face.
To be frank, that is not a friendly polling interval. Hopefully, the module you’re using implements Conditional GET so you’re not treading on the poor server’s bandwidth too badly, but 120 seconds is still rather obnoxious, if only because you flood the server’s logs with noise. You should
Re: (Score:1)
Suitably chastised, BinGOs wandered into the desert to thrash himself with silver birch
Seriously, I was going to up the polling period anyways, as it is delaying the execution of the tests of uploaded modules for 400000 seconds.
I'll raise it to once an hour and see how it plays out on server load
Re: (Score:1)
No need for flagellation, self- or otherwise. Just fix the code. :-)
I have committed my share of clueless transgressions. Within reasonable limits they aren’t an issue, so long as you clean up your act once you know better. (Why specs matter [diveintomark.org] makes the relevant point quite eloquently, though mixed in with a bunch of other issues that aren’t directly relatable to the issue at hand.)