Meteor using Azure MongoDB

后端 未结 1 1225
面向向阳花
面向向阳花 2021-01-21 21:07

Is it possible, and if so how, to use an Azure MongoDB as the backend for my Meteor Application. I have added the connection string from my database into the MONGO_URL variable

相关标签:
1条回答
  • 2021-01-21 21:43

    In your example, you're actually using DocumentDB with MongoDB compatibility. You're not using native MongoDB (nor is this native MongoDB as-a-service).

    DocumentDB (even with MongoDB compat) does not provide an oplog. And since Meteor has a dependency on reading the oplog, you wouldn't be able to point Meteor at DocumentDB.

    In your case, you'd need to either run native MongoDB on your own (e.g. in VMs) or take advantage of a 3rd-party MongoDB hosting solution which provides MongoDB support within the same region as your app. (ok, yes, you can run your app in a different region, but you'd see latency along with data egress charges).

    0 讨论(0)
提交回复
热议问题