Skip to content

8.0 proposal: LazyBasicProperties / IReadonlyBasicProperties  #965

Open
@JanEggers

Description

@JanEggers

https://user-images.githubusercontent.com/661658/96521641-37aacc00-1261-11eb-89d9-abe85fbc2dec.png

shows that currently there are large allocations of BasicProperties and subsequent strings contained in the BasicProperties

My proposal is to either split IBasicProperties or create IReadonlyBasicProperties with only get accessors.

(i didnt do the research yet maybe IBasicProperties can remain and just remove all the setters)

That way we can provide a new Implementation for incoming messages that just deserializes the properties that are actually accessed resulting in much lower computational and memory overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions