Skip to content

Problem: messages dropped due to HWM race #2161

Closed
@bluca

Description

@bluca

Using ZeroMQ in a system with throughput of several million messages per second I was observing occasional drops of small number of messages, even when HWM is set to a value sufficient to accommodate all possible bursts in the flow.

The problem seems be caused by a race between process_activate_write() and check_hwm() on peers_msgs_read variable in zmq::pipe_t.

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