Re: Riak Node Failure

2013-01-14 Thread Pavel Kogan
be able to help diagnose a > problem with the node starting. > > > On 14 January 2013 15:19, Pavel Kogan wrote: > >> Hi all, >> >> I am running couple of months cluster of 5 Riak nodes on CentOs (Bitcask >> backend). >> Till today everything was fine, but today

Riak Node Failure

2013-01-13 Thread Pavel Kogan
Hi all, I am running couple of months cluster of 5 Riak nodes on CentOs (Bitcask backend). Till today everything was fine, but today one of the nodes just stopped to work. When trying riak start/stop/ ... it just claims that node doesn't respond to pings. Restart of server didn't help. What should

Re: Is Riak suitable for s small-record write-intensive billion-records application?

2012-10-18 Thread Pavel Kogan
I did some tests and saw that it is correct only for very recent keys. The DB becomes consistent for specific key very fast (few seconds) at least for 5 nodes in 1Gbit network (which seems to be enough or almost enough for required capacity and throughput with bitcask backend). Pavel On Thu, Oct

Re: Riak Search

2012-10-16 Thread Pavel Kogan
Thanks a lot. On Tue, Oct 16, 2012 at 2:44 PM, Ryan Zezeski wrote: > > > On Sun, Oct 14, 2012 at 12:33 AM, Pavel Kogan wrote: >> >> >> 1) Is search enabling has any impact on read latency/throughput? >> > > If you are reading and searching at the same tim

Re: Riak JAVA Client Performance

2012-10-13 Thread Pavel Kogan
tionTimeoutMillis(5000).build(); > > final IRiakClient riakClient=RiakFactory.newClient(clientConfig); > > > > That we have it running with no issues, the pool size depends on your > needs > > and data size, you could run with a pool size of 50 to a 100 if your keys > > a

Re: Riak Search

2012-10-13 Thread Pavel Kogan
an Zezeski wrote: > Pavel, > > On Sat, Oct 13, 2012 at 12:59 AM, Pavel Kogan wrote: > > >> Those limitations leaves us a single option of Riak Search and I have a >> few questions about it. >> > > I'm working on a new solution, named Yokozuna, that i

Riak Search

2012-10-12 Thread Pavel Kogan
Hi all, We are using Riak mainly as key-value storage for fast store/get operations. However we would like to use some of its search functionality. We need to run offline search operations on some fields of our JSON values. Our storage back end is bitcask cause it is better in terms of latency/thr

Re: Riak JAVA Client Performance

2012-10-11 Thread Pavel Kogan
wer, Riak is not meant to be in one >>> cluster, you are removing the external factors and CAP settings you will >>> be >>> using, and it won't be linear, you could get the same results with RW=2 >>> with >>> 3, 4 and 5 nodes, there are several factors that

Re: Riak JAVA Client Performance

2012-10-10 Thread Pavel Kogan
asho.com/riak/latest/tutorials/fast-track/Tunable-CAP-Controls-in-Riak/ > > Guido. > > > On 10/10/12 13:33, Pavel Kogan wrote: > > Hi, > > The node is OK and not down. > I have a way to do load balancing externally to JAVA Client. > I am evaluating Riak for using in my co

Re: Riak JAVA Client Performance

2012-10-10 Thread Pavel Kogan
Once we switched to HA proxy we just use a simple client without cluster > config, so the Java client doesn't know anything about the load balancing > going on. It works well, I can upgrade and restart servers without our Java > application be complaining. > > Regards, &

Re: Riak JAVA Client Performance

2012-10-10 Thread Pavel Kogan
y request > > pozdrawiam > Paweł Kamiński > > kami...@gmail.com > pkaminski@gmail.com > __ > > > On 10 October 2012 09:25, Pavel Kogan wrote: > > 1) Is it ok to share a single pbc client object between 50 threads? > Should > > it be

Re: Riak JAVA Client Performance

