thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From panfei <cnwe...@gmail.com>
Subject Re: heartbeats for thrift server
Date Sun, 17 Jun 2012 03:54:16 GMT
I want to know if  the heartbeat can be sent in the loop of thrift server ,
so I need not to write a loop of sending heartbeat, thanks.

2011/11/5 Scott Gonyea <scott@aitrus.org>

> This is quite easy. Spin off a thread and have it run down a checklist, on
> a given timeout.
>
> Plan B, add a 'ping' thrift method and call it as you see fit.
>
> Personally, I run Thrift behind HAProxy. It gives me decent insight into
> state and handles load balancing for me.
>
> Sent from my iPhone
>
> On Nov 4, 2011, at 8:30 PM, Prakash Kadel <prakash.kadel@gmail.com> wrote:
>
> > hello,
> > i am looking for a way to have kind of heartbeats in a thrift server,
> where the server does certain task in a loop, like sending out status to a
> db. could anyone give me suggestions for that.
> > sincerely,
> > prakash kadel
> >
> > Sent from my iPhone
>



-- 
不学习,不知道

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message