thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Chambers <mchamb...@wetafx.co.nz>
Subject Thrift C++ question
Date Mon, 18 Jun 2012 21:55:56 GMT

Anyone have a good way to retry an RPC on another connection if the 
client side service object fails with a TTransportException or socket 
error?

In python its easy, I just bring up a new TSocket, Protocol, Transport, 
and Service on a different node and call the same function with the same 
args.  Users never even know a server just died or was restarted.  With 
C++ its proving to be more of a hassle.

-Matt

Mime
View raw message