Is there a ruby gem or such for MySQL connection pooling that isn’t part of rails? I simply have a ruby script (again, I don’t do anything with rails).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Seamless Database Pool is supposed to work “with any ActiveRecord application”, and ActiveRecord is easy to use without Rails. I’ve used ActiveRecord in a plain Ruby app, and it was just a matter of configuring the logger and the database connection, something like
I haven’t used Seamless Database Pool outside of Rails, but I couldn’t find any connection poolers aimed at plain Ruby apps after a quick search so it might be your best bet.