facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

Queued responses per connection config #229

Closed andrewcox closed 9 years ago

andrewcox commented 9 years ago

Add a ThriftServerConfig to allow you to set this Nifty option.

This limit applies when either server or client doesn't support sending/receiving out-of-order responses. In this case, the server queues up out-of-order responses until it has a string of them prepared to send in-order. If the # of responses for a given connection gets too high, the server will turn off reads for that connection until all the responses are ready.

alandau commented 9 years ago

lgtm