[infinispan-issues] [JBoss JIRA] (ISPN-8981) Generate Hot Rod parser automatically

Dan Berindei (JIRA) issues at jboss.org
Fri Jul 13 12:15:00 EDT 2018


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

Dan Berindei updated ISPN-8981:
-------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.4.0.Alpha1
       Resolution: Done


> Generate Hot Rod parser automatically
> -------------------------------------
>
>                 Key: ISPN-8981
>                 URL: https://issues.jboss.org/browse/ISPN-8981
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Server
>    Affects Versions: 9.2.0.Final
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>             Fix For: 9.4.0.Alpha1, 9.4.0.Final
>
>
> This JIRA has two objectives:
> 1. reduce number of allocated objects
> 2. improve the parsing on server side to avoid chains of lambda mappings
> Manual parsing of Hot Rod protocol, invoking recursive methods that return {{Optional}}s or {{Optional<Optional<...>}}s seems to generate a lot of garbage. A better approach would be a finite state automaton that would read the byte stream and invoke callbacks.
> Such automaton can be generated from a high-level grammar as part of the build process.
> Along with these changes we can remove the {{Response}} abstraction and write responses directly as {{ByteBuf}}s.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list