摘要 |
Disclosed are systems and methods for fast, efficient content-based routing that allow a router to perform true content-based routing without having to de-serialize the data and apply a full content-based filter by determining the exact set of consumers to forward the data onto based on packet headers is desired. Fast content-based routing may be more efficient than matching for content-based addressing because a system for fast content- based routing does not require a matching tree to be built. A system for fast content- based routing may receive a subscription from a receiver machine and may assign a unique subscription ID associated with the subscription in a router table. The system may then place a subscription ID associated with a particular subscription in a message header if the message corresponds to the subscription. The system may then analyze the router table to determine one or more receiver machines associated with the subscription ID in the header of the message. The system may then send, from a sender machine to one or more receiver machines, one or more messages containing the subscription ID in the header of the message. |