Skip to content

Purpose of mongodb & migration tasks #66

Answered by ludeknovy
kierangirvan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kierangirvan!

The mongodb serves as persistent storage for the actual samples(eg: each line of csv file). Once all data saved it runs the aggregations pipelines to get the statistics from those data. The results of the the aggregations is saved to postgres db.
The migration container is the same as the backed, its purpose is to start - check for unprocessed migrations, if any found it will run them and terminate. So in most cases it will only start and terminate immediately.

I though Amazon DocumentDB is compatible with mongo? Maybe that could be the way?

In case you make it work in AWS, would you mind sharing the tutorial for it? We could add it to the docs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ludeknovy
Comment options

Answer selected by kierangirvan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants