Database

MongoDB development

How does AonHive use MongoDB?

MongoDB development for document models and variable-domain data.

MongoDB fits documents that do not share one rigid table: a payload, a log of events, a record whose fields depend on a type. The fields the product queries are indexed. The fields that must agree with another system are not left as free text.Discuss this stack

How we use it

Flexible, with a shape that still holds.

  1. 01

    Name the identity

    A document has a stable id and the foreign id of the record it belongs to. A query that scans every document to find one trip is a missing index.

  2. 02

    Say what is consistent

    A status the business depends on is validated on write. The rest of the document can vary. Both rules are written down.

  3. 03

    Keep it out of the money path

    A ledger line that must commit with another table stays in the transactional store. A document store is not that commit.

MongoDB

Bring the system this has to fit.

Tell us the product, the estate you already run, and what your team needs to own. We will say whether this belongs in the stack.