On Wed, Jan 29, 2014 at 11:00 AM, asdf9898 <[email protected]> wrote:
> Hello > > I am new to nosql in general and would like some advice on couchbase and > other similar technologies. > > I have done some performance testing of a number of technologies and find > the same results with each. > > When I do x inserts on a single node I get better performance than when I > add a second node. > > Read-performance is much better than insert performance but again a single > node performs better than 2 nodes. > > I then thought that if I add the URIs in the buildConnection > > URI server = new URI(addresses); > ArrayList<URI> serverList = new ArrayList<URI>(); > serverList.add(server); > CouchbaseClient client = new CouchbaseClient( > serverList, "default", ""); > > In other words by explicitly telling the client about the second node it > should cause double performance but sadly I just got maybe an extra 10% > > I then thought if I double the number of client threads because I now have > two servers to target it would double performance but again no: just a > slight increase. > > So in summary : would adding an extra node cause an increase or decrease > in throughput (both reading and inserts) ? > Should increase (modulo tap load as Matt mentions). But in testing it, make sure that you don't jump to conclusions too quickly. I.e. when testing scalability I'd recommend looking at possible client-side contention too. I.e. if you have single client doing sequential ops, it obviously won't matter if you have 1 node or 100 nodes. All details matter. -- You received this message because you are subscribed to the Google Groups "Couchbase" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
