cassandra - Adding tor to the Thrift / Astyanax API -
im trying add together tor on-top of thrift astyanax , im wondering if has tried or come accross similar projects. extensive googling (and bing searching) has lead me nowhere. stared looking through astyanax's source code in effort find actual connection between client , cassandra takes place , ended @ this class. far can tell plays little part need find if api uses inputstream , outputstream object send , receive info , overload connection.
this question might closed localised, im hoping cassandra / astyanax gurus can point me in right direction.
you need find cassandra builds bridge between client machine , server. class (or collection of classes) provide means of connection using socket uses input/output streams send , receive data.
update: key classes thrift api (libthrift) used in hector , astyanax
org.apache.thrift.transport.tsocket
- creates socket used connect cass. org.apache.thrift.transport.tiostreamtransport
- handles in/out stream , info added (what u send/receive) the next steps should take divert socket connect cassandra through tor rather tcp/ip.
cassandra thrift astyanax
No comments:
Post a Comment