Soldato
Hoping some one has some thoughts on this little issue we have at work.
We have a mongodb that stores state information for our app in live.
When we promote staging to live we need to do a sync between live to staging of this database to make sure the most up-to-date state is synced before we do a promotion of staging to live.
Currently it runs as a python script and can take up to 8hrs for the sync to complete.
This is in an AWS EC2 env.
Has anyone got any thoughts how we can leverage the AWS cloud to make this faster?
I get it might be difficult to suggest based on this limited info but any ideas are welcome.
Randomly I was watching this:
Not sure it's a good fit for what we are trying to achieve.
I've suggested an EFS share between the two dbs. But the concern is performance and cost.
Taking a snapshot of the ec2 or of the db might not work either due to size.
But I imagine these ideas haven't been fully explored yet.
I couldn't tell you the size of the db but I imagine it is large hence why it takes 8hrs to sync
We have a mongodb that stores state information for our app in live.
When we promote staging to live we need to do a sync between live to staging of this database to make sure the most up-to-date state is synced before we do a promotion of staging to live.
Currently it runs as a python script and can take up to 8hrs for the sync to complete.
This is in an AWS EC2 env.
Has anyone got any thoughts how we can leverage the AWS cloud to make this faster?
I get it might be difficult to suggest based on this limited info but any ideas are welcome.
Randomly I was watching this:
Not sure it's a good fit for what we are trying to achieve.
I've suggested an EFS share between the two dbs. But the concern is performance and cost.
Taking a snapshot of the ec2 or of the db might not work either due to size.
But I imagine these ideas haven't been fully explored yet.
I couldn't tell you the size of the db but I imagine it is large hence why it takes 8hrs to sync