3 ms·
Not mysql, but we've tested and recommend the Ruby pg driver and the ActiveRecord ORM[1] (CockroachDB supports the PostgreSQL wire protocol). It should be 'plug
by irfansharif 9y ago
Not mysql, but we've tested and recommend the Ruby pg driver and the ActiveRecord ORM[1] (CockroachDB supports the PostgreSQL wire protocol). It should be 'plug and play' insofar as you simply point to any node in the running cluster when setting up ActiveRecord::Base.establish_connection.
As for our backup story, our doc page[2] on the subject should shed more details.
[1]: https://www.cockroachlabs.com/docs/build-a-ruby-app-with-cockroachdb-activerecord.html https://www.cockroachlabs.com/docs/build-a-ruby-app-with-coc...
[2]: https://www.cockroachlabs.com/docs/backup.html https://www.cockroachlabs.com/docs/backup.html