Re: QUERY-supporting http server online

On 16.09.2024 18:57, Tim Bray wrote:
> FWIW I have a use case for QUERY, I think.
>
> When I was at AWS I worked on this software package called Ruler that’s
> now open-sourced as aws/event-ruler
> <https://github.com/aws/event-ruler> - in recent years I’ve done a
> repeat in Go, see timbray/quamina <https://github.com/timbray/quamina>.
> What they do is allow you to compile a bunch of “patterns" together into
> a matcher, and then show JSON blobs at the matcher and it tells you
> which patterns matched them, in a time that is (a) very fast and (b)
> roughly O(1) in the number of patterns.  Ruler is widely used both in
> AWS and Amazon retail, these things operate at huge scale and really
> like the performance curve.
>
> Anyhow, the patterns present as Json objects, of arbitrary
> size/complexity. See either project’s README.  Adding a pattern is
> idempotent and incurs no obligations. But you need to send an
> application/json payload along. So, QUERY would be just the ticket.

Yep, sounds right.

I assume this currently uses POST?

Best regards, Julian

Received on Monday, 16 September 2024 19:12:58 UTC