Skip to content

Investigate JSON RPC streaming #1036

Closed
Closed
@AbdelStark

Description

Instead of creating a jackson object for an entire array of results and then serializing it, huge queries like range-based eth_getLogs would benefit from being able to be streamed.

We would need to manually write the beginning of the json array and the interspersing separators. We would create jackson objects for each result that would rely on the jackson serialization.

Maybe we can do something like this in reverse?
https://www.nurkiewicz.com/2017/09/streaming-large-json-file-with-jackson.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    dev experienceThe build system, things that enable easier development etc.performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions