I read the rabbitmq tutorials and really liked the Idea of topic exchanges. In my architecture I would have topics like continent.city.street
. Where, as you can imagine, there are only a limited number of continents, but nearly infinite cities & streets, which both can have duplicated names (like NorthAmerica.GeorgsTown.Mainstreet
, Europe.GeorgsTown.Mainstreet
, Asia.NewTown.Mainstreet
and Australia.NewTown.LostRoad
)
Now I learned that Masstransit, a Libary I want to learn/use, does not support this kind of topics. (There are somehow supported but then I also could use a generic RabbitMq client)
So what is the best way to achieve a similar thing, as with rabbitmqs topic exchanges, but with Masstransit (over (any) MQ/rider system), in regards of performance?
Some facts which could make the difference regarding performance:
- Nearly no consumer is interested in a whole continent - but some are.
Asia.*.*
- Continents primary goal is to make cities unique (in this fictional case).
- About ~30% of the consumers would like to subscribe to cities regardless
of continent or street.
*.GeorgsTown.*
- About ~30% of the consumers would like to
know what happens on specific streets regardless the city or continent.
*.*.Mainstreet
- About ~30% is watching for specific combinations like
Antarctica.GeorgsTown.Mainstreet