Re: compiled thrift

2010-08-29 Thread Aaron Morton
Sorry, was following the guide here. http://wiki.apache.org/cassandra/InstallThriftDoes that still apply?AaronOn 30 Aug, 2010,at 01:49 PM, Jonathan Ellis wrote:On Sun, Aug 29, 2010 at 1:53 PM, aaron morton wrote: > It's necessary to  match the thrift version (svn checkin) with the version > used

Re: compiled thrift

2010-08-29 Thread Jonathan Ellis
On Sun, Aug 29, 2010 at 1:53 PM, aaron morton wrote: > It's necessary to  match the thrift version (svn checkin) with the version > used by cassandra. No, it isn't.

Re: Cassandra & HAProxy

2010-08-29 Thread Anthony Molinaro
On Sun, Aug 29, 2010 at 12:20:10PM -0700, Benjamin Black wrote: > On Sun, Aug 29, 2010 at 11:04 AM, Anthony Molinaro > wrote: > > > > > > I don't know it seems to tax our setup of 39 extra large ec2 nodes, its > > also closer to 24000 reqs/sec at peak since there are different tables > > (2 table

Re: Cassandra & HAProxy

2010-08-29 Thread Ming Fang
Sent from my iPhone On Aug 29, 2010, at 3:20 PM, Benjamin Black wrote: > On Sun, Aug 29, 2010 at 11:04 AM, Anthony Molinaro > wrote: >> >> >> I don't know it seems to tax our setup of 39 extra large ec2 nodes, its >> also closer to 24000 reqs/sec at peak since there are different tables >>

Re: Follow-up post on cassandra configuration with some experiments on GC tuning

2010-08-29 Thread Edward Capriolo
On Sun, Aug 29, 2010 at 1:53 PM, Carsten Krebs wrote: > > > Also, note that lack of saw-toothing is not a goal in and of itself > and may even be bad. For example, with respect to the young generation > the situation is essentially: > > (1) The larger the young generation, the more significant the

Re: Cassandra & HAProxy

2010-08-29 Thread Benjamin Black
On Sun, Aug 29, 2010 at 11:04 AM, Anthony Molinaro wrote: > > > I don't know it seems to tax our setup of 39 extra large ec2 nodes, its > also closer to 24000 reqs/sec at peak since there are different tables > (2 tables for each read and 2 for each write) > Could you clarify what you mean here?

Re: compiled thrift

2010-08-29 Thread aaron morton
Check one of the ruby client libraries for cassandra, they will probably include it. It's necessary to match the thrift version (svn checkin) with the version used by cassandra. This is normally in the top level directory of the bin / src distribution. aaron On 29 Aug 2010, at 21:21, cassa

Re: Cassandra & HAProxy

2010-08-29 Thread Benjamin Black
On Sun, Aug 29, 2010 at 11:04 AM, Anthony Molinaro wrote: > If one machine is misbehaving it tends to fail pretty quickly, at which > point all the haproxies drop it (we have an haproxy on every client node, > so it acts like a connection pooling mechanism for the client). Cool. Except this is n

Re: Clients, protocols and TSockets

2010-08-29 Thread aaron morton
You will want each thread to have a connection (include the socket and associated objects), otherwise the threads will stomp over each other and you will do things like read the response from the wrong thread. Aaron On 29 Aug 2010, at 18:32, Kevin Irwig wrote: > Hi, > > performance wise, in

Re: Cassandra & HAProxy

2010-08-29 Thread Anthony Molinaro
On Sat, Aug 28, 2010 at 02:44:41PM -0700, Benjamin Black wrote: > On Sat, Aug 28, 2010 at 2:34 PM, Anthony Molinaro > wrote: > > I think maybe he thought you meant put a layer between cassandra internal > > communication. > > No, I took the question to be about client connections. Sorry didn't

Re: Follow-up post on cassandra configuration with some experiments on GC tuning

2010-08-29 Thread Carsten Krebs
> > Also, note that lack of saw-toothing is not a goal in and of itself > and may even be bad. For example, with respect to the young generation > the situation is essentially: > > (1) The larger the young generation, the more significant the saw-tooth. > (2) The larger the young generation, the

Re: Calls block when using Thrift API

2010-08-29 Thread Ruben de Laat
Just for the people looking to run Cassandra embedded and access directly (not via Thrift/Avro). This works: StorageService.instance.initServer(); And then just use the StorageProxy for data access. I have no idea if this is the right way, but is works. Kind regards, Ruben On Fri, Aug 27, 20

Re: compiled thrift

2010-08-29 Thread cassam read
I primarily use CentOS 5 . But I tried in Ubuntu 10 also I dont follow windows. On Sun, Aug 29, 2010 at 2:42 PM, Kevin Irwig wrote: > Hi, > > if you're on windows, you can get binaries from > http://www.bernhardglueck.com/archives/60 . > Not sure how up to date they are though. > > cheers, > Ke

Re: compiled thrift

2010-08-29 Thread Kevin Irwig
Hi, if you're on windows, you can get binaries from http://www.bernhardglueck.com/archives/60 . Not sure how up to date they are though. cheers, Kevin. - Original Message - From: cassam read To: user@cassandra.apache.org Sent: Sunday, August 29, 2010 7:02 PM Subject: compile

compiled thrift

2010-08-29 Thread cassam read
Can anyone provide me compiled thrift. I have tried many times but every time i failed compiling thrift with php py ruby I have installed these before compiling thrift.. yum install automake* libtool* flex* bison* pkgconfig* gcc-c++ boost-devel* libevent-devel* zlib-devel* python-devel* ruby-deve