incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Stevenson (Moved) (JIRA)" <>
Subject [jira] [Moved] (AWF-39) Optimize ByteBuffer usage in critial write path
Date Wed, 29 Feb 2012 10:10:00 GMT


Tony Stevenson moved DEFT-65 to AWF-39:

    Reporter: Niklas Gustavsson
         Key: AWF-39  (was: DEFT-65)
     Project: Apache AWF  (was: Deft)
> Optimize ByteBuffer usage in critial write path
> -----------------------------------------------
>                 Key: AWF-39
>                 URL:
>             Project: Apache AWF
>          Issue Type: Bug
>            Reporter: Niklas Gustavsson
> #63 (Asynchronous write) introduced alot of ByteBuffer usage. Optimize this usage.
> Hint: (ByteBuffer usage in) HttpResponse.[write, flush, finish, ensureCapacity, allocate,
> BB reuse (e.g single bb used for both read and write), key methods: flip() // prepare
bb for writing
> when write is done, if buffer has remaining => compact() // make room for more data
be read in

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message