Hi,

> For multiple services I think multiplex protocol is the best choice

Correct. Multiplex allows to offer multiple Thrift services over a single, 
shared communication endpoint (or Thrift protocol/transport stack).


> not sure what kind of server ( somewhat like concurrent server)
> can go along with it. The code implementation is in c++.

I personally made good experiences with ThreadPool servers. Note that there 
are also Threaded servers, but I would recommend to use ThreadPool instead, 
because this way you can control the amount of threads being used.

Nonblocking may also be worth a look, but so far I did not really use them 
on my own, so I can't say much about how they behave.

Personal opinion, mileage may vary.

Have fun,
JensG



-----Ursprüngliche Nachricht----- 
From: Jhelum Bisht
Sent: Tuesday, September 27, 2016 4:29 AM
To: user@thrift.apache.org
Subject: Re: Concurrent multiplex server in thrift

Hi JensG,

I would like to know about option of server which can provides multiple
services and client can make multiple non blocking call/concurrent call to
server to avail these services. For multiple services I think multiplex
protocol is the best choice but not sure what kind of server ( somewhat
like concurrent server) can go along with it. The code implementation is in
c++.

Thanks
On 26 Sep 2016 01:33, "Jens Geyer" <jensge...@hotmail.com> wrote:

> Hi Jhelum,
>
> I referred to that post:
> http://stackoverflow.com/questions/39639476/single-
> thrift-java-server-serving-tcompactprotocol-and-tjsonprotocol
>
> If that was not you then I might have confused things, but ThriftUser and
> user3536652 looked very similar to me. ;-)
>
> Nevertheless, does that SO post answer your question?
>
> Have fun,
> JensG
>
>
>
> -----Ursprüngliche Nachricht-----
> From: Jhelum Bisht
> Sent: Friday, September 23, 2016 7:13 AM
> To: user@thrift.apache.org
> Subject: Re: Concurrent multiplex server in thrift
>
> I am not aware where exactly is your response posted.
>
> On Fri, Sep 23, 2016 at 3:28 AM, Jens Geyer <jensge...@hotmail.com> wrote:
>
> > Hi ThriftUser,
> >
> > I already answered your question on SO.
> >
> >
> > Best regards,
> > Thrift Developer
> >
> >
> > -----Ursprüngliche Nachricht-----
> > From: thriftUser thriftUser
> > Sent: Thursday, September 22, 2016 10:00 PM
> > To: user@thrift.apache.org
> > Subject: Concurrent multiplex server in thrift
> >
> > Hi,
> >
> > Is there a way to implement concurrent multiplex server in thrift API?
> >
> > Thanks
> > User
> >
> >
>
> 

Reply via email to