We are modifying osCommerce, but our architecture involves separate clusters for db reads and db writes.
Has anyone separated these out?
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.
have you guys looked at mysql proxy? you could use it to automatically send reads and writes to the correct server, even for applications you can’t modify.
additionally, you can use the
master_pos_wait()function to keep your reads and writes synchronized. (when you do a write, get the log position from that master, then issue master_pos_wait() to the slave to wait for it to catch up)