Wednesday, September 21, 2022

CockroachDB Multiregion Abstractions for MongoDB Developers With Ferretdb

What started as an experiment turned into a series of articles on FerretDB and CockroachDB. There are a lot of untapped opportunities realized by FerretDB backed by CockroachDB; some of those capabilities are computed columns with secondary indexes, partial indexes, constraints, spatial capabilities, JSONB operators, multi-region abstractions and of course correctness and consistency. Today, we're going to discuss CockroachDB multi-region capabilities and how they can help the MongoDB converts.

High-level Steps

  • Start a 9-node multi-region cluster (CockroachDB Dedicated)
  • Start FerretDB (Docker)
  • Multiregion
    • REGIONAL BY TABLE
    • GLOBAL
    • Follower Reads
    • REGIONAL BY ROW
  • Considerations
  • Conclusion

Step-by-Step Instructions

Start a 9-Node Multi-region Cluster (Cockroachdb Dedicated)

I am going to use the same CockroachDB Dedicated cluster from the previous article. Please refer to the previous article for the detailed steps. You can get a 30-day trial of CockroachDB Dedicated following this link.



from DZone.com Feed https://ift.tt/boUfr7L

No comments:

Post a Comment