You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by S Ahmed <sa...@gmail.com> on 2010/07/13 20:43:43 UTC
understand thrift
Just want some clarifications on thrift.
1. thrift creates a layer between Cassandra and the client, specific to
whatever language you want.
2. thrift generates an interface to Cassandra's service endpoints
*3. when Cassandra's endpoints have been modified, thrift needs to be
re-generated (along with potentially the language specific driver)
Is this correct or am I missing something?
Re: understand thrift
Posted by Peter Schuller <pe...@infidyne.com>.
> Just want some clarifications on thrift.
> 1. thrift creates a layer between Cassandra and the client, specific to
> whatever language you want.
Well, thrift allows cassandra to expose an RPC interface in a language
neutral fashion.
> 2. thrift generates an interface to Cassandra's service endpoints
> *3. when Cassandra's endpoints have been modified, thrift needs to be
> re-generated (along with potentially the language specific driver)
> Is this correct or am I missing something?
For changes in the service interface, the thrift compiler must be
re-run for any client to take advantage of that functionality.
In terms of backwards compatibility, changes can be backwards
compatible if they are carefully constructed to be such. It is thus up
to the service that exposes its interface via thrift, whether changes
in the interface are intended to be backwards compatible.
There may be thrift specific compatibility issues, but I believe those
are mostly at the source code level. I'm not sure if thrift has ever
broken binary compatibility?
--
/ Peter Schuller