I have a mongoDB on Azure cosmos and the performance is horrible. I have below the time for a few requests that my app does on startup and as you can see Mlab is up to 150 times faster! I am using the free sandbox database on Mlab and the D1 shared plan on Azure. Is there something I can do about this?
Mlab
GET / 304 10.854 ms
GET /ticker/advanced%20micro 304 62.278 ms
GET /bardata/ 304 48.285 ms
POST /retrievevote 200 0.558 ms
GET /getwatchlist 404 0.483 ms
----------
Cosmos
GET / 304 12.792 ms
GET /ticker/advanced%20micro 304 4153.169 ms
GET /bardata/ 304 63.362 ms
POST /retrievevote 200 84.527 ms
GET /getwatchlist 404 1.484 ms