Riak Java Protobuf objects

2014-01-21 Thread Jon Brisbin
Have the Riak Java Protobuf artifacts been updated to take advantage of Riak 
2.0 features yet?

I'd like to work some more on getting the Riaktor (Riak async Java client based 
on Reactor [1]) up to Riak 2.0 functionality. Currently I'm using the Protobuf 
artifact for the actual objects I need to do the interactions. I'm handling all 
the network IO through Reactor/Netty and using the simple codecs in Reactor. 

If not, can I just generate the Java objects I need from the original protobuf 
definitions?

[1] - https://github.com/reactor/reactor 


Thanks!

Jon Brisbin | Reactor Project Lead
http://about.me/jbrisbin | @j_brisbin


___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Riak Java Protobuf objects

2014-01-21 Thread Guido Medina

At Maven central repos it has yes:

https://repository.sonatype.org/index.html#nexus-search;quick~riak-pb

HTH,

Guido.

On 21/01/14 14:22, Jon Brisbin wrote:
Have the Riak Java Protobuf artifacts been updated to take advantage 
of Riak 2.0 features yet?


I'd like to work some more on getting the Riaktor (Riak async Java 
client based on Reactor [1]) up to Riak 2.0 functionality. Currently 
I'm using the Protobuf artifact for the actual objects I need to do 
the interactions. I'm handling all the network IO through 
Reactor/Netty and using the simple codecs in Reactor.


If not, can I just generate the Java objects I need from the original 
protobuf definitions?


[1] - https://github.com/reactor/reactor


Thanks!

Jon Brisbin | Reactor Project Lead
http://about.me/jbrisbin | @j_brisbin



___
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


Re: Riak Java Protobuf objects

2014-01-21 Thread Brian Roach
Jon,

Yes, we released riak_pb 2.0.0.11 to maven central for the new Riak
Java Client v2.0 core preview (the all-new official async Riak Java
client based on Netty[1]) we announced a couple weeks ago - it
supports all the new Riak 2.0 functionality.

dependency
groupIdcom.basho.riak.protobuf/groupId
artifactIdriak-pb/artifactId
version2.0.0.11/version
/dependency

[1] - https://github.com/basho/riak-java-client/tree/master

On Tue, Jan 21, 2014 at 7:22 AM, Jon Brisbin j...@jbrisbin.com wrote:
 Have the Riak Java Protobuf artifacts been updated to take advantage of Riak
 2.0 features yet?

 I'd like to work some more on getting the Riaktor (Riak async Java client
 based on Reactor [1]) up to Riak 2.0 functionality. Currently I'm using the
 Protobuf artifact for the actual objects I need to do the interactions. I'm
 handling all the network IO through Reactor/Netty and using the simple
 codecs in Reactor.

 If not, can I just generate the Java objects I need from the original
 protobuf definitions?

 [1] - https://github.com/reactor/reactor


 Thanks!

 Jon Brisbin | Reactor Project Lead
 http://about.me/jbrisbin | @j_brisbin


 ___
 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


Re: Riak Java Protobuf objects

2014-01-21 Thread Jon Brisbin
Is the Protobuf interaction still enforced sequentially? e.g. responses only 
come in the order in which the corresponding request was sent and a long 
request will hold up the results of subsequent, but smaller requests? I guess 
the answer for parallelism is to simply use a pool of connections. How many per 
client are considered acceptable now that R16 has better non-blocking IO 
support? 


Thanks!

Jon Brisbin
http://about.me/jonbrisbin | Twitter: @JonBrisbin


On Tuesday, January 21, 2014 at 11:51 AM, Brian Roach wrote:

 Jon,
 
 Yes, we released riak_pb 2.0.0.11 to maven central for the new Riak
 Java Client v2.0 core preview (the all-new official async Riak Java
 client based on Netty[1]) we announced a couple weeks ago - it
 supports all the new Riak 2.0 functionality.
 
 dependency
 groupIdcom.basho.riak.protobuf/groupId
 artifactIdriak-pb/artifactId
 version2.0.0.11/version
 /dependency
 
 [1] - https://github.com/basho/riak-java-client/tree/master
 
 On Tue, Jan 21, 2014 at 7:22 AM, Jon Brisbin j...@jbrisbin.com 
 (mailto:j...@jbrisbin.com) wrote:
  Have the Riak Java Protobuf artifacts been updated to take advantage of Riak
  2.0 features yet?
  
  I'd like to work some more on getting the Riaktor (Riak async Java client
  based on Reactor [1]) up to Riak 2.0 functionality. Currently I'm using the
  Protobuf artifact for the actual objects I need to do the interactions. I'm
  handling all the network IO through Reactor/Netty and using the simple
  codecs in Reactor.
  
  If not, can I just generate the Java objects I need from the original
  protobuf definitions?
  
  [1] - https://github.com/reactor/reactor
  
  
  Thanks!
  
  Jon Brisbin | Reactor Project Lead
  http://about.me/jbrisbin | @j_brisbin
  
  
  ___
  riak-users mailing list
  riak-users@lists.basho.com (mailto: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


Re: Riak Java Protobuf objects

2014-01-21 Thread Brian Roach
On Tue, Jan 21, 2014 at 10:58 AM, Jon Brisbin j...@jbrisbin.com wrote:
 Is the Protobuf interaction still enforced sequentially? e.g. responses only
 come in the order in which the corresponding request was sent and a long
 request will hold up the results of subsequent, but smaller requests?

There has never been a guarantee of this; we don't support pipelining
of requests. Requests are sequential in that you should make a request
then wait for the reply before issuing another request on the same
connection.

 I guess the answer for parallelism is to simply use a pool of connections.

Correct. This is what all the clients have always done.

 How many per client are considered acceptable now that R16 has better
 non-blocking IO support?

The number of connections has always been largely irrelevant; make
1000 of them if you'd like ... just don't try to send 1000 operations
at once if the node can't handle it. The workload on the node is the
(far) greater limiting factor.

- Roach



 Thanks!

 Jon Brisbin
 http://about.me/jonbrisbin | Twitter: @JonBrisbin

 On Tuesday, January 21, 2014 at 11:51 AM, Brian Roach wrote:

 Jon,

 Yes, we released riak_pb 2.0.0.11 to maven central for the new Riak
 Java Client v2.0 core preview (the all-new official async Riak Java
 client based on Netty[1]) we announced a couple weeks ago - it
 supports all the new Riak 2.0 functionality.

 dependency
 groupIdcom.basho.riak.protobuf/groupId
 artifactIdriak-pb/artifactId
 version2.0.0.11/version
 /dependency

 [1] - https://github.com/basho/riak-java-client/tree/master

 On Tue, Jan 21, 2014 at 7:22 AM, Jon Brisbin j...@jbrisbin.com wrote:

 Have the Riak Java Protobuf artifacts been updated to take advantage of Riak
 2.0 features yet?

 I'd like to work some more on getting the Riaktor (Riak async Java client
 based on Reactor [1]) up to Riak 2.0 functionality. Currently I'm using the
 Protobuf artifact for the actual objects I need to do the interactions. I'm
 handling all the network IO through Reactor/Netty and using the simple
 codecs in Reactor.

 If not, can I just generate the Java objects I need from the original
 protobuf definitions?

 [1] - https://github.com/reactor/reactor


 Thanks!

 Jon Brisbin | Reactor Project Lead
 http://about.me/jbrisbin | @j_brisbin


 ___
 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


___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com