+1 to what Andrey said.

You could also run Redis as a backend and use it's pubsub service [1], if
being more language agnostic is more your thing.

Depending on where you are hosting, you could also use a hosted pubsub
mechanism, such as Google Cloud PubSub[2] or AWS SNS[3].

There are definitely lots of ways to solve this particular problem outside
of vert.x

[1]: http://redis.io/topics/pubsub
[2]: https://cloud.google.com/pubsub/docs
[3]: https://aws.amazon.com/sns/faqs/

On 23 January 2016 at 08:20, Andrey Antukh <n...@niwi.nz> wrote:

> The eventbus of vert.x as far as I know is implemented on top of
> hazelcast[1] that you already can use from clojure.
>
> Make a eventbus like concept on top of hazelcast is pretty easy and it
> already gives you the autodiscovery and all the "clustering" stuff for free.
>
> [1]; http://hazelcast.org/use-cases/messaging/
>
> Andrey
>
> On Sat, Jan 23, 2016 at 1:50 PM, qsys <kurt....@gmail.com> wrote:
>
>> Depends on what you want... what I really like is the easy modularity:
>> deploy new 'verticles' somewhere in your network, and they're just all
>> connected through a the eventbus. I make a 'new' module, I put it somewhere
>> and it's automatically picked up by the appication and I can communicate
>> with it using that event bus. Is there something similar in clojure, or can
>> I achieve something similar in clojure? I checked
>> - catacumba: web toolkit, not what I'm after
>> - sente: is about the web
>> - aleph: comes closer: does have tcp-servers, but no autodiscovery, and
>> well, no 'event bus' (a kind of wrapper around netty etc).
>> - manifold: I don't really see the added value, having core.async - but I
>> may fail to see something important here
>> - pomegranate: is possibly very interesting in adding new modules... not
>> for removing 'old versions' of a module.
>> - pedestal: have to have a deeper look into it, but so far, I have a
>> feeling it's more about web than 'intra-program' communication
>>
>> So, so far, I don't see how to implement something like the vert.x event
>> bus, with autodiscovery, in clojure (although I would love to see something
>> like it), expanding to the browser. I don't mind (and prefer) composing it
>> using different libraries, but I feel to see how to have this functionality
>> in clojure (now, I wrap the vertx eventbus in my clojure programs), and
>> since I already load vertx for the eventbus, I use it as web server as
>> well, if I need one... So well, if someone has an idea, it might be a nice
>> project I'd love to work on :).
>>
>> thx, qsys
>>
>> Op zondag 3 januari 2016 22:25:04 UTC+1 schreef tbc++:
>>>
>>> I've done some evaluations of Vert.x in the past and was rather
>>> underwhelmed. What is it that you are trying to accomplish? Stuff like
>>> Pedestal offers async web services, but without the complexity of an
>>> traditional evented server. So perhaps if we had a better idea of your
>>> requirements we could be a bit more helpful.
>>>
>>> So I'd say, look into Pedestal and then define what you need that it
>>> cannot do. Same for other toolkits like ring and httpkit.
>>>
>>> Timothy
>>>
>>> On Sun, Jan 3, 2016 at 12:59 PM, adrians <nma...@gmail.com> wrote:
>>>
>>>>
>>>> It used to be that Vert.x 2.x had integration for Clojure, but version
>>>> 3.x hasn't added it yet. Has anyone used this version through the Java API
>>>> and if so, how painful was it? Is Reactor <http://projectreactor.io/>any
>>>> better in that respect? What are people using when they want this kind of
>>>> back end?
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To post to this group, send email to clo...@googlegroups.com
>>>> Note that posts from new members are moderated - please be patient with
>>>> your first post.
>>>> To unsubscribe from this group, send email to
>>>> clojure+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/clojure?hl=en
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to clojure+u...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> “One of the main causes of the fall of the Roman Empire was that–lacking
>>> zero–they had no way to indicate successful termination of their C
>>> programs.”
>>> (Robert Firth)
>>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Andrey Antukh - Андрей Антух - <n...@niwi.nz>
> http://www.niwi.nz
> https://github.com/niwinz
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
http://www.2ddu.com/

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to