Re: Cassandra C client implementation

2011-12-16 Thread Vlad Paiu
Hello, Sorry, wrong link in the previous email. Proper link is http://svn.apache.org/viewvc/thrift/trunk/lib/c_glib/test/ Regards, Vlad Paiu OpenSIPS Developer On 12/15/2011 08:35 PM, Vlad Paiu wrote: Hello, While digging more for this I've found these : http://svn.apache.org/viewvc

Re: Cassandra C client implementation

2011-12-16 Thread Vlad Paiu
. Any ideas ? Regards, Vlad Paiu OpenSIPS Developer On 12/16/2011 11:02 AM, Vlad Paiu wrote: Hello, Sorry, wrong link in the previous email. Proper link is http://svn.apache.org/viewvc/thrift/trunk/lib/c_glib/test/ Regards, Vlad Paiu OpenSIPS Developer On 12/15/2011 08:35 PM, Vlad Paiu

Re: Cassandra C client implementation

2011-12-15 Thread Vlad Paiu
for Cassandra, with no 'advanced' features like connection pooling, asynchronous stuff, etc. Just a plain simple connection, an insert and a column fetch that works with the latest 1.x Cassandra. I think it would be a great starting point and we could move on from there. Regards, Vlad Paiu

Re: Cassandra C client implementation

2011-12-15 Thread Vlad Paiu
, Vlad Paiu wrote: Hello Eric, We have that, thanks alot for the contribution. The idea is to not play around with including C++ code in a C app, if there's an alternative ( the thrift g_libc ). Unfortunately, since thrift does not generate a skeleton for the glibc code, I don't know how

Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
Hello, I am trying to integrate some Cassandra related ops ( insert, get, etc ) into an application written entirelly in C, so C++ is not an option. Is there any C client library for cassandra ? I have also tried to generate thrift glibc code for Cassandra, but on

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
- From: i...@iyyang.com Date: Wed, 14 Dec 2011 15:52:56 To: user@cassandra.apache.org Reply-To: i...@iyyang.com Subject: Re: Cassandra C client implementation Try libcassandra, but it doesn't support connection pooling --Original Message-- From: Vlad Paiu To: user@cassandra.apache.org ReplyTo

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
and has some issues... https://issues.apache.org/jira/browse/THRIFT/component/12313854 On 12/14/2011 09:11 AM, Vlad Paiu wrote: Hello, I am trying to integrate some Cassandra related ops ( insert, get, etc ) into an application written entirelly in C, so C++ is not an option. Is there any C

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
Hi, Just tried libcassie and seems it's not compatible with latest cassandra, as even simple inserts and fetches fail with InvalidRequestException... So can anybody please provide a very simple example in C for connecting fetching columns with thrift ? Regards, Vlad Vlad Paiu vladp

Re: Cassandra C client implementation

2011-12-14 Thread Vlad Paiu
functions are called, and guessing them is not going that good :) I'll wait a little longer see if anybody can help with the C thrift, or at least tell me it's not working. :) Regards, Vlad Eric Tamme eta...@gmail.com wrote: On 12/14/2011 04:18 PM, Vlad Paiu wrote: Hi, Just tried

Re: Cassandra Counters and TTL

2011-11-07 Thread Vlad Paiu
Hello, Thanks for your answer. See my reply in-line. On 11/04/2011 01:46 PM, Amit Chavan wrote: Answers inline. On Fri, Nov 4, 2011 at 4:59 PM, Vlad Paiu vladp...@opensips.org mailto:vladp...@opensips.org wrote: Hello, I'm a new user of Cassandra and I think it's great. Still

Cassandra Counters and TTL

2011-11-04 Thread Vlad Paiu
to atomically reset a counter ? I read on the website that the only way to do it is read the variable value, and then set it to -value, which seems rather bogus to me. Regards, -- Vlad Paiu OpenSIPS Developer