[infinispan-issues] [JBoss JIRA] (ISPN-8981) Generate Hot Rod parser automatically
Diego Lovison (Jira)
issues at jboss.org
Mon Oct 22 14:00:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-8981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Lovison closed ISPN-8981.
-------------------------------
> 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
> Priority: Major
> Fix For: 9.4.0.Alpha1, 9.4.0.CR3
>
>
> 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.12.1#712002)
More information about the infinispan-issues
mailing list