Ruby on Rails Monday, April 30, 2012

Jedrin wrote in post #1058661:
> We want to use SQL/active record for logging but limit the table size
> so that older messages disappear off of the table Some process has to
> run periodically to do that.

Here's something I discovered after posting my reply, but certainly
worth considering.

Do you logging with MongoDB instead of a SQL database. MongoDB has
built-in support for high performance logging scenarios:

See the following for more:
http://www.mongodb.org/display/DOCS/Capped+Collections

--
Posted via http://www.ruby-forum.com/.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment