<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Building Browsergames - Latest Comments in Simple Cron</title><link>http://bbgames.disqus.com/</link><description></description><language>en</language><lastBuildDate>Thu, 17 Jul 2008 11:43:35 -0000</lastBuildDate><item><title>Re: Simple Cron</title><link>http://buildingbrowsergames.com/2008/07/17/simple-cron/#comment-3089145</link><description>While crons are a good way to do such a task, they aren't the best solution. For a game with a large DB a cron can take too long to cycle through the DB.&lt;br&gt;&lt;br&gt;Classic example is TornCity. Their crons (when they were using crons) would take so long that it could take up to a day for a player to get a single update which was to occur every 15 minutes.&lt;br&gt;&lt;br&gt;Instead a better solution would be the "on-view" event in my opinion. We have discussed this solution on my blog, and it seems to be the best solution. &lt;br&gt;&lt;br&gt;The basic idea is that fields aren't updated till they have to been updated. So if I were to attacking someone, their info would be updated before the attack was made.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bardic</dc:creator><pubDate>Thu, 17 Jul 2008 11:43:35 -0000</pubDate></item></channel></rss>