thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Craig <>
Subject Re: How to increase thrift_framed_transport_size_in_mb?
Date Thu, 18 Jul 2013 17:43:13 GMT
I didn't find any identifier named thrift_framed_transport_size_in_mb, but 
you can change the initial size of the buffer in TFramedTransport.  One of 
the constructors has the following signature:

  TFramedTransport(boost::shared_ptr<TTransport> transport, uint32_t sz).

If you need to adjust the size that comes through a transport factory, 
then you will need code similar to the following:

class TFramedTransportFactory : public TTransportFactory {
  virtual boost::shared_ptr<TTransport> 
getTransport(boost::shared_ptr<TTransport> trans) {
    return boost::shared_ptr<TTransport>(new TFramedTransport(trans), 

From:   Vivek Goel <>
Date:   07/18/2013 12:36 PM
Subject:        How to increase thrift_framed_transport_size_in_mb?

I want to increase thrift_framed_transport_size_in_mb. I am using C++ at
both server and client. How can I increase that value ?

Vivek Goel

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