Live data from Hacker News

Emissary, a fast open-source Java messaging library

github.com

1–10 of 16 posts

Re: Emissary, a fast open-source Java messaging library

#2
Emissary is a simple-to-use, no dependency, yet BLAZING FAST messaging library for decoupling messages (requests and events) and message handlers.

Emissary aims to take advantage of the simplicity of using the annotations for handlers (e.g. @RequestHandler/@EventHandler) without the drawbacks of reflection (slow).

What differentiates Emissary from other messaging/dispatch libraries? It takes advantage of java.lang.invoke.LambdaMetafactory to avoid the cost of invoking methods reflectively. This results in performance close to directly invoking the request handler and event handler methods.

~ 1000% more throughput compared to other similar libraries (Spring's ApplicationEventPublisher, Pipelinr, EventBus) ~ 90% faster compared to other similar libraries (Spring's ApplicationEventPublisher, Pipelinr, EventBus)

Benchmarks found on the GitHub repository: https://github.com/joel-jeremy/emissary?tab=readme-ov-file#p...

Re: Emissary, a fast open-source Java messaging library

#3

Emissary is a simple-to-use, no dependency, yet BLAZING FAST messaging library for decoupling messages (requests and events) and message handlers. Emissary aims to take advantage of the simplicity of using the annotations for handlers (e.g. @RequestHandler/@EventHandler) without the drawbacks of reflection (slow). What differentiates Emissary from other messaging/dispatch libraries? It takes advantage of java.lang.in…

Assuming that you are the author of Emissary, this could be a Show HN, I think.

https://news.ycombinator.com/showhn.html

Re: Emissary, a fast open-source Java messaging library

#4

Emissary is a simple-to-use, no dependency, yet BLAZING FAST messaging library for decoupling messages (requests and events) and message handlers. Emissary aims to take advantage of the simplicity of using the annotations for handlers (e.g. @RequestHandler/@EventHandler) without the drawbacks of reflection (slow). What differentiates Emissary from other messaging/dispatch libraries? It takes advantage of java.lang.in…

Assuming that you are the author of Emissary, this could be a Show HN, I think. https://news.ycombinator.com/showhn.html

> To post, submit a story whose title begins with "Show HN".

I always enjoy how low-tech this website is. Not necessarily great UX, but it's quaint.

Re: Emissary, a fast open-source Java messaging library

#10

Earlier quoted context omitted.

Assuming that you are the author of Emissary, this could be a Show HN, I think. https://news.ycombinator.com/showhn.html

> To post, submit a story whose title begins with "Show HN". I always enjoy how low-tech this website is. Not necessarily great UX, but it's quaint.

This is the only site I go to without fear of having to wait for page load.
Post reply on HN