I think you may be running into some issues from your Riak cluster size. The Basho recommendation for a Riak cluster [1] is a minimum 5 servers with 4GB of RAM and multi-core CPUs.
Before anything else, though, I recommend running basho_bench to see what kind of numbers you get from your cluster. For reference - I can get about 1500 operations / second with single digits of latency on a 5 node Riak cluster running on a 2012 Retina MacBook Pro. Alex Rice recently posted some numbers for a 5 node cluster running in Azure [2] where he was able to sustain 400 operations / second with < 50ms of latency. I'm able to get similar numbers to basho_bench using our CorrugatedIron stress tests - can you verify the performance of both Riak using basho_bench as well as grabbing some metrics from your WCF code? You can instrument it using metrics-net [3] which you can also download from NuGet [4] [1]: http://docs.basho.com/riak/latest/ops/building/planning/system-planning/#Hardware [2]: http://markmail.org/message/nsr2an6ztwcjtopb [3]: https://github.com/danielcrenna/metrics-net [4]: http://www.nuget.org/packages/Metrics --- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Cloudera Certified Developer for Apache Hadoop On Thu, Oct 10, 2013 at 2:44 PM, Pandiarajan Subramani < psubram...@americanlogistics.com> wrote: > Hi OJ,**** > > I apologize for delayed response. Please find my answer for your > questions inline in red color.**** > > ** ** > > Thanks and Regards**** > > *Pandiarajan Subramani***** > > American Logistics Company (ALC) | Office: 866.999.3371 x132 | Mobile: > 575.915.2325 | www.AmericanLogistics.com<http://www.americanlogistics.com/> > **** > > *Coordinating Passenger Transportation***** > > *Confidentiality Notice: *This message is intended only for the use of > the individual or entity to whom it is addressed. The message may contain > confidential or legally privileged information. If you are not the intended > recipient you are hereby notified that any disclosure, copying, > distribution of this information is strictly prohibited and may be > unlawful. If you have received this communication in error, please notify > us immediately by responding to this email and then delete it from your > system.**** > > ** ** > > *From:* OJ Reeves [mailto:o...@buffered.io] > *Sent:* Wednesday, October 9, 2013 5:28 PM > *To:* Pandiarajan Subramani > *Cc:* riak-users@lists.basho.com > *Subject:* Re: Corrugated Iron for Riak- WCF Performance Issue**** > > ** ** > > oops! hit send too early.**** > > ** ** > > 4. What is your Riak cluster setup? (eg. how many nodes, configuration > setteings, etc).**** > > We have 4 nodes installed in a virtual machine each having 1 core and > 2 GB RAM. **** > > On Thu, Oct 10, 2013 at 9:26 AM, OJ Reeves <o...@buffered.io> wrote:**** > > Pandiarajan,**** > > ** ** > > Can you please answer some questions for me:**** > > 1. What is your application architecture? Are you consuming CI as a > transport from WCF or are you calling CI from a RESTful server?**** > > My application has multi-tier architecture. I do have web service tier, > Business tier and then the Data tier. In the Data tier, I have the > Corrugated iron reference and from this tier I communicate with Riak which > is installed in another server. So in the WCF web service as a part of the > solution I have CI.**** > > 1. Prior to adding CI, how were you talking to Riak?**** > > I wasn’t communicating with Riak before adding CI.**** > > 1. Have you ran basho_bench against your application before and after > implementing CI? Can you please share your results?**** > > Nope. I haven’t run basho_bench ever.**** > > Thanks.**** > > OJ**** > > ** ** > > ** ** > > On Thu, Oct 10, 2013 at 8:52 AM, Pandiarajan Subramani < > psubram...@americanlogistics.com> wrote:**** > > Hi Everyone,**** > > I am using Corrugated Iron(CI) for Riak in my > WCF REST application. After adding CI, the web services started to send > response very slow. All immediate consecutive request to the REST end > points get queued up and the responses are delayed more. If anyone has > implemented CI in the WCF project. Please advise me how to fix this issue. > **** > > **** > > Thanks and Regards**** > > *Pandiarajan Subramani***** > > American Logistics Company (ALC) | Office: 866.999.3371 x132 | Mobile: > 575.915.2325 | www.AmericanLogistics.com<http://www.americanlogistics.com/> > **** > > *Coordinating Passenger Transportation***** > > *Confidentiality Notice: *This message is intended only for the use of > the individual or entity to whom it is addressed. The message may contain > confidential or legally privileged information. If you are not the intended > recipient you are hereby notified that any disclosure, copying, > distribution of this information is strictly prohibited and may be > unlawful. If you have received this communication in error, please notify > us immediately by responding to this email and then delete it from your > system.**** > > **** > > ** ** > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com**** > > > > **** > > ** ** > > -- > > OJ Reeves**** > > +61 431 952 586 > http://buffered.io/**** > > > > **** > > ** ** > > -- > > OJ Reeves**** > > +61 431 952 586 > http://buffered.io/**** > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com