hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srouthiau <...@git.apache.org>
Subject [GitHub] httpcore pull request: Reuse of SessionInputBuffer and SessionOutp...
Date Thu, 19 Mar 2015 15:59:40 GMT
Github user srouthiau commented on the pull request:

    This opt was done in the scope of one of my customer mission. I don't know
    if he want to invest more time for this.
    I'll ask him next time and let you know.
    For the use of ThreadLocal, il agree it can lead to reuse large (too large)
    buffers, that's why i have included a test to check if the buffer is not
    too large to we can reuse it.
    2015-03-19 16:47 GMT+01:00 Oleg Kalnichevski <notifications@github.com>:
    > Thread locals are really a double-edged sword and should be used sparingly
    > in low level libraries. Can we provide a strategy interface similar to
    > SSLBufferManagementStrategy in order to support multiple allocation
    > strategies?
    > --
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/httpcore/pull/9#issuecomment-83640151>.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message