[racket] Internet of Things/ Marketplace

From: Jukka Tuominen (jukka.tuominen at finndesign.fi)
Date: Mon Nov 18 13:42:26 EST 2013

Hi Tony,


> On 18.11.2013, at 16.13, Tony Garnock-Jones <tonyg at ccs.neu.edu> wrote:
> 
> Hi Jukka,
> 
>> On 2013-11-16 1:48 AM, Jukka Tuominen wrote:
>> I was happy to hear about the package Marketplace [...], and I wonder
>> if it could be used as a starting point?
> 
> Marketplace is still in flux. It could be useful as a way of forcing
> yourself to really *commit* to the idea of pub/sub-all-the-way-down ;-)
> but it might not be the best choice to build a production system on top
> just yet.

Ok, good to know. As far as I can see, an off-the-shelf pub-sub system is propably enough for this purpose, and I'm not really planning on studying the pub-sub itself, but rather how to utilize it. 
I'd very much like to choose a system that is robust and can scale up, eventhough at this phase and in my hands, a p-o-c is the level that I'm targetting. 
> 
> Marketplace was inspired by, and can be seen as a generalization of,
> ordinary pub/sub and queueing middleware like STOMP servers and RabbitMQ.
> 
>> Another option is to choose some generic open-source pub-sub server, 
>> and make the user and device ends speak racket.
> 
> I suggest looking into the STOMP protocol support for RabbitMQ. I wrote
> a Racket STOMP client [1, 2] a while back that might do what you need.

I'll look into those, thanks!

> One of the things I've been meaning to do is write a simple *server* in
> Racket to go along with it, but for now using RabbitMQ or similar is
> probably a good bet.

I'm hoping to have the environment ready to use for a basic user, and familiar for a developer as if dealing with any software objects. I have a clear picture in my mind...
> 
> (Regarding Arduino: RabbitMQ also has experimental UDP support [3] which
> might be of interest in this connection.)

Sounds very good! So far, I try to restrain myself from moving to even more foreign terrain until I get the architecture easy enough for me and others to use. 

Br, jukka


> 
> Regards,
>  Tony
> 
> [1] http://planet.racket-lang.org/display.ss?package=stomp.plt&owner=tonyg
> [2] https://github.com/tonyg/racket-stomp
> [3] https://github.com/tonyg/udp-exchange


Posted on the users mailing list.