困惑于如何使用CouchDB的在Android如何使用、困惑、Android、CouchDB

由网友(山海亦可平)分享简介:我想运行的CouchDB作为后端为我的移动应用程序,更换sqlite的。I want to get CouchDB running as the backend for my mobile app, replacing SQlite.我一直令人难以置信的困惑,一个初来乍到这项技术的原因,除了对所有通过Couchba...

我想运行的CouchDB作为后端为我的移动应用程序,更换sqlite的。

I want to get CouchDB running as the backend for my mobile app, replacing SQlite.

我一直令人难以置信的困惑,一个初来乍到这项技术的原因,除了对所有通过Couchbase去年发布(Couchbase,Couchbase单服务器,Membase的,Couchbase移动)发音相似的产品,他们现在似乎下探/组合所有的人都到一个单一的项目,Couchbase Server中。但是,这实际上是Membase的,不CouchDB的。要顶到了,CouchDB的创造者不再将要工作的CouchDB的。然而,似乎有周围CouchDB的一个非常活跃的社区。这是我知道的:

I have been incredibly confused as a newcomer to this technology because, in addition to all of similar sounding products released by Couchbase last year(Couchbase, Couchbase Single Server, Membase, Couchbase Mobile), they now seem to be dropping/combining all of them into a single project, Couchbase Server. But, that is actually Membase, not CouchDB. To top that off, the creator of CouchDB is no longer going to be working on CouchDB. Yet, there seems to be a very active community around CouchDB. Here is what I know:

据我所知,Couchbase的公司,不再提供CouchDB中的分布。

I understand that Couchbase, the company, no longer provides a distribution of CouchDB.

据我所知,Couchbase Server中,Couchbase公司的新焦点,是真的不CouchDB的所有,这是不使用CouchDB兼容。它不执行该CouchDB使用的HTTP API,它使用的是二进制协议,从Membase的发展。

I understand that Couchbase Server, the new focus of the Couchbase company, is really not CouchDB at all and it is not compatible with CouchDB. It does not implement the HTTP api that CouchDB uses, it's using a binary protocol that evolved from Membase.

所有对CouchDB的移动新的信息似乎指向Couchbase移动。

All of the recent information on CouchDB Mobile seems to point to Couchbase Mobile.

我的问题归结为:

时仍然可以使用CouchDB的在Android设备上?具体CouchDB的,没有Couchbase Server中,因为这些API是不兼容的。

Is it still possible to use CouchDB on an Android device? Specifically CouchDB, not Couchbase Server, because the APIs are not compatible

如果它仍然是可能的,我该怎么办呢?哪里是源头code?任何示例应用程序?

If it is still possible, how do I do it? Where is the source code? Any sample apps?

如果我的问题变得混乱很抱歉。说实话,我有一个很难过的看似矛盾的职位浩大的收藏涉水在线。我只是想在Android上运行的CouchDB! :)

Sorry if my question gets confusing. To be honest, I am having a hard time wading through the vast collection of seemingly contradictory posts online. I just want to run CouchDB on Android! :)

推荐答案

作为Couchbase的联合创始人,我应该能够给你一个更清晰的认识。我相信你的问题又

as a co-founder of Couchbase I should be able to give you a clearer understanding. I'll take your questions in turn.

1)正确。 Couchbase Server是不是CouchDB的。它牺牲了一些巧妙的事情做的CouchDB(HTTP接口,主/主复制),所以它可以做其他巧妙的事情(亚毫秒的延迟,巨大的集群。)从长远长远来看,我们希望取回高性能版本,我们不得不放弃的功能。目前,我们正在建设的最快最可靠的NoSQL数据库(耶),但它不回答相同的用例CouchDB的。

1) Correct. Couchbase Server is not CouchDB. It sacrifices some of the neat things CouchDB does (HTTP interface, master/master replication) so it can do other neat things (sub-millisecond latency, gigantic clusters.) In the long long run, we'd like to get back high-performance versions of the features we had to drop. For now, we are building the fastest most reliable NoSQL database (yay) but it's not answering the same use cases as CouchDB.

2)也许我刚才已经回答了吗?关于Couchbase Server的更多信息是在这里:http://www.couchbase.com/couchbase-server/overview

2) Maybe I just answered that? More info about Couchbase Server is here: http://www.couchbase.com/couchbase-server/overview

3)Couchbase继续投资于移动技术。我们已经很好的测试可用于Android和iOS的实现。这些都是基于Apache CouchDB的,所以也要你正在寻找的功能集。访问这里下载它们:http://www.couchbase.com/wiki/display/couchbase/Couchbase+Mobile+Syncpoint (请参阅网页上的链接为iOS和Android)

3) Couchbase continues to invest in mobile technology. We have well tested implementations available for Android and iOS. These are based on Apache CouchDB, so they will have the feature set you are looking for. Visit here to download them: http://www.couchbase.com/wiki/display/couchbase/Couchbase+Mobile+Syncpoint (see links for iOS and Android on that page)

展望未来,我们将重点放在轻质替代实际运行在设备上的CouchDB基础code。为了让CouchDB中的设备上运行,需要Erlang的虚拟机。同时它重量轻且尊重电池寿命(为VM),它仍然是一个VM。因此,我们正在构建更加轻便同步和存储引擎的移动。 TouchDB为iOS 可以使用Apache CouchDB的同步。我们也有为Android 一个类似的项目。如果我开始一个新项目,我想看看这些。

Going forward, we are focussing on light-weight alternatives to actually running CouchDB-based code on the device. To get CouchDB to run on the device requires the Erlang virtual machine. While it is lightweight and respectful of battery life (for a VM), it is still a VM. So we are building more lightweight sync and storage engines for mobile. TouchDB for iOS can sync with Apache CouchDB. We also have a similar project for Android. If I were starting a new project, I'd take a look at these.

阅读全文

相关推荐

最新文章