*blog... kind of... *rss
Bots are the new Crons
0 commentsWe implemented a bit of a automation over xplsv.tv some weeks ago. Until then I was daily picking the video of the day. Now I "map" the month with a selection (still handpicked) of the videos, and then our php system does all the mailings at 00:00 every day. You wouldn't believe what a relief it was after doing the hand picking of a video every day during 4 years :S!
When we were thinking about how to implement the feature we considered setting up a Cron on the hosting, however, we quickly guessed that if the site had about 207,045 hits per day (207,045/24/60/60 = 2.39), so 2 hits per second, these are enough visits as to make the user launch these actions indirectly when visiting the site I would say ;)
The funny thing is that after checking the logs, most of the times the user agent of who launched the action happens to be a bot. So, who needs a Cron when we have Google bot? ;)
When we were thinking about how to implement the feature we considered setting up a Cron on the hosting, however, we quickly guessed that if the site had about 207,045 hits per day (207,045/24/60/60 = 2.39), so 2 hits per second, these are enough visits as to make the user launch these actions indirectly when visiting the site I would say ;)
The funny thing is that after checking the logs, most of the times the user agent of who launched the action happens to be a bot. So, who needs a Cron when we have Google bot? ;)
*profile

traditional id: Ricardo Cabello Miguel
based in: London, UK
more: github, twitter, twitpic, soundcloud and flattr
*post nav
Virtual Hosts with Apache2 on Ubuntu 8.04
Inspire08 demo log, day 22
Inspire08 demo log, day 21
Inspire08 demo log, day 20
Inspire08 demo log, day 19
Bots are the new Crons
Inspire08 demo log, day 18
Inspire08 demo log, day 15, 16 and 17
Inspire08 demo log, day 14
Inspire08 demo log, day 13
M-Audio Oxygen 8 with Ubuntu 8.04