You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Matthew Chambers <mc...@wetafx.co.nz> on 2012/03/29 07:55:27 UTC

questions from a new user

Hello,

I've been poking around the mailing list archives but can't seem to find 
an answer for this.

Is there a way I can setup pre/post hooks to thrift calling functions on 
my service?  I'd like to keep some statistics on number of times each 
method was called, response times, etc, but don't really want to add 
that to every single function.

Another question is, I want to replicate the same method call to another 
server.  Is there an easy way to do this?

Finally, a request.  One server, multiple services would be great.

Using Java.

Thank you
Matt



Re: questions from a new user

Posted by Bryan Duxbury <br...@rapleaf.com>.
On Wed, Mar 28, 2012 at 10:55 PM, Matthew Chambers
<mc...@wetafx.co.nz>wrote:

> Hello,
>
> I've been poking around the mailing list archives but can't seem to find
> an answer for this.
>
> Is there a way I can setup pre/post hooks to thrift calling functions on
> my service?  I'd like to keep some statistics on number of times each
> method was called, response times, etc, but don't really want to add that
> to every single function.
>
No.


>
> Another question is, I want to replicate the same method call to another
> server.  Is there an easy way to do this?
>
You could probably make a custom processor that redispatches, but there's
nothing already built.


>
> Finally, a request.  One server, multiple services would be great.
>
Sorry, no. Much requested, but not supported.


>
> Using Java.
>
> Thank you
> Matt
>
>
>