2012-10-10 Thread Pavel Kogan
ński > > kami...@gmail.com > pkaminski@gmail.com > __ > > > On 10 October 2012 06:18, Pavel Kogan wrote: > > Hi all, > > > > I have Riak cluster consisting of 5 nodes that contains about 30 > millions of > > keys (35% of capacity accord

Riak JAVA Client Performance

2012-10-09 Thread Pavel Kogan
Hi all, I have Riak cluster consisting of 5 nodes that contains about 30 millions of keys (35% of capacity according to Riak Control). Currently we have single JAVA client reading and writing records to same node. I need some tips, how to use the client efficiently to reach maximal throughput - I

Re: Using Riak as cache layer

2012-10-01 Thread Pavel Kogan
Thanks Sean. On Mon, Oct 1, 2012 at 4:48 PM, Sean Cribbs wrote: > Yes, it will drop the oldest item until the size is less than max_memory. > > On Mon, Oct 1, 2012 at 9:38 AM, Pavel Kogan > wrote: > > Hi Sean, > > > > Thanks for quick reply. Your answers helped m

Re: Using Riak as cache layer

2012-10-01 Thread Pavel Kogan
storage. More information on how to configure it > is here: http://wiki.basho.com/Memory.html > > I hope that helps! > > On Mon, Oct 1, 2012 at 8:57 AM, Yuri Lukyanov wrote: > > I suggest that you use http://www.couchbase.com/ (ex-membase) instead > > as a cache layer

Re: Using Riak as cache layer

2012-10-01 Thread Pavel Kogan
ase) instead > as a cache layer. It's faster but less reliable than riak, which is ok > for cache layer. > > On Mon, Oct 1, 2012 at 12:47 AM, Pavel Kogan > wrote: > > Hi all experts, > > > > I want to use Riak for caching and have few questions: > >

Using Riak as cache layer

2012-09-30 Thread Pavel Kogan
Hi all experts, I want to use Riak for caching and have few questions: 1) How faster is using memory back-end over bitcask back-end (on SSD)? 2) If throughput satisfying, is there any reason to use more than two nodes? 3) When my memory reaches preset limit (lets say 4Gb) what is going to happen

Re: Multiget

2012-09-23 Thread Pavel Kogan
odfun, riak_kv_mapreduce, map_identity}, none, true}]) of > {ok,[{_,L}|_]} -> > {ok,[Val || > {r_object,_Bucket,_Key,[{r_content,_Meta,Val}],_VClock,_UpdateMeta,_UpdateVal} > <- L]}; > {error,notfound} -> > undefined; > X -> > X > end. > > > Sergej &

Multiget

2012-09-23 Thread Pavel Kogan
Hi all, Is there any multiget functionality in Riak (like in memcached)? Best Regards, Pavel ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Cluster Behavior

2012-09-22 Thread Pavel Kogan
Hey fellows, I have few questions: 1) I know that minimal recommended size of Cluster is 5 nodes. However I have at this point only two servers. a) Would the data be replicated among those two servers. If one node is down, would other node cover whole DB? b) When I add new 3

Re: Riak Control

2012-09-21 Thread Pavel Kogan
Meiklejohn > > On Friday, September 21, 2012 at 12:47 PM, Pavel Kogan wrote: > > Hi fellows, > > I have cluster of 2 physical Riak nodes (I know it is not enough) running > on CentOS 6. > Now I am trying to configure Riak control - did everything according to > instructions: &g

Re: Riak Control

2012-09-21 Thread Pavel Kogan
to me as no restrictions. Thanks, Pavel * * On Fri, Sep 21, 2012 at 7:24 PM, Pavel Kogan wrote: > Ok, I will try, though I don't understand why I should have problem with > port 8069 if I don't have any read/write problem via port 8098. > > Thanks, > Pavel > >

Re: Riak Control

2012-09-21 Thread Pavel Kogan
> the tables, save, and restart the iptables/ip6tables daemons, or add rules > for the ports you have Riak bound on. > > /ek > > On Sep 21, 2012, at 1:17 PM, Pavel Kogan > wrote: > > > Well, should be something else. I tried both ways and it still doesn't > w

Re: Riak Control

2012-09-21 Thread Pavel Kogan
course after restarting riak. > > > > wes > > > > On Fri, Sep 21, 2012 at 10:58 AM, Pavel Kogan > wrote: > > Probably I don't get something. > > Address: https://127.0.0.1:8069/admin assuming browsing on localhost. > > However Riak is running on Linux server

Re: Riak Control

2012-09-21 Thread Pavel Kogan
Probably I don't get something. Address: https://127.0.0.1:8069/admin assuming browsing on localhost. However Riak is running on Linux server without Gnome/KDE. Regards, Pavel On Fri, Sep 21, 2012 at 6:54 PM, Wes James wrote: > Hi, > > On Fri, Sep 21, 2012 at 10:47 AM, Pav

Riak Control

2012-09-21 Thread Pavel Kogan
Hi fellows, I have cluster of 2 physical Riak nodes (I know it is not enough) running on CentOS 6. Now I am trying to configure Riak control - did everything according to instructions: 1) Enabled HTTPS in app.config * {https, [{"0.0.0.0", 8069 }]} * * * 2) Generated SSL certificate using this