thrift

Using thrift with PHP and Java

I am getting myself a bit confused about how to go about this. My plan is to use PHP to perform the final page construction and this PHP web app will contact multiple services, which i will also to develop, for the data. Lets say one of those services was done in Java. I would define a Java interface which was implemented by a concrete c...

Maven Thrift repository

Does anyone know if the Thrift libraries are in any Maven repository? ...

"Tracking" connections with Thrift

I am trying to create a game using Thrift, so that the clients are the players, and the server manages the boards, much like this. However, I cannot figure out how Facebook's Thrift server can "track" the user, i.e. when calling attack() on their service, I do not have to identify myself again. According to what the generated server stu...

Migrating C# code from Cassandra .5 to .6

I have some some simple code derived from an example that is meant to form a quick write to the Cassandra db, then loop back and read all current entries, everything worked fine. When .6 came out, i upgraded Cassandra and thrift, which threw errors in my code (www[dot]copypastecode[dot]com/26760/) - i was able to iron out the errors by c...

How can i delete/drop entire keyspace using php: cassandra :thrift

How can i delete/drop entire keyspace using php: cassandra :thrift ...

Is there any documentation for the Cassandra Erlang interface?

I have looked everywhere, and to use Cassandra from Erlang you end up having to download (amongst others): boost thrift : and then you have generate the erlang library by hand, and then copy lib files and beams files. Once you have the whole thing working there is absolutely zero documentation anywhere. If anyone could show me some use...

Is there a simple way to generate the Erlang Thrift files for Cassandra on Windows?

It seems that these can only be generated on Unix and then copied over to Windows ...

RPC for java/python with rest support, HTML monitoring and goodies

Here's my set of requirements: I'm looking for an RPC framework such as thrift, avro, protobuf (when adding services to it) which supports: Easy and intuitive IDL. No serial numbers, no manual versioning, simple... avro is a good example for this. Works with Java and Python Supports both fast binary prorocol, as well as HTTP based re...

cassandra thrift: append data

If I need to append data (not insert) into a particular super column, what should I do? For eg: Consider a existing record described below Kespace : test columFamily: testColum SuperColumn : testSuper column_name : email value : [email protected] Here if I want to add my phone number to the super column "testSuper". What should I...

Read Cassandra is always taking 60 sec. Why? (cassandra ,thrift,php)

While i am retrieving data from cassandra using thrift and php, it alwas taking 60 sec. Why ...

Using Thrift to connect to Cassandra from .NET

Hi, I'm interested in Cassandra and I'd like to test it at home in my Windows XP computer. I've found instructions for install an run Cassandra in Windows, and it's already up and running; I've also found the thrift executable for Windows and generate the C# interfaces, but... when I try to compile that generated code in Visual Studio I...

Thrift supports JSON in C++ and Java, is C# support floating around somewhere?

As the question asks, is there any know C# support for writing (don't care about reading) JSON via Thrift. ...

How can i access recent 10 values from cassandra super column

How can i access recent 10 values from cassandra. i need to get the recent values from a particular super column. I am getting the result, but which is not sorted properly. i need to sort the result with descending order(latest first based on the column name/timestamp) ...

how to retrieve largest value from a particular column in cassandra ?

how can i retrieve largest value from a particular column in Cassandra ? i am storing tag name as name and number of clicks as value in Cassandra. Now i need to find out what are the most popular tags(based on the click)? Please Help me example : supercolumn : movies columnname : "matrix" value : 10(number of clicks) supercolumn ...

Is there a Thrift or Cassandra client for Node.js/JavaScript

I would like to start using Cassandra with a node.js deployment, but I can't find a Thrift or Cassandra client for Node.js and/or JavaScript. Is there one? Is there a simple means of generating Thrift connections? Update: The short answer to this question turns out to be no, there is no JS client for Thrift that is compatible with Ca...

Thrift JS compatibility with Cassandra (JSON Protocol)

I have generated a Thrift lib for Cassandra targeting JavaScript from the latest Thrift build in SVN. However, I noticed in the provided js thrift client library the following statement: This client can only speak the JSON Protocol and the only supported transport is AJAX. Does anyone know if the JSON protocol is compatible wi...

Apache thrift, struct contain itself

I am looking into thrift for serialization of data. But Document says cyclic structs - Structs can only contain structs that have been declared before it. A struct also cannot contain itself One of our requirement is Struct A List of Child items Items(Items are Struct A ) So reading requirement i can't have Struct within itse...

Cassandra random read speed

We're still evaluating Cassandra for our data store. As a very simple test, I inserted a value for 4 columns into the Keyspace1/Standard1 column family on my local machine amounting to about 100 bytes of data. Then I read it back as fast as I could by row key. I can read it back at 160,000/second. Great. Then I put in a million similar...

MongoDb ObjectId on Apache Thrift.

How can I send MongoDb ObjectId using Apache Thrift without decoding/encoding to string? ...

C++ linker error after change in thrift file

Hi all, I think this is related to C++ linker error than to thrift. I made a change to the thrift file and regenerated cpp & java classes. After this change, I started getting linker errors in cpp. Here is the error Undefined symbols: "com::XXXX::thrift::employee::SavingsInfo::operator<(com::XXXX::thrift::employee::SavingsInfo const&...