Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Craig Booker
14,968 PointsMulti VS One Database for Rails App Based on Treebook
I am working on a rails app which is largely based on the social functions in Treebook application used in the Ruby tutorials. Would adding it to another database add a lot of load? I would be adding it to a parts db with a lot of data.
1 Answer
Richard Crawford-Wilson
6,094 PointsDefine a lot of data.. Raw MySQL queries can execute upwards of 5,000 queries per second (depending on the query) on my laptop. Odds are, unless you have a use case that would require multiple databases, it's best to stick with one.
Richard Crawford-Wilson
6,094 PointsRichard Crawford-Wilson
6,094 PointsE.g. check out the twitter stats linked in this SO post.
http://stackoverflow.com/questions/373098/whats-the-average-requests-per-second-for-a-production-web-application