Skip to content

Known Limitation of YMQ #194

@gxuu

Description

@gxuu

These limitations were listed in #149. An issue would be a better place to put those in. Most of the things listed below are still not implemented. There are currently no plan on implementing them before the Windows support is finished.

Limitations

Ability

  • Current implementation does not allow listen on multiple addresses.
  • Current implementation does not allow back-to-back connect to multiple addresses.
  • Current implementation does not allow connect to remote end when an existing connection is retrying.
  • Current implementation does not allow duplicate identity.
  • Current implementation does not support NS lookup.

Performance

  • Current implementation do sendMessage in O(n) time which can be reduced to O(lg n) easily.
  • Current implementation do connection construction in O(n) time which can be reduced to O(lg n) not so easily.

Security

  • Current implementation does not clear empty connection (ones that connect but never send anything).
  • Current implementation does not clear connections with abnormal traffic (for example sending one bytes per 5 seconds).
  • Current implementation does not set limits on package size.
  • Current implementation does not differentiate true close and false close (based on the assumption that our use case don't close until the program finishes).

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