Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern matching #198

Open
danielo515 opened this issue May 24, 2018 · 10 comments
Open

Pattern matching #198

danielo515 opened this issue May 24, 2018 · 10 comments

Comments

@danielo515
Copy link

Hello,
I'm doing a deep research of all the microservices frameworks out there. I've checked Seneca, Hemera, Moleculer and now hydra.

Something I really like from Hemera and Seneca is pattern matching. This feature really allows incrementally adding features. As a bonus there is absolutely no need to know which service can handle the message beforehand, super cool.

Hydra has another thing that I also like a loot, which is direct service communications. There are sometimes when you need to transfer a big payload and know who should handle it, in that case direct http or tcp communication seems better. (if hydra is not doing this please clarify it, thanks)

My question is, are you aware of pattern matching and if so, do you have plans to implement it?

Regards

@danielo515
Copy link
Author

We are taking Hydra in consideration for starting a new project, however this feature is important to us and I would like to have it clarified.

Regards

@cjus
Copy link
Contributor

cjus commented Jun 5, 2018

@danielo515 Hydra does not support pattern matching but does support HTTP and message routing. See here: https://www.hydramicroservice.com/?q=route

@danielo515
Copy link
Author

Does not support, and will never support I guess ?

@cjus
Copy link
Contributor

cjus commented Jun 5, 2018

@danielo515 we're always up for a PR! Even a write-up of what others are doing would be a great way to kick this off! That way we can at least start discussion until someone picks up the feature.

@danielo515
Copy link
Author

Hello.
Do you mean a writeup on this same issue or something more like an article or blog post?

@cjus
Copy link
Contributor

cjus commented Jun 6, 2018

I was thinking more of a proposal document. Once which lists requirements or features. A doc which looks at what others are doing and says "it would be cool if hydra did this..." The document doesn't have to be long and can, in fact, be opinionated. Such a document would help to start a conversation.

@cjus
Copy link
Contributor

cjus commented Jun 6, 2018

@danielo515 BTW, have you read Richard Rodger's book "The Tao of Microservices"?

@cjus cjus closed this as completed Jun 6, 2018
@cjus cjus reopened this Jun 6, 2018
@danielo515
Copy link
Author

HEllo @cjus

The Tao of Microservices

No I did not, but I think I will. I am reading buliding microservices with node.js, which uses seneca. Maybe I could read that one after. Thanks for your suggestions.

@sjmcdowall
Copy link
Contributor

sjmcdowall commented Jun 7, 2018

@danielo515 -- The author of The Tao of Microservices is the primary author of Seneca :) It's a very good conceptual read that should be "groked" regardless of the underlying implementation decided on. Best to understand how you want microservices to work and design the architecture then you can implement on top of any of the good frameworks out there IMHO.

@danielo515
Copy link
Author

@sjmcdowall
Absolutely. I read several blogs post of the Seneca author (which I'm unable to find again :sad:). He has very good ideas and a very good vision about how to make something scalable and extensible. I will read the book for sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants