Skip to main content

General Topics

📄️ Content filtering sounds cool, how does it work?

Content filtering is a message filtering capability that provides a high degree of selectivity for messages. A subscription in AMPS consists of a topic and an optional content filter. A content filter is an expression that combines an XPath Locator with a SQL-style predicate so that AMPS can evaluate individual elements of the message content to determine if a message matches the subscription. As messages enter AMPS, they get filtered by topic and then the messages are matched against their optional content filters. Content filtering allows an application to be very specific about what content it will receive.

📄️ Is AMPS a point-to-point messaging product?

AMPS has been designed to offer a high degree of message selectivity using topic and content filtering. When using content filters an application can specify the exact messages that it desires and thus a point to point connection makes the most sense. Multicast style messaging products are typically useful for scenarios where many applications want to get the same exact data. However, in scenarios where message selectivity is desirable then multicast can be problematic as applications receive too much data that they read from the network and discard. The extra volume of data and discarding of data can lead to latency inside the application. AMPS was designed to only deliver the messages desired and thus eliminate wasted application cycles dedicated to discarding messages.