Left fold reduction / pluggable view reduction

2016-11-09 Thread Jens Rantil
Hi, I've been eyeing[1][2] CouchDB as a viable event store for event sourcing[3] for a while. In many cases it's a very good fit and being to replicate view projections would be awesome. My main concern is that CouchDB view reduce operations aren't linear. That is, they aren't strictly a left fol

Re: Does anything in CouchDB API tell us free space on disk?

2014-02-03 Thread Jens Rantil
Hi, See also discussion on https://github.com/apache/couchdb/pull/124. Jens — Sent from Mailbox for iPhone On Mon, Feb 3, 2014 at 6:23 PM, R.J. Steinert wrote: > HI all, > I see that we can get disk stats on databases but my CouchApp is interested > in putting those stats in context of ava

Re: Force caching CouchDb responses

2014-01-22 Thread Jens Rantil
Hi, Would you care to share with us which caching reverse proxy you are using? If you are using nginx you could probably use http://wiki.nginx.org/HttpProxyModule#proxy_cache. That said, as long as your reverse proxy support "Etag"s you should be fine, since that's what CouchDB supports. Cheers,

Re: Data usage and compaction status

2013-12-27 Thread Jens Rantil
Gah, I should have seen that one. Thanks! I've submitted a pull request to add `data_size` to the documentation here: https://github.com/apache/couchdb/pull/123 /J On Fri, Dec 27, 2013 at 10:11 PM, Alexander Shorin wrote: > On Sat, Dec 28, 2013 at 1:01 AM, Jens Rantil > wrote

Data usage and compaction status

2013-12-27 Thread Jens Rantil
Hi, When I look at `/mydb`[1] I am given a lot of statistics. Among them is `data_size`. However, when I look in the documentation[1] I can't find it. Is it missing or has it been removed? What value does it show? I am running CouchDB 1.5.0. Two related questions: 1. The `disk_size` measureme

Ordered view reduce

2013-12-20 Thread Jens Rantil
Hi, I've been playing around with CouchDB for event sourcing[1] (terminology from DDD and CQRS). Basically I have a series of ordered events persisted to Couch and I've been creating simple projections basic these. The ID of a new event will be strictly greater that all previous events for its agg

Re: CouchDB sharding orchestration

2013-12-02 Thread Jens Rantil
Woops, link to the repo: https://github.com/JensRantil/cushions Cheers, Jens On Tue, Dec 3, 2013 at 12:47 AM, Jens Rantil wrote: > Hi Vivek, > > I was considering using the Go programming language; It is easy to deploy, > highly concurrent, fairly easy to learn, has great support

Re: CouchDB sharding orchestration

2013-12-02 Thread Jens Rantil
cally ignore all >> documents in the wrong shard. This will give you a stale view - but that is >> exactly what you get if you use stale=ok etc in single db case as well. >> >> Thanks >> Vivek >> >> >> >> On 11/28/2013 06:28 PM, Jens Ranti

Re: CouchDB sharding orchestration

2013-11-29 Thread Jens Rantil
=ok etc in single db case as well. > > Thanks > Vivek > > > >> On 11/28/2013 06:28 PM, Jens Rantil wrote: >> Hey couchers, >> >> For the past week, I've been playing with the thought of implementing a >> sharding orchestrator for CouchDB instanc

Re: Filtered replication documentation

2013-11-29 Thread Jens Rantil
us it looks really nice visually All in all > job well done > On Nov 28, 2013 7:01 PM, "Alexander Shorin" wrote: >> >> Don't worry, it's just missed (like any usage examples). Thanks for >> reporting, will fix it asap! >> -- >> ,,,^..^,,, >

Filtered replication documentation

2013-11-28 Thread Jens Rantil
Hi again, The documentation hereclaims that there is a "filter" parameter that can be supplied to activate filtered replication from one database to another. I can't seem to find it in the official replication documentation

CouchDB sharding orchestration

2013-11-28 Thread Jens Rantil
Hey couchers, For the past week, I've been playing with the thought of implementing a sharding orchestrator for CouchDB instances. My use case is that I have a lot of data/documents that can't be stored on a single machine and I'd like to be able to query the data with fairly low latencies. Oh, th

Re: BigCouch

2013-11-21 Thread Jens Rantil
etup honestly. And if you > don't actually need your own instance running on your own nodes just use > cloudant which makes the deployment steps go away :). > > > > Dan. > > On Nov 21, 2013, at 10:24 AM, Jens Rantil wrote: > > > >> Hi, > >> >

BigCouch

2013-11-21 Thread Jens Rantil
Hi, I think I have a use case that would fit BigCouch quite well. This brings me to three questions: - When is the BigCouch merge expected to be released? Maybe I should focus on getting that one working if it's near in time. - If I choose to go with the original BigCouch, will it be eas

Re: crawl webpages into couchdb

2013-10-11 Thread Jens Rantil
They seem to not be. There's been a couple of double posts lately... Den onsdagen den 9:e oktober 2013 skrev Mark Deibert: > @Stanley: Ambiguous? Definitely some :-) How are these mailing lists > moderated? Or are they not? > > > On Wed, Oct 9, 2013 at 2:57 PM, Stanley Iriele > > > wrote: > > >

Re: crawl webpages into couchdb

2013-10-09 Thread Jens Rantil
Hi Affi, Your question is very unspecific. We have no idea what kind of information you are going to crawl from websites and you need to decide that for yourself (or find a forum that's more specific to crawling). If you tell us what information you have, and how you would like to query it we migh

Re: Performance - Initiating over 100 simultaneous replications.

2013-10-05 Thread Jens Rantil
Ramkrishna, Just curious, what did you set the limits to for this to work? Cheers, Jens On Fri, Oct 4, 2013 at 2:42 PM, Ramkrishna Kulkarni < ramkrishna.kulka...@gmail.com> wrote: > That worked! I can now see thousands of connections. Thanks a lot. > > > On Fri, Oct 4, 2013 at 4:01 PM, Robert

Re: my database on iris couch.com

2013-09-21 Thread Jens Rantil
Hi Ashram, You have pretty much already asked this question 6 days ago: https://mail-archives.apache.org/mod_mbox/couchdb-user/201309.mbox/%3C1379234393.4675.YahooMailNeo%40web121001.mail.ne1.yahoo.com%3E Please revisit that thread as it points to many useful links. Jens On Saturday, September 2

difficult issue

2013-09-15 Thread Jens Rantil
Rana and future readers, This was thread was double posted, which makes it hard for future mailing list readers to follow the thread. See https://mail-archives.apache.org/mod_mbox/couchdb-user/201309.mbox/browserfor the real conversation. Cheers, Jens On Sunday, September 15, 2013, Rana Bunnni w

Re: Authentication

2013-09-15 Thread Jens Rantil
Hi Ashraf, I've found this article some time ago: http://blog.mattwoodward.com/2012/03/definitive-guide-to-couchdb.html Seem to be pretty good and vocer a wide array of topics. Also, you could maybe have a look at the following: https://wiki.apache.org/couchdb/Security_Features_Overview http://gu

Re: Changes API - purged?

2013-08-23 Thread Jens Rantil
es to your target > system, you will end up in the correct state. > > B. > > > On 22 August 2013 10:26, Jens Rantil > > wrote: > > Hi, > > > > I have a use case where I'd like to build up an external state by > following > > the changes of a databa

Changes API - purged?

2013-08-22 Thread Jens Rantil
Hi, I have a use case where I'd like to build up an external state by following the changes of a database. Obviously, the /db/_changes will be a great source to start for this. My question is, can I always be sure that simply following /db/_changes from seqnum=0 will bring me to a consistent state

Re: Off-topic: Digest for this mailing list

2011-05-25 Thread Jens Rantil
e inconvenience, Jens On Thu, May 26, 2011 at 12:30 AM, Jens Rantil wrote: > Hi, > > I know this is a bit off-topic, but does anyone know if it's possible to > get a daily digest of this, and/or the dev, mailing list instead of the > inidividual mails? That would be great. > > Thanks, > Jens >

Off-topic: Digest for this mailing list

2011-05-25 Thread Jens Rantil
Hi, I know this is a bit off-topic, but does anyone know if it's possible to get a daily digest of this, and/or the dev, mailing list instead of the inidividual mails? That would be great. Thanks, Jens

Re: Debian package

2011-04-26 Thread Jens Rantil
; > On 22 Apr 2011, at 01:16, Jens Rantil wrote: > > > > included in Debian stable. Or, are there alternative ways to create a > Debian > > package for later versions of CouchDB? Or is a later package hosted on an > > alternative repository? > > I recentl

Re: Debian package

2011-04-26 Thread Jens Rantil
Hi, > > Installation from source on a Debian-based system is straightforward. I > could do it following the instructions from the couchdb guide: > http://guide.couchdb.org/editions/1/en/source.html > > good luck > > On Fri, Apr 22, 2011 at 2:16 AM, Jens Rantil > wrote: >

Re: How to show the exact IPs/ports that the CouchDB process binds on?

2011-04-24 Thread Jens Rantil
Hi Michael, Using the command "sudo netstat -nlp" you can see which ports and interfaces your listening programs are bound to. CouchDB will show up as the program "beam". Hope this helps, Jens On 25 apr 2011, at 05:19, Michael Heuberger wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA

Debian package

2011-04-21 Thread Jens Rantil
Hi, I am considering deploying CouchDB on a Debian system. I have noticed that the Debian package for CouchDB is rather old [1]. The latest package version contains CouchDB 0.11.0 and currently there is a security patch that is still to be added to the package[2]. My question is really, would you