Continuing the discussion from
Couchbase in embedded devices environment:
The description you provide below is not so much for Couchbase Server directly, but definitely suitable for Couchbase Lite with Sync Gateway to Couchbase Server. Couchbase Lite has been written from the ground up to be very efficient about resources and its model fits the occasionally connected approach you describe.
You may want to look at the
Couchbase Mobile developer site or the recorded version of the introduction webinar to get bootstrapped a bit more.
I would like to check the feasibility of using Couchbase in a highly distributed, embedded devices environment.
Suppose you have up to 2000 devices that come up and down on relatively long time line (days or weeks).
They need to share relatively small amount of data - at the level of may be 100MB for the entire cluster.
Each device only needs to update or fetch a document once in a few seconds.
Couchbase seems to support cluster changes pretty well, no need for master designation to any of the devices etc.
However, embedded devices are very tight on resources - a few tens of megabytes of DRAM, a few hundred of Mhz of CPU cycles.
Would Couchbase be able to operate in such a restrictive environment?
Would it be able to cope with 2000 nodes in the cluster, without constant chattiness between the nodes, claiming valuable CPU cycles for this purpose?
What would be the memory overhead i.e. how much would Couchbase claim on each node of such a cluster before the first document is actually inserted?
Thanks, just went through both links.
A few questions:
Can I use Lite on Linux without Java? I would like to use NodeJS as my client and have no problem to run a standalone daemon.
Can Lite clients access shared data in a peer-to-peer mode like the Server? It seems that Lite is mostly supposed to sync with the Server and peer-to-peer clustering capabilities are very limited.
If you were to stick to using of Couchbase Server in the embedded environment that I had initially described, what would be your standpoint of Couchbase Server capabilities and shortcomings?
Thanks Jens. What would be your viewpoint on
I’m not an expert on Couchbase Server (I work on mobile) but I highly doubt it could run in such a restricted environment. That’s at least an order of magnitude less resources (RAM, MHz) than I’ve ever heard of it being run with.
I can confirm Couchbase Lite for .NET also runs on non-Android Linux OS’s via Mono. People are already using it on Raspian (on the Raspberry PI).