We run thrift servers behind haproxy so we can easily switch things around.
On Wed, May 28, 2014 at 10:52 AM, Samoilov <[email protected]> wrote: > Greetings, > We are building v1 version of our service that will implement Thrift > interface. The service must run uninterruptedly even during update (e.g. we > update from v1 to v2). I want to avoid updates based on port (run v1 on > port1 and v2 on port2) as this makes updates pretty complicated. One of the > ideas to try SO_REUSEPORT option with socket. I see that (THRIFT-2034) > provides access to socket. But too late - after bind. May be there is a > better option for uninterrupted update? Or somebody already knows that > SO_REUSEPORT will not work. > > Thank you, > Denis >
