Skip to content

Fix StreamIdGenerator performance (see comments inside) #3

@KowalczykBartek

Description

@KowalczykBartek

see comment

he c++ clients often have ~30K pending requests to backends - no big deal.

You can have code to check if session has been released, but you can also just explicitly document it.

Say, you can at-most be 65K requests away. It will fail otherwise.

we can have a roaring bitmap since this sessions have really nice properties of effectively monotinic increasing sequences mostly that tells the user if the request id is inuse.

IMO - we can defer that as long as we document it. it is rare - though has happened - on failure - for one client to have 65K outstanding reqs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions