One thing that van be happening is that you are hitting the RPC timeout for
the view server. The real question is..why do you have an 11 mb file?.
Would your project make sense it apart into smaller docs?
On Feb 9, 2015 6:41 PM, "Luca Morandini" wrote:
> Dear CouchDB community,
>
> I am trying to
There is probably something off happening when parsing dates between what's
stored on disk in erlang what's sent back. Remember dates are not a thing
in JSON.
My advice would be to NEVER STORE DATES. "New date().getTime()" and just
get the milliseconds...and when you want to use it use new
date()
ocs of
> different types in separate databases - this way you can also deal with
> views and other design docs in a more simplified way.
> HTH.
>
> *With best regards,*
> Kiril
>
> On 2/3/2015 8:18 PM, Stan
Its pretty standard that every document has a type Field on it that let's
you know what kind of type that document is.
Then the map function just needs a "if type == " user" for processing
specifically users
On Feb 1, 2015 3:52 AM, "Ayhan Kesenci" wrote:
> Hello Friends I already know, how to ex
Yes...you can..but you might want to change your view first. Index on
time...that is to say emit the creation date in milliseconds into the
view...then use startkey=now() /endkey =now() - 7 days or something.
On Jan 29, 2015 8:03 AM, "TAE JIN KIM" wrote:
> Are you sure I can use list function for
Hey TAE,
I think you have a misunderstanding about how views work in couchdb in
general. So let me start at a very high level.
When you create an index in SQL what basically happens is the database runs
a CREATE INDEX function and that index data structure is updated, whether
its a b-tree or whate
> Can setting *delayed_commits *to true improve/fix this? Can it affect
> > performance noticeably?
> >
> > Thanks!
> >
> >
> > On Wed, Jan 21, 2015 at 11:43 PM, Stanley Iriele
> > wrote:
> >
> >> Are you calling the view right after?...this
doc.type==="user")
emit(doc.user, null)
}
and when you query it it should look like this:
curl -X GET -g "
http://127.0.0.1:5984/twitterdb/twitterdb/_design/user/_view/user?reduce=false&include_docs=true";
> C:\Users\Sei_Erfolgreich\Desktop\text.txt
I hope this he
design/user/_view/user reduce =
> false> C:\Users\Sei_Erfolgreich\Desktop\text.txt
>
>
> 2015-01-22 3:01 GMT+01:00 Stanley Iriele :
>
> > Huh?...no pass reduce=false as a url query string param...
> > So?reduce=false at the end of the query string
> > On Jan 2
it, now is this message in the csv file
> {"error":"method_not_allowed","reason":"Only GET,POST,HEAD allowed"}
>
>
>
> 2015-01-22 1:52 GMT+01:00 Stanley Iriele :
>
> > I still can't see our output but we can proceed anyway :-D. You
te:
> the only thing that it is in the csv is
>
> {"rows":[ {"key":null,"value":1915} ]}
>
> 2015-01-22 1:22 GMT+01:00 Stanley Iriele :
>
> > Also it looks like your curl -X GET has the GET and the
> > touching so it looks like GET to
Also it looks like your curl -X GET has the GET and the
touching so it looks like GET to me
On Wed, Jan 21, 2015 at 4:21 PM, Stanley Iriele
wrote:
> Hey I can't actually see images on there
>
> On Wed, Jan 21, 2015 at 3:59 PM, Ayhan Kesenci > wrote:
>
>> [image: I
Hey I can't actually see images on there
On Wed, Jan 21, 2015 at 3:59 PM, Ayhan Kesenci
wrote:
> [image: Inline-Bild 1]
>
> [image: Inline-Bild 2]
>
> there are the map function and the command
>
> 2015-01-21 22:55 GMT+01:00 Stanley Iriele :
>
>> hmm?
>>
hmm?
your curl command should have worked just fine...something tells me you're
not typing EXACTLY what you sent...could you type history and paste it here?
Also...could you show us the map and reduce functions as well?
On Wed, Jan 21, 2015 at 1:46 PM, Ayhan Kesenci
wrote:
> So any idea please
Are you calling the view right after?...this is just a thought but they may
not have committed to disk yet at that point
On Jan 21, 2015 5:33 AM, "Boaz Citrin" wrote:
> Hello,
>
> We are having a strange issue using the bulk document API of couchdb 1.2.1;
>
> 1. We have a view on a field say 'dir
That function seems weird... Could you paste the map and reduce functions
again?...why do do you have a reduce function that just returns null?
Instead of a value?.. Why have a reduce function at all?..
Also that if statement doesn't have {} maybe because it's a one liner?...
Meh...you should put
chaining map reduce sounds really excitingbut for your current
solution...list functions would be the way to go
On Sun, Oct 5, 2014 at 10:03 AM, Giovanni P wrote:
> as I always have trouble imagining the results of a some reduce function
> with group_level and stuff alike, I made this app fo
Comparing numbers is much faster and cheaper space wise than strings
On Oct 5, 2014 1:04 AM, "Stanley Iriele" wrote:
> You would need a view... As I described earlier But BE SURE TO store
> the UTC milliseconds on the doc...what...or use the getTime() function to
> em
last time to get your desired output
On Oct 5, 2014 12:33 AM, "Boaz Citrin" wrote:
> how could I solve it if let's say it would be limited to the second?
>
> On Sun, Oct 5, 2014 at 10:07 AM, Stanley Iriele
> wrote:
>
> > Or can it be down to saythe hour
77Z",
> ...
> }
> {
> "group" : "b",
> "associated" : "2014-10-04T21:58:59.377Z",
> ...
> }
> {
> "group" : "b",
> "associated" : "2014-10-01T21:58:59.377Z",
> ...
> }
>
&g
T21:58:59.377Z",
> ...
> }
> {
> "group" : "b",
> "associated" : "2014-10-01T21:58:59.377Z",
> ...
> }
>
> I want to support a query with from-date = "2014-10-02T21:58:59.377Z"
> to-date= "2014-10-04T22:58:5
23 PM, "Boaz Citrin" wrote:
> I need to get the count of document that were associated to a group between
> two given dates. Thanks!
>
> On Sun, Oct 5, 2014 at 8:13 AM, Stanley Iriele
> wrote:
>
> > Hey what date are you looking to filter to? Day/ month..year?
&g
Hey what date are you looking to filter to? Day/ month..year?
On Oct 4, 2014 10:11 PM, "Boaz Citrin" wrote:
> Thanks Giovanni,
> You say I can get all the groups at the same time,
> but how can I achieve this and also filter by date?
>
> On Sun, Oct 5, 2014 at 4:04 AM, Giovanni P wrote:
>
> > Yo
licted revisions,
> just apply a user's provided function and save whatever comes out of it.
>
> H
>
> From: Stanley Iriele
> Sent: Monday, September 22, 2014 09:08
> To: user@couchdb.apache.org
> Subject: Re: Union functions
&g
Hey...thanks for your response. Somewhere in the mix I mentioned vector
clocks being returned as well. You shouldn't need the ancestor doc...just
what it holds as a collision. Your function should be able to given 2 docs
and a vector clocks be able to resolve the conflict.
This can take many angle
e the others or something
On Sep 17, 2014 10:42 PM, "Stanley Iriele" wrote:
> Ora conflict is only saved as a conflict of this function returns
> null.. Saying " idk how to resolve this so leave it as a conflict "
> On Sep 17, 2014 10:39 PM, "Stanley Iriele
Ora conflict is only saved as a conflict of this function returns
null.. Saying " idk how to resolve this so leave it as a conflict "
On Sep 17, 2014 10:39 PM, "Stanley Iriele" wrote:
> Hey,
>
> This idea I'd still in the rough so bear with me a little
Hey,
This idea I'd still in the rough so bear with me a little. Couchdb is an ap
system... And stores the result of both docs during a conflict. We have
update functions as a way to do incremental updates. And show functions to
do a transform on a doc before sending it. Can we have union function
22 PM, Yves S. Garret <
> yoursurrogate...@gmail.com>
> > wrote:
> >
> >> He's going to be in for quite a surprise when he's back from vacation
> :) .
> >>
> >>
> >> On Sun, Sep 14, 2014 at 3:19 PM, Stanley Iriele
> >> wro
Judging from the email response storm... I'd say he's out of the office
On Sep 14, 2014 12:16 PM, "Andrey Cherkashin" wrote:
> On a vacation, he is out of office.
> --
> Andrey Cherkashin
> Sent with Airmail
>
> On September 14, 2014 at 12:15:18 PM, Mark Hahn (m...@hahnca.com) wrote:
>
> I wonder
seems like its a auto-response...I have no idea why it wold repeat every
minute or something but this is flooding my mailbox. Can the admin or this
email list do something about this??
On Sat, Sep 13, 2014 at 8:28 PM, wrote:
>
> I am out of the office from Monday, September 15th through Friday,
This...email Really needs to stop being sent
On Sep 13, 2014 8:08 PM, wrote:
>
> I am out of the office from Monday, September 15th through Friday,
> September 19th, returning Monday, September 22nd.
>
>
>
> In my absence, please contact:
>
>
> Support
>
> (312) 895-4981 ext 2
>
> supp...@tec
Hey,
Just out of curiosity are you using views or just reading via the doc ID
with http gets?
On Aug 6, 2014 6:16 AM, "Jason Woods" wrote:
>
> On 6 Aug 2014, at 13.56, Robert Newson wrote:
>
> > Yes, the entire Erlang process should crash if it hits this kind of
> error. No more than that, thou
Have you given this a good read?
http://docs.couchdb.org/en/latest/query-server/erlang.html
On Jul 27, 2014 9:58 AM, "Sanjaya Amarasinghe" wrote:
> Hi All,
>
> I am totally new to Erlang but managed to convert some JS views to Erlang.
> I was struggling writing a list function in the past few d
Interestingdoes the native view server have the same relationship with
couchdb? And by that I mean is there a pool of processes that read db files
from disk or is its relationship completely different?.
Also...can..and should the number of spun up processes be configurable?
By the way many th
e that feed. And it doesn’t
> “calculate” docs; it just returns existing doc IDs and revision IDs.
>
> If that’s not what you were actually asking, you’ll need to rephrase your
> question more clearly.
>
> —Jens
>
> On Jul 13, 2014, at 8:49 PM, Stanley Iriele wrote:
>
> > any
any thoughts on this?...Its not a blocker..I'd just really like to know
On Thu, Jul 10, 2014 at 3:44 PM, Stanley Iriele
wrote:
> When a doc needs to be calculated for a particular set of entries from the
> changes feed...are docs sent one at a time or in batches?... And is there
When a doc needs to be calculated for a particular set of entries from the
changes feed...are docs sent one at a time or in batches?... And is there
just one view server doing all of the computation.
Lastly...is there a way to configure or control any of the settings that
would dictate the above?.
I think the real question is why are you dealing with a document that is
1gb in the first place? Basically what's happening is couchdb has to
load all of that doc into memory to use it in a map function and there is a
default timeout of like 5 seconds or something. Is there anyway you can
break
You don't need to keep re-sending your credentials...also..the header is
set to HttpOnly so you cannot access it from javascript land
try this or just remove your credentials:
$.ajax({
type: "GET",
url: "/_session",
contentType: "application/json",
dataType: "json",
So the default behavior us to wait until it's finished for that sequence
particular request. Can you send the exact query you're making... Are you
passing stale=OK?
On Apr 18, 2014 12:59 PM, "Alex Schenkman" wrote:
> Hi list,
>
> According to what I see in the logs and the results I get, the foll
I've personally used the vhosts +rewrites to solve a similar problem but I
used an internal show function in the ddoc as my web navigation...lastly
all of my attachments/ web pages were in 1 ddoc. And unsafe- rewrites were
enabled... A little proxy for really crazy requests and you're pretty much
g
In an odd way this relates back to the BigCouch vs couchbase server
discussion the other week in that it clears up the confusion that arises
due to similar names and what not.
On Apr 9, 2014 9:48 AM, "Jens Alfke" wrote:
>
> On Apr 9, 2014, at 3:48 AM, Alexander Shorin wrote:
>
> > Hm..Naming bec
Hey could you be a bit more specific about your problems? What is the
performance problem? What is your set up? What version of CouchDB are you
using?
This would be the place to fins all of things you mentioned BTW
On Apr 4, 2014 11:19 AM, "Diogo Júnior" wrote:
> Hi,
>
> I've been using couchdb
t defaults to true under HTTP 1.1, so it should be enabled in the OP's
> > example.
> >
> > Nick
> >
> >
> > On 4 April 2014 10:24, Stanley Iriele wrote:
> >
> >> On Fri, Apr 4, 2014 at 1:28 AM, Benoit Chesneau
> >> wrote:
> >>
>
On Fri, Apr 4, 2014 at 1:28 AM, Benoit Chesneau wrote:
> On Fri, Apr 4, 2014 at 10:25 AM, Will Holley wrote:
>
> > .NET should set keep-alive by default.
> >
>
I have a hard time believing that because its the library you're using not
NET itself that decides that. Also If the test is truly bein
e.GetResponseStream()))
> {
> var result = streamReader.ReadToEnd();
> }
> }
>
> -Original Message-
> From: Stanley Iriele [mailto:siriele...@gmail.com]
> Sent: April-03-14 11:04 PM
> To: user@couchdb.apache.org
> Subject: RE: B
econds ...pretend there's nothing else
> you could convince them of until you show them that 10k writes in CouchDB
> can happen as fast..
>
> ArangoDB is extremely fast, as I expected (waitforsync=false)... I thought
> CouchDB would have been just as fast.
>
> -Origin
Are you tearing down the connection and reestablishing it every time? Or
have you played with the TCP_no_delay settings?... Could you define slow
and maybe post your function minus credentials?
On Apr 3, 2014 7:41 PM, "Knudsen, Ken" <
ken.knud...@imaginecommunications.com> wrote:
> to a CouchD
2014 10:00 AM, "Robert Samuel Newson" wrote:
>
> There'll definitely be official documentation on the clustering part of
> couchdb.
>
> On 27 Mar 2014, at 16:50, Stanley Iriele wrote:
>
> > Thanks Jens... I knew that the key value storage from me
409's. The replicas themselves run
> CouchDB
> > replication (though an optimized, non-http version) whenever they are
> > updated, and this ensures all branches of all documents reach every
> replica.
> >
> > Did I miss a question?
> >
> > Some usef
gt;
> Some useful links;
>
> https://cloudant.com/blog/dynamo-and-couchdb-clusters/
>
> https://cloudant.com/blog/bigcouch-0-3/
>
> https://cloudant.com/blog/bigcouch-zero-point-four/
>
>
> On 27 Mar 2014, at 06:00, Stanley Iriele wrote:
>
> > This is again extr
ht?
Also.. Does bigcouch return stale data... Ever?... Like the example I
described above?... This mail thread really needs to be in a doc somewhere
BTW.. Again many thanks
On Mar 26, 2014 10:45 PM, "Benoit Chesneau" wrote:
> On Thursday, March 27, 2014, Stanley Iriele wrote:
&g
ly helpful
for all parties involved..
On Mar 26, 2014 2:58 PM, "Stanley Iriele" wrote:
> Thanks again Jens for the reply... Couchbase has documentation on
> this...and gobs of marketing... But bigcouch does not...
>
> In bigcouch...all nodes can handle every request... But let
>
> On Mar 26, 2014, at 9:31 AM, Stanley Iriele wrote:
>
> > Why would you say that couchbase scales better?...
>
> That's getting way off-topic for this list, but http://couchbase.com has
> a bunch of marketing materials and white papers and such, and we have sales
t; On Mar 26, 2014, at 12:43 AM, Stanley Iriele wrote:
>
> > How does bigcouch handle multiple simultaneous writes ? Is it first to
> > write? How is couchbase different?...
>
> In Couchbase Server the key-space is partitioned among the nodes in the
> cluster, so each key is
Apologies for the title.. It should be bigcouch vs couchbase
On Mar 26, 2014 12:43 AM, "Stanley Iriele" wrote:
> I'm trying to find a document comparing the two... Especially from a CAP
> theorem / distributed write perspective.
>
> How does bigcouch handle multiple
I'm trying to find a document comparing the two... Especially from a CAP
theorem / distributed write perspective.
How does bigcouch handle multiple simultaneous writes ? Is it first to
write? How is couchbase different?...
There is no clear comparison between documentation the on these aspect
What is the difference between filtered changes feed and sync gateway?. Are
they that comparable?
On Mar 25, 2014 11:27 AM, "Jens Alfke" wrote:
>
> On Mar 25, 2014, at 12:41 AM, Suraj Kumar wrote:
>
> > If there are a million "*.couch" files under var/lib/couchdb/, I'd
> expect the
> > performan
ething
On Mar 5, 2014 7:53 AM, "Marcello Barnaba" wrote:
>
> On Mar 05, 2014, at 07:27, Stanley Iriele wrote:
>
> > I want to store a document for a particular game... Version...and
> > key...where key could be any string. I want there to be a key collision
> o
I want to store a document for a particular game... Version...and
key...where key could be any string. I want there to be a key collision on
insert
I don't want to make up some delimeter because that wouldn't go so well
On a scale of 1 to 10 how bad of an idea is this?
Cocudb is a very flexible database so it really depends on what you're
trying to do with italso what language is your project in?
On Mar 4, 2014 9:43 AM, "Ramanadham, Radhika"
wrote:
> Hi,
>
> I am trying to see if couchDB is a good fit for my project. For the most
> part, looks like it is. I
ts" wrote:
> On 02/25/2014 11:25 AM, Stanley Iriele wrote:
>
>> So in clustering couchdb everyone recommends haproxy but I do t want to
>> pay
>> the price for an extra hop. Is there a better solution out there?.. I'm
>> thinking of pulling they keyspace d
What is the couchbase equivalent of the changes feed?...just to be clear I
am using couchdb but I am asking for a friend. I am familiar with the
changes feed enough but it seems like this has been hidden away from the
developer in couchbase. ...how would someone achieve the same behavior from
couch
Use a proxy to say no posts and puts matching that Or...just don't call
it. :-) I exclusively use update handlers to update my docs unless I move
them in bulk
On Feb 27, 2014 2:46 PM, "Alexander Shorin" wrote:
> How you suppose to deal with replication which stores documents
> directly withou
Basically my case is that I may have a doc with hundreds of keys
potentially and was curious about the behavior
On Thu, Feb 27, 2014 at 1:12 AM, Stanley Iriele wrote:
> I'm fairly new to erlang and I am going through the docs couchdb docs
> again and its shows that proplists are the
I'm fairly new to erlang and I am going through the docs couchdb docs again
and its shows that proplists are the way objects documents are stored when
you interact with them in an map function (or whatever other function).
My question is...from what I have read proplists have linear performance
an
So in clustering couchdb everyone recommends haproxy but I do t want to pay
the price for an extra hop. Is there a better solution out there?.. I'm
thinking of pulling they keyspace doc in myself and just have a collection
of http clients connecting to different nodes.
My question is is the extra
cument.
>
> I hesitate to call it a "view" though, since it's the database itself just
> rendered in the same format as views. You could think of it as "primary
> index" vs "secondary index".
>
> B.
>
>
> On 25 Feb 2014, at 06:59, Stan
is the All docs a special view?...it never has to be primed like
traditional views. why is that?...if a use a list function to fold over a
certain number of keys during a period of a lot of writes does this view
stay up to date ? or does it behave like a regular view?
This may not be too helpful to you but I solved this problem with update
handlers and a records database..each update returned an update record
object containing the docid the CTX user old.. All of the old keys and
new...the new changed keys.
I accumulated them in memory in a server than bulk but
Wait...exactly are you trying g to accomplish with the current server time?
Here is my show function:
https://zuhqtr5.couchappy.com/test/show/show.txt
Here is what it does:
https://zuhqtr5.couchappy.com/test/_design/showtimestamp/_show/serverTime
How can I add a custom content header to this show
That's the browser cache... Not the JavaScript call you'll make... Try
making call...logging it to the console.. Then making that call again a
second later... It should work just fine.. You can even get the age from
the show function... With a new date minus created date and just return
that in a f
Maps should not be used for that... Also...why can't show or list functions
be used for that?...
On Jan 8, 2014 10:59 AM, "Hank Knight" wrote:
> I want to get the current timestamp according to the CouchDB server
> using a GET request. When new documents are created, an update
> function is used
Could you do what Jens just mentioned and just make a filter?that way a
seq number plus the filter should get you what you want
On Jan 6, 2014 1:28 PM, "Jens Alfke" wrote:
>
> On Jan 6, 2014, at 12:42 PM, Hank Knight wrote:
>
> > I want the ID of the most recently added document that is NOT
Well..thanks for that I didn't realize that. The solution I was suggesting
would have been places behind a reverse proxy of course
On Jan 2, 2014 1:12 PM, "Jan Lehnardt" wrote:
>
> On 01 Jan 2014, at 23:32 , Stanley Iriele wrote:
>
> > Can't you just use vhost
Correct me if I'm wrong here... If every doc had some meta info with it...
And every URL rewrite went to a show or list function...couldn't you use
the sec object passed on the request object to get what you want?... Or
pass in some application level user credentials... Granted that doesn't
sound v
The 1st thing I see right off the bat is that that is not valid json... The
keys need to be in quotes because they are strings... Second.. They query
arg needs to be a string too... I believe...I haven't used them in a
while...either way that's not valid json.
On Jan 2, 2014 6:54 AM, "Oliver Schmid
Can't you just use vhosts and rewrites to take care of that?... Also...you
could use list functions to ad an extra step yo do anything you want with
the results of a view before sending it to a client
On Jan 1, 2014 3:47 PM, "Jens Alfke" wrote:
>
> On Dec 31, 2013, at 1:44 AM, meredrica wrote:
>
better than nothing but is there any
> way to get the revision information returned like this?
> return [doc, doc._rev]
>
> On Mon, Dec 30, 2013 at 4:17 PM, Stanley Iriele
> wrote:
> > Yes...the new ID and rev are returned as headers.
> >
> > X-Couch-Id is t
Yes...the new ID and rev are returned as headers.
X-Couch-Id is the new ID
X-Couch-Update-Newrev is the new revision
Here's where its mentioned in the docs
http://docs.couchdb.org/en/latest/api/ddoc/render.html?highlight=update#put--db-_design-ddoc-_update-func-docid
On Dec 30, 2013 3:11 PM, "H
Even without bulk docs...that doesn't sound right..it sounds to me like the
library you're using is having a problem with its http client and the time
gap in closing a connection and opening a new one. Try looking at how many
open connections your app has when it starts to slow down.
I'm guessing
What's the hardware... Cocudb version...operating system of your
project...also that doesn't sound like a lot..sounds like there's something
funky going on...you're not spinning up new processes for each request are
you?
On Dec 26, 2013 7:51 PM, "Vladimir Ralev" wrote:
> Hi all,
>
> I have a scri
Random asside.. Have you restarted the database?... Yes you can curl and
get the value but the process ..may not have respected it ...
On Dec 19, 2013 7:37 AM, "david martin"
wrote:
> On 18/12/13 22:42, Robert Newson wrote:
>
>> "There is something hard coded in there and I will find it eventuall
its not private?
Regards
On Dec 19, 2013 2:32 AM, "david martin"
wrote:
> On 19/12/13 10:08, Stanley Iriele wrote:
>
>> Ahh yes yes you're right...hmm...it is possible that they place a guard on
>> the function and call it using the default value or something
2013 2:01 AM, "david martin"
wrote:
> On 19/12/13 03:28, Stanley Iriele wrote:
>
>> Why did you place quotes around your timeout? Its just the value...
>> No
>> quotes
>>
>
> The 'value' of the timeout "50" is
Why did you place quotes around your timeout? Its just the value... No
quotes
On Dec 18, 2013 2:42 PM, "Robert Newson" wrote:
> "There is something hard coded in there and I will find it eventually
> and find why it was put there and by whom."
>
> This attitude might discourage people fr
I have been reading through the couchdb docs online..,fantastic job by the
way, and I discovered the joy of returning "json" instead if stringifying
my objects and setting the "application/json" header myself
I don't see any official reference pointing out this goodie... Are there
more? Is there a
A complete side note...good job on the documentation guys.. Its a one stop
shop for the most part...plus 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
> reportin
I mean other than the fact that your json sample is totally hosed
On Nov 28, 2013 3:21 PM, "Stanley Iriele" wrote:
> You mean _id right?
> On Nov 28, 2013 3:20 PM, "Gerardo Di Iorio" wrote:
>
>> Hi,
>> i try to use couchdb for store data sensor.
You mean _id right?
On Nov 28, 2013 3:20 PM, "Gerardo Di Iorio" wrote:
> Hi,
> i try to use couchdb for store data sensor.
> My document is
>
> {
>"id":"123"
>"source": "
>
ntal feature
or something
On Nov 27, 2013 12:55 AM, "Stanley Iriele" wrote:
> @florian I am not sure what you mean 1 doc update changes all others...I
> basically you operate on an index of things... Just like a list applies to
> a view... And each call flushes a doc... Its OK
@florian I am not sure what you mean 1 doc update changes all others...I
basically you operate on an index of things... Just like a list applies to
a view... And each call flushes a doc... Its OK for bulk updates to take a
while
And the output would be what is returned from the bulk updates ri
Bulk updates in couchdb are a tad painful. you have to fetch them out of
the database apply your change and save them.
I propose adding the ability to have something like an update handler that
folds across documents
either in the way that lists do via get row
ex.
function (head, req){
while (
Which on is faster..?..if couchdb just finds Startkey and walks until end
key... Is it that much faster then keys?? Which I'm guessing does a search
for every key?... Anyways is the gap in speed worth worrying about?..
I'm not in a position to benchmark one architecture vs the other so I'm
asking
I think the use of the word collection is misleading...even though they are
synonymous..type is far clearer... But that's all just my preference
On Nov 21, 2013 12:03 PM, "Tim Black" wrote:
> I should note that instead of using the common convention Jens mentioned
> of a document attribute named
TCP no delay?... Plus are you building a lot of indexes?... If you're just
serving documents I'm surprised it doesn't cache it all and mind its own
business I'm curious...is your test testing what yours actually going
to be using it for or are they just Benchmarks?
On Nov 20, 2013 3:24 PM, "Joe
" wrote:
> > .it sounds hackey.
>
> Just use update_after. It's not a hack.
>
>
> On Wed, Nov 20, 2013 at 2:59 PM, Stanley Iriele >wrote:
>
> > Idk..it sounds hackey.. But curl and crontab is good enough for me for
> the
> > views that can't
Idk..it sounds hackey.. But curl and crontab is good enough for me for the
views that can't fall more than 1 minute behind
On Nov 20, 2013 2:57 PM, "Robert Newson" wrote:
> The bigcouch merge will not bring any automatic view updating
> scheduler. Nothing stops someone contributing one, of course
When you say blocked... Do you mean time for the view to build? Or waiting
to get a doc out of the database while its being written?.. I thought couch
db was mvcc so there was none of that
On Nov 20, 2013 1:36 PM, "Mark Hahn" wrote:
> > Database writes are not coupled to view updates.
>
> I under
1 - 100 of 222 matches
Mail list logo