scala - Squeryl - HikariCP - mySql - Distributing Read Traffic to Slaves -


i'm trying follow steps listed @ http://dev.mysql.com/doc/connector-j/en/connector-j-master-slave-replication-connection.html states

to enable functionality, use com.mysql.jdbc.replicationdriver class when configuring application server's connection pool

from https://github.com/brettwooldridge/hikaricp - says

hikaricp attempt resolve driver through drivermanager based solely on jdbcurl

so configuration thats needed?

db.default.url=jdbc:mysql:replication ...

squeryl has has number of db adapters; understanding these unrelated? http://squeryl.org/api/index.html#org.squeryl.adapters.mysqlinnodbadapter

sorry key word loading - i'm not sure need focus

thanks brent

replication allows different url:

jdbc:mysql:replication://[server1],[server2],[server2]/[database]

i've never tried it, assume resolve replicationdriver.


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -