> What did you do to make is so cheap? In Campfire how is this different
> than three people working on one todo list?

We rewrote the 100 lines of Ruby that handled the poll action in 300
lines of C. Jamis Buck did that in a couple of hours. Now each poll
just does two super cheap db calls and polling is no longer a
bottleneck.

Campfire and a shared todo list is different because they're not
working on a shared resource. There's no concept of locking. Or two
people dragging the same item. So a 3 second delay between posting and
showing up doesn't matter. It does when you're working on a shared
resource.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to