couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Clack <ericcl...@googlemail.com>
Subject Re: CouchDB running on the Raspberry Pi?
Date Mon, 05 Feb 2018 18:18:10 GMT
Hi all,
A progress update: I've tried the Erlang version from the Debian Stretch
repo and then installing CouchDB from source and all seems to work well, so
perhaps there is a problem with the Erlang package from Erlang Solutions
repository?

-Eric.

On 24 January 2018 at 01:47, Russell Branca <chewbranca@apache.org> wrote:

> Fwiw I got CouchDB 2.x running on a Raspian Raspberry Pi 3.b recently
> without much fuss. Pretty sure I compiled Erlang from source.
>
>
> -Russell
>
> On Fri, Jan 19, 2018 at 4:12 AM Eric Clack <ericclack@googlemail.com>
> wrote:
>
> > Hi Michael, Ben and Johs,
> > Thanks for your responses.
> >
> > I've found for my (admittedly small) projects Couch works pretty well on
> > the Pi (version 2). It's a great solution to the problem of where to
> store
> > metadata, and how to query it easily. The only performance problem I saw
> > was when reducing and grouping queries, e.g. here I used a memo to cache
> > results:
> >
> > https://github.com/ericclack/clojure-photo-bank/blob/
> master/src/clj/clojure_photo_bank/models/db.clj#L45
> > ...running the query took about 5 seconds for around 4000 records. That's
> > not great, but for everything else Couch was easily fast enough.
> >
> > I'm going to explore Erlang packages for Raspbian and then look at
> > compiling a few different versions of CouchDB to see if I can at least
> get
> > some good bug reports to the right team.
> >
> > Many thanks,
> > -Eric.
> >
> >
> >
> > On 19 January 2018 at 08:11, Johs Ensby <johs@b2w.com> wrote:
> >
> > > Hi Eric,
> > >
> > > I think it would be great if you found a way to run couch on Raspberry
> > Pi,
> > > preferably Ubuntu Mate.
> > > Performance will surely not be great, but more important I would think
> it
> > > could be a great demonstration of how CouchDB could be a common
> platform
> > > from big clusters in the cloud to your very private system.
> > >
> > > johs:)
> > >
> > >
> > > > On 16 Jan 2018, at 23:28, benjamin.bastian@gmail.com wrote:
> > > >
> > > > I did this back quite a few years ago, and from what I remember IO
> > > > performance was pretty dreadful on an SD card. I'm not sure what the
> > > status
> > > > of COUCHDB-3287 is, but maybe a different storage engine would offer
> > > better
> > > > performance?
> > > >
> > > > Ben
> > > >
> > > > On Tue, Jan 16, 2018 at 2:08 PM, Michael Fair <
> michael@daclubhouse.net
> > >
> > > > wrote:
> > > >
> > > >> This is similar to running Couch on mobile phones.
> > > >> Perhaps an alternative is starting with another "Couch Compatible"
> > > database
> > > >> that's lighter weight?
> > > >>
> > > >> Perhaps PouchDB running on Node.js comes to mind.
> > > >> This implements the replication/sync protocol between Couch
> compatible
> > > >> databases, without being an erlang based, sharded, distributed
> > backend.
> > > >>
> > > >>
> > > >>
> > > >> On Tue, Jan 16, 2018 at 2:44 AM, Eric Clack <
> ericclack@googlemail.com
> > >
> > > >> wrote:
> > > >>
> > > >>> Hello CouchDB devs,
> > > >>>
> > > >>> Is there any interest in getting CouchDB running on the Raspberry
> Pi
> > > (an
> > > >>> AMD platform), running Raspbian Stretch?
> > > >>>
> > > >>> See my post here:
> > > >>> https://github.com/apache/couchdb/issues/1103
> > > >>>
> > > >>> As I said in the post, I have time to contribute to the work and
am
> > > >>> interested in learning more about CouchDB, Erlang, etc.
> > > >>>
> > > >>> Right now it would be useful for me to gauge interest as I need
to
> > know
> > > >>> whether I should investigate alternative databases for my Pi
> > projects.
> > > >>>
> > > >>> Many thanks,
> > > >>> -Eric.
> > > >>>
> > > >>> --
> > > >>> Eric Clack
> > > >>> eric@bn7.net
> > > >>> East Sussex, England.
> > > >>>
> > > >>
> > >
> > >
> >
> >
> > --
> > Eric Clack
> > eric@bn7.net
> > East Sussex, England.
> >
>



-- 
Eric Clack
eric@bn7.net
East Sussex, England.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message