Re: Bench marking a simple 10k write

2014-04-04 Thread Wendall Cada
Are you updating the same doc 10k times? Or writing a new doc each time? If it's the former, this isn't a really good test for CouchDB, and certainly going to be slow. Wendall On 04/03/2014 07:40 PM, Knudsen, Ken wrote: to a CouchDB serverI'm literally just executing a unit test 10k t

Re: Bench marking a simple 10k write

2014-04-04 Thread Jens Alfke
On Apr 4, 2014, at 8:19 AM, Robert Samuel Newson wrote: > Ok, that’s too far. This is the couchdb user mailing list not an ad channel. Sorry, everyone; in hindsight I should have sent that directly to Ken, or left the post as just “don’t forget to try Couchbase Server too”. —Jens

RE: Bench marking a simple 10k write

2014-04-04 Thread Knudsen, Ken
orensonbros.net] Sent: April-04-14 11:21 AM To: user@couchdb.apache.org Subject: Re: Bench marking a simple 10k write but I totally just went out and bought a surface and downloaded sql server because of this thread... On Fri, Apr 4, 2014 at 10:19 AM, Robert Samuel Newson wrote: > Ok, that&

Re: Bench marking a simple 10k write

2014-04-04 Thread matt j. sorenson
but I totally just went out and bought a surface and downloaded sql server because of this thread... On Fri, Apr 4, 2014 at 10:19 AM, Robert Samuel Newson wrote: > Ok, that's too far. This is the couchdb user mailing list not an ad > channel. > > B. > > On 4 Apr 2014, at 15:46, Jens Alfke wrote

Re: Bench marking a simple 10k write

2014-04-04 Thread Robert Samuel Newson
Ok, that’s too far. This is the couchdb user mailing list not an ad channel. B. On 4 Apr 2014, at 15:46, Jens Alfke wrote: > {Getting off-topic, but as long as people are already talking about > non-CouchDB databases…} > > If you’re kicking the tires of NoSQL databases with performance in min

Re: Bench marking a simple 10k write

2014-04-04 Thread Jens Alfke
{Getting off-topic, but as long as people are already talking about non-CouchDB databases…} If you’re kicking the tires of NoSQL databases with performance in mind, you really should be looking at Couchbase Server, whose calling card is insane speed and scalability. For example, Amadeus (the wo

RE: Bench marking a simple 10k write

2014-04-04 Thread Knudsen, Ken
about > 33 seconds. I find it interesting as a more real distributed test bed > is put into play, that the power of the NoSQL databases start to come alive. > > thanks again! > > Ken > ____________________ > From: Stanley Iriele [siriele...@gmail.com]

Re: Bench marking a simple 10k write

2014-04-04 Thread Daniel Wertheim
distributed test bed is put into play, that the power of the > NoSQL databases start to come alive. > > thanks again! > > Ken > ____ > From: Stanley Iriele [siriele...@gmail.com] > Sent: Friday, April 04, 2014 6:23 AM > To: user@couchdb.ap

RE: Bench marking a simple 10k write

2014-04-04 Thread Knudsen, Ken
.com] Sent: Friday, April 04, 2014 6:23 AM To: user@couchdb.apache.org Subject: Re: Bench marking a simple 10k write I believe most clients use keep alive by default but what I'm saying is that he's running the test in nunit (to my understanding) of its in the same loop or whatever then it sh

Re: Bench marking a simple 10k write

2014-04-04 Thread Stanley Iriele
I believe most clients use keep alive by default but what I'm saying is that he's running the test in nunit (to my understanding) of its in the same loop or whatever then it should be using keep alive...but the nunits tear down the class and its resources per run. So even if the default library use

Re: Bench marking a simple 10k write

2014-04-04 Thread Nick North
On second thoughts, while my previous claim is true, I'm not sure what happens when you use WebRequest.Create for each write, as in the example. So maybe keep-alive is not enabled after all. Nick On 4 April 2014 10:35, Nick North wrote: > The HttpWebRequest class has a KeepAlive >

Re: Bench marking a simple 10k write

2014-04-04 Thread Nick North
The HttpWebRequest class has a KeepAlive property that 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

Re: Bench marking a simple 10k write

2014-04-04 Thread Stanley Iriele
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

Re: Bench marking a simple 10k write

2014-04-04 Thread Benoit Chesneau
On Fri, Apr 4, 2014 at 10:25 AM, Will Holley wrote: > .NET should set keep-alive by default. > uh? any link about it?

Re: Bench marking a simple 10k write

2014-04-04 Thread Will Holley
.NET should set keep-alive by default. What's the latency to the CouchDB server that you're testing against? On 4 April 2014 07:57, Benoit Chesneau wrote: > On Fri, Apr 4, 2014 at 4:40 AM, Knudsen, Ken < > ken.knud...@imaginecommunications.com> wrote: > >> to a CouchDB serverI'm litera

Re: Bench marking a simple 10k write

2014-04-03 Thread Benoit Chesneau
On Fri, Apr 4, 2014 at 4:40 AM, Knudsen, Ken < ken.knud...@imaginecommunications.com> wrote: > to a CouchDB serverI'm literally just executing a unit test 10k > times that open an HTTP connection, post the data and close... CouchDB is > performing very slowly in this. I thought it'd be ver

Re: Bench marking a simple 10k write

2014-04-03 Thread Alexander Shorin
On Fri, Apr 4, 2014 at 9:02 AM, Jens Alfke wrote: > On Apr 3, 2014, at 8:11 PM, Knudsen, Ken > wrote: > >> Oh sure.. I was just following the same pattern I did for SQL > > As the name implies, NoSQL databases don’t work the same way as > SQL/relational databases. Part of that is that the APIs

Re: Bench marking a simple 10k write

2014-04-03 Thread Jens Alfke
On Apr 3, 2014, at 8:11 PM, Knudsen, Ken wrote: > Oh sure.. I was just following the same pattern I did for SQL As the name implies, NoSQL databases don’t work the same way as SQL/relational databases. Part of that is that the APIs are different, and require some different patterns for work

RE: Bench marking a simple 10k write

2014-04-03 Thread Stanley Iriele
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

RE: Bench marking a simple 10k write

2014-04-03 Thread Knudsen, Ken
httpResponse.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: Bench marking a simple 10k wr

RE: Bench marking a simple 10k write

2014-04-03 Thread Stanley Iriele
al Message- > From: Stanley Iriele [mailto:siriele...@gmail.com] > Sent: April-03-14 10:46 PM > To: user@couchdb.apache.org > Subject: Re: Bench marking a simple 10k write > > Are you tearing down the connection and reestablishing it every time? Or > have you played with the TCP

RE: Bench marking a simple 10k write

2014-04-03 Thread Knudsen, Ken
e)... I thought CouchDB would have been just as fast. -Original Message- From: Stanley Iriele [mailto:siriele...@gmail.com] Sent: April-03-14 10:46 PM To: user@couchdb.apache.org Subject: Re: Bench marking a simple 10k write Are you tearing down the connection and reestablishing it every

Re: Bench marking a simple 10k write

2014-04-03 Thread Stanley Iriele
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