Introducing Janus a read/write proxy for ActiveRecord 7.1+
Briefly

Janus is designed to send read queries to a replica and write queries to the primary database server, automatically directing queries based on recent write actions in the same thread.
Janus operates in the background, requiring minimal developer intervention after deployment, with the potential for direct routing to the primary server unless explicitly stated otherwise.
Read at Rubyflow
[
add
]
[
|
|
]