Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-31 Thread Tharaneedharan Vilwanathan
Thank you all for the response. Let me play with the options.

Regards
dharani


>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread robert engels
Just to learn Go, and do some performance tests. I had been a contributor to 
the Lucene project way back when, so the idea of doing a kv using LVM trees 
seemed like a good project - small enough in scope, but useful.

I only brought it up because it is simple enough that if you want to learn Go 
gRPC/protobufs in a real application it is very easy to understand.

> On Oct 30, 2018, at 5:04 PM, Marko Ristin-Kaufmann  
> wrote:
> 
> Hi Robert,
> I'm just curious: why did you develop yet another key/value store?
> 
> Cheers Marko 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread Marko Ristin-Kaufmann
Hi Robert,
I'm just curious: why did you develop yet another key/value store?

Cheers Marko

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread robert engels
Also, if you are just looking for a simple high performance key value 
datastore, you can look at my github.com/robaho/keydb 
 There is also a service wrapper allowing 
shared access via gRPC (protobufs) at github.com/robaho/keydbr 



> On Oct 30, 2018, at 2:09 PM, robert engels  wrote:
> 
> cockroachdb is in Go and uses protobuf to communicate - but it provides 
> pre-built easy to use clients for many languages.
> 
>> On Oct 30, 2018, at 1:48 PM, Tharaneedharan Vilwanathan > > wrote:
>> 
>> Hi All,
>> 
>> I am looking for a database for protobuf, preferably the one that fits Go 
>> environment better. I located profanedb. I am wondering if anyone tried it 
>> with Go and if there is any example code that I can take a look at. Also, 
>> please let me know if there is anything else I should try too.
>> 
>> Regards
>> dharani
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts+unsubscr...@googlegroups.com 
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread Marko Ristin-Kaufmann
We are using LMDB with string or numerical keys and protobufs as values.

Be careful with the encoding of  numerical keys, though: complement of two
is not in lexicographical order.

We are almost done with open-sourcing a python/go library:
https://github.com/Parquery/pynumenc (see the pull request for the work in
progress).

I can give you a ping once it's finished (this or the next week).

Cheers Marko

Le mar. 30 oct. 2018 à 19:49, Tharaneedharan Vilwanathan 
a écrit :

> Hi All,
>
> I am looking for a database for protobuf, preferably the one that fits Go
> environment better. I located profanedb. I am wondering if anyone tried it
> with Go and if there is any example code that I can take a look at. Also,
> please let me know if there is anything else I should try too.
>
> Regards
> dharani
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread Sam Whited
On Tue, Oct 30, 2018, at 13:48, Tharaneedharan Vilwanathan wrote:
> I am looking for a database for protobuf, preferably the one that fits Go
> environment better. I located profanedb. I am wondering if anyone tried it
> with Go and if there is any example code that I can take a look at. Also,
> please let me know if there is anything else I should try too.

I'm not sure what you mean by "fits the Go environment", but PostgreSQL is very 
reliable and could easily hold protobufs in the BYTEA type, or of course the 
JSON representation in the JSONB type. The lib/pq [1] driver is very good.

I tend to think that choosing a niche database for a specific serialization 
format is a bad idea; instead think about your application and what you care 
about (speed, reliability, etc.), and about the general type of data you'll be 
storing (is it time series, highly relational, etc.) then pick something that's 
well tested and proven which meets your criteria.

—Sam

[1]: https://godoc.org/github.com/lib/pq

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread robert engels
cockroachdb is in Go and uses protobuf to communicate - but it provides 
pre-built easy to use clients for many languages.

> On Oct 30, 2018, at 1:48 PM, Tharaneedharan Vilwanathan  
> wrote:
> 
> Hi All,
> 
> I am looking for a database for protobuf, preferably the one that fits Go 
> environment better. I located profanedb. I am wondering if anyone tried it 
> with Go and if there is any example code that I can take a look at. Also, 
> please let me know if there is anything else I should try too.
> 
> Regards
> dharani
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] database for protobuf - profanedb or similar

2018-10-30 Thread Tharaneedharan Vilwanathan
Hi All,

I am looking for a database for protobuf, preferably the one that fits Go
environment better. I located profanedb. I am wondering if anyone tried it
with Go and if there is any example code that I can take a look at. Also,
please let me know if there is anything else I should try too.

Regards
dharani

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.