Do you only read from the slave or round robin reads between master
and slave? I don't know of such setup used with ErlyDB but it would be
pretty cool to implement it. At code generation time, you could tell
ErlyDB which db pools to use for reading and which for writing and
ErlyDB would make the generated functions use the different pools
depending on their functions.
Yariv