Binary protocol implementation

Hi members

I have the need to access a database (nosql)
But this DB provides binary protocol only :frowning:
So how can I implement the DB access based on binary protocol?

Thanks & Regards
Kendall

More details about what you have and what you need would be helpful, but here's a thing:

https://confreaks.tv/videos/lonestarruby2015-building-a-binary-protocol-client-in-ruby-a-magical-journey

···

On November 21, 2021 3:35:31 AM UTC, Kendall Wagner <kendawagner@gmail.com> wrote:

I have the need to access a database (nosql)
But this DB provides binary protocol only :frowning:
So how can I implement the DB access based on binary protocol?

Do you have suggestions on these two implementation?

#1 wrapper to the C client library
#2 implementation with ruby’s own way for protocol analysis and
encoding/decoding

I want access Ignite’s streaming but the client lacks the feature.

Thanks

···

On November 21, 2021 3:35:31 AM UTC, Kendall Wagner <kendawagner@gmail.com> > wrote:
>I have the need to access a database (nosql)
>But this DB provides binary protocol only :frowning:
>So how can I implement the DB access based on binary protocol?

More details about what you have and what you need would be helpful, but
here's a thing:

https://confreaks.tv/videos/lonestarruby2015-building-a-binary-protocol-client-in-ruby-a-magical-journey

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<ruby-talk list: member options login page>

This client? GitHub - ankane/ignite-ruby: Ruby client for Apache Ignite

···

On 11/20/21, Kendall Wagner <kendawagner@gmail.com> wrote:

Do you have suggestions on these two implementation?
#1 wrapper to the C client library
#2 implementation with ruby’s own way for protocol analysis and
encoding/decoding
I want access Ignite’s streaming but the client lacks the feature.

As OP says this library doesn't support the feature she wanted (the streaming?).

···

On 2021/11/22 4:42 上午, Frank J. Cameron wrote:

This client?GitHub - ankane/ignite-ruby: Ruby client for Apache Ignite

Kendall Wagner wrote:

I have the need to access a database (nosql)
But this DB provides binary protocol only :frowning:
I want access Ignite's streaming but the client lacks the feature.

Does the Binary Client Protocol[1] used by Thin Clients[2] support
Streaming[3] at all? Or, is Streaming only supported in the Thick
Clients[4]?

From [4], "[Thick] client nodes provide the whole set of Ignite APIs,
including ... streaming, ...".

I don't see anything about streaming under [1]/[2].

Do you have suggestions on these two implementation?
#1 wrapper to the C client library
#2 implementation with ruby's own way for protocol analysis and
encoding/decoding

From [3]: "This API is not presently available for C++."

[1] Binary Client Protocol | Ignite Documentation
[2] Thin Clients Overview | Ignite Documentation
[3] Data Streaming | Ignite Documentation
[4] Starting and Stopping Nodes | Ignite Documentation

As of Feb 3, 2021: "there is no streaming in the Thin Client yet"

···

On 11/21/21, Frank J. Cameron <fjc@fastmail.net> wrote:

Kendall Wagner wrote:

I have the need to access a database (nosql)
But this DB provides binary protocol only :frowning:
I want access Ignite's streaming but the client lacks the feature.

Does the Binary Client Protocol[1] used by Thin Clients[2] support
Streaming[3] at all? Or, is Streaming only supported in the Thick
Clients[4]?