On Mon, Oct 20, 2008 at 7:33 PM, Jeff Pritchard <[EMAIL PROTECTED]> wrote:
> Right now I have a background task that, once every 15 mins, looks at > every gosh darn user and decides whether or not to send them a reminder. > Once every 15 mins I hit every single user row in the database. > brrrrrrr. Yeah, I know, gives me the willies too. So, gosh, maybe you're running your server on an ancient Intel 286 box on Craplix "Muddy Mammoth" -- 15 minutes? so even that box executed, oh, eleventeen gazillion instructions in that time period? Plus /yet another/ SQL query. Brutal. I'll bet your phone is ringing off the wall with customer complaints. When your traffic gets twitteresque, please call back. Operators are standing by. /* see also "premature optimization" */ :-) -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

