Skip to content

MongoDB is dead. Long live Postgresql :) #614

@realmyst

Description

@realmyst

Hi!
Our company use Errbit very active, Errbit connect to more than one hundred projects that generate tens of thousands of errors per day.
And it would be great, except for one "but" - mongodb. 98 % of the problems that arise with errbit are problems with the database. Its volume on disk is growing 3-4 times faster than the real volume of data it store; it eats up all the memory without the possibility to limit this; it begins to slow down the application because of frequent disk access. Errbit works as long as it fits in memory. We don’t want to set a server with more than 100Gb of memory to Errbit.

As a result, the decision was made - to migrate Errbit on posgtresql. We did it in the beginning of this year. We wrote data’s migrator, added ActiveRecord, removed mongoid. In general, it works and moved into production successfully. Finally we sleep quietly, and don’t fear that mongodb will drive out redis to swap once again.

We suggest to put errbit on PG. For those who want to try - the code here: https://github.com/Undev/errbit/tree/pg-upstream
Work on the postgresql errbit will be continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions