Skip to content

Mongo DB

Mike Cohen edited this page Apr 18, 2023 · 2 revisions

Background

The purpose of the Bridge API is to collect information from the Stacks and Bitcoin blockchain sources, aggregate it into a single data source and make it available to the sBTC Bridge Client application.

Why Mongo DB

Mongo is a no sql lightweight, document oriented database, that is great for aggregating this type of stateless data.

Mongo DB in the Bridge

PR 21 moves the dependency on Mongo DB to a cloud based Mongo service.

Reasons for making this change are to support;

  • high availability
  • scalability
  • redundancy

of the database related services. Mongo cloud also provides better visualisation, analytics and management of the database layer.

Clone this wiki locally