简体   繁体   English

从Cloudant到CouchDB

[英]Cloudant to CouchDB

We are developing an application which uses Cloudant as database, which is a variant of Couchdb. 我们正在开发一个使用Cloudant作为数据库的应用程序,它是Couchdb的一种变体。 Cloudant started to become a bit expensive for us also not reliable because of the last issues. 由于最后的问题,Cloudant开始变得对我们来说有点贵,而且也不可靠。 We have lost our connection to DBs for one day. 我们已经失去与数据库的连接一天了。 So we decided to build our own Couchdb server. 因此,我们决定构建自己的Couchdb服务器。

There are actually two alternatives for us CouchDB 1.6 and 2.0 Developer Preview. 对于我们CouchDB 1.6和2.0 Developer Preview,实际上有两种选择。 Second one provides every feature we need, if we compile it Full Text Search enabled. 第二部分提供了我们需要的所有功能(如果我们对其进行了编译,则启用了全文搜索)。 The first one has no Mango Query, no Dreyfus and Closeau. 第一个没有Mango Query,没有Dreyfus和Closeau。 We can only install couchdb-lucene to enable full text search, but we are actually using Mango, Dreyfus and Closeau intensively in our application. 我们只能安装ouchdb-lucene来启用全文搜索,但是实际上我们在应用程序中大量使用了Mango,Dreyfus和Closeau。

The problem is that 2.0 is a developer preview version. 问题在于2.0是开发人员预览版。 I am not sure if it is OK to use it on production environment or not. 我不确定是否可以在生产环境中使用它。 I am searching for alternatives without making too many changes on our application code, for example: is it possible to compile 1.6 with Mango, Dreyfus and Closeau? 我正在寻找替代方案而未对我们的应用程序代码进行太多更改,例如:是否可以使用Mango,Dreyfus和Closeau编译1.6?

No it's not possible to compile Couchdb 1.6 with Mango, Dreyfus and Closeau because of changes made in the code base to support them. 不行,由于在支持它们的代码库中进行了更改,因此无法使用Mango,Dreyfus和Closeau编译Couchdb 1.6。 You're probably better off sticking with cloudant until CouchDB 2.0 is released rather than attempting to run it in production. 在发布CouchDB 2.0之前,最好还是坚持使用cloudant,而不是尝试在生产环境中运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM