[JBoss JIRA] Updated: (NETTY-318) Optimization of LengthFieldBasedFrameDecoder

Sergey Saleev (JIRA) jira-events at lists.jboss.org
Sun May 23 09:44:54 EDT 2010


     [ https://jira.jboss.org/browse/NETTY-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Saleev updated NETTY-318:
--------------------------------

    Attachment: FastLengthFieldBasedFrameDecoder.java


goals of this decoder:
* no dynamic buffers
* it returns input buffer slice if it holds whole frame
* it is faster than LengthFieldBasedFrameDecoder
restrictions:
- impossible to return length header in decoded frame (due to this restriction I'm suggesting it as alternative decoder, not as replacement to LengthFieldBasedFrameDecoder)

> Optimization of LengthFieldBasedFrameDecoder
> --------------------------------------------
>
>                 Key: NETTY-318
>                 URL: https://jira.jboss.org/browse/NETTY-318
>             Project: Netty
>          Issue Type: Feature Request
>          Components: Handler
>            Reporter: Sergey Saleev
>            Assignee: Trustin Lee
>            Priority: Optional
>         Attachments: FastLengthFieldBasedFrameDecoder.java
>
>
> It's a suggestion of new optimized decoder similar to LengthFieldBasedFrameDecoder, but with some restrictions (not fully compatible with LengthFieldBasedFrameDecoder)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list