Skip to content

maybe pool eth ws clients or create new ones ad-hoc? #11

@zeroXbrock

Description

@zeroXbrock

when looking at the debug logs, I'm noticing that the service_request id is incrementing serially. That tells me that the same client is being used for all requests, which makes sense bc that's how I designed it. But I wonder if it will cause problems, i.e. if the ID maxes out its type -- that would practically never happen with a u64, though. What other problems might occur from using the same client for every request?
Does it force the responses to be processed serially by the node? In that case we could be missing out on parallelization gains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions