NRCan / energuide_api

An API for Natural Resources Canada's Energuide data.
MIT License
8 stars 4 forks source link

Port datastore from AWS to Azure (and investigate Cosmosdb for compatibility/tests) #424

Open obrien-j opened 6 years ago

obrien-j commented 6 years ago

Our existing instance of Mongodb Cloud was originally deployed to an AWS-montreal instead of Azure.

Options (in order of preference and ease of procurement and things)

1: Deploy to Azure local datacentre, into Cosmosdb with the mongo api. 2: Redeploy via mongodb atlas to azure local, update db connection strings, and re-run tests

obrien-j commented 6 years ago

Ported ~1.2 million dwelling records into Cosmosdb via mongo api. Took approximately 3 hours with a 100bulk insertions/second.

Will focus on end-to-end testing to confirm feature parity between mongo and cosmosdb.