RE: Is it possible to include node load into the consistency hashing function in riak-core?

2012-10-16 Thread Zhemzhitsky Sergey
Hello Bryan, Thanks a lot for the ideas! In case of any results, I will necessarily share them. Best Regards, Sergey -Original Message- From: Bryan Fink [mailto:br...@basho.com] Sent: Monday, October 15, 2012 7:05 PM To: Zhemzhitsky Sergey Cc: riak-users Subject: Re: Is it possible

Is it possible to include node load into the consistency hashing function in riak-core?

2012-10-09 Thread Zhemzhitsky Sergey
change the hashing function somehow so that the vnode on the node with the minimal load is returned as the first one? Best Regards, Sergey ___ CONFIDENTIALITY NOTICE: This email and any files attached to it may be conf idential. If you are not

RE: [erlang-questions] Large scale deployments testing

2012-09-23 Thread Zhemzhitsky Sergey
Hi guys, Thanks for the information and links! Best Regards, Sergey Zhemzhitsky Phone. +7 495 2580500 ext. 1246 From: Michael Truog [mailto:mjtr...@gmail.com] Sent: Saturday, September 22, 2012 5:58 AM To: Joel Meyer; Zhemzhitsky Sergey Cc: riak-users@lists.basho.com; erlang-questions Subject

Large scale deployments testing

2012-09-21 Thread Zhemzhitsky Sergey
be executed to answer the following questions: 1. Does the system scale well? 2. Can the system be considered as linearly scalable? 3. Is the system truly fault-tolerant? Best Regards, Sergey ___ The information contained

RE: Reasons for using gen_server to gather statictics with folsom

2012-08-13 Thread Zhemzhitsky Sergey
Hi Russell, Thanks for extremely helpful answer! Now the taken decisions are much clearer. Best Regards, Sergey From: Russell Brown [mailto:russel...@basho.com] Sent: Monday, August 13, 2012 12:27 PM To: Zhemzhitsky Sergey Cc: riak-users@lists.basho.com Subject: Re: Reasons for using

RE: Reasons for using gen_server to gather statictics with folsom

2012-08-13 Thread Zhemzhitsky Sergey
is stored in ets is cached using ets? Is it correct that calls to folsom_metrics are done via gen_server to decrease the possibility of losing ets tables that are bound to a concrete process? Best Regards, Sergey From: riak-users-boun...@lists.basho.com [mailto:riak-users-boun...@lists.basho.com

Reasons for using gen_server to gather statictics with folsom

2012-08-10 Thread Zhemzhitsky Sergey
used to gather statistics instead of the direct calls to folsom_metrics through some more high-level api? 2. What is the purpose of riak_core_stat_cache and what it is intended to do? Best Regards, Sergey ___ The information contained in

Re: riak java client

2011-11-17 Thread sergey
Thanks, riakObject.setContentType("application/json") work right. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: riak java client

2011-11-17 Thread sergey
Ok, If I do curl -X PUT with -H "Content-Type: application/json;charset=utf-8" , it is work - index and search Riak right. I use Riak 1.0.1-1 (riak_1.0.1-1_amd64.deb on Ubuntu). And I use UTF-8 for java strings. ___ riak-users mailing list riak-users@l

Re: riak java client

2011-11-17 Thread sergey
Ok, If I do curl -X PUT -H "Content-Type: application/json;charset=utf-8", Riak index for search and search work right. I use Riak 1.0.1-1 (riak_1.0.1-1_amd64.deb on Ubuntu). I use utf-8 java string. ___ riak-users mailing list riak-users@lists.basho.

Re: riak java client

2011-11-17 Thread sergey
Thanks Russell! I use raw client: rawClient = new RiakClient("127.0.0.1") pbcClient = new PBClientAdapter(rawClient) riakObject = RiakObjectBuilder.newBuilder("users", userName).withContentType("application/json").withValue(userInfo).build pbcClient.store(riakObject) In store, Content Type app

Re: riak java client

2011-11-16 Thread sergey
Thanks Russell, ok, I useDefaultRiakClient ( userName = "user1", userInfo = "{"email":"em...@email.com","pass":"123123"}" ): riakObject = RiakObjectBuilder.newBuilder("users", userName).withContentType("application/json").withValue(userInfo).build and store: client.fetchBucket("users").execute.

riak java client

2011-11-16 Thread sergey
Hi! How to set content type for store operation for java-pcb client? b.store("key", "{"field":"value"}") - set content as text/plain, how set content type as application/json? and how store binary data(image)? ___ riak-users mailing list riak-users@li

Re: Riak search KV, encoding

2011-11-10 Thread sergey
Riak Search KV create index http://localhost:8098/riak/_rsid_tests/test1 application/x-erlang-binary �hd riak_idx_docmtestsmtest1lhmfield1mvalue1lhmvalue1kjhmfield2mзначение2lhmзначение2kjhmполе3mvalue3lhmvalue3kjhmполе4mзначение4lhmзначение4kdtrue

Riak search KV, encoding

2011-11-09 Thread sergey
Hi! I make some test Riak search KV: test data: Content Type - application/json; { "field1": "value1", "field2": "значение2", "поле3": "value3", "поле4": "значение4" } test querying(solr interface) and result: curl http://localhost:8098/solr/tests/select?q=field1:value1 0 2 on 0 field1:value1