[erlang-questions] websockets and streaming quote help

AD <>
Thu May 3 15:10:10 CEST 2012


So you recorded what I thought was a private skype conversation into a wav
file and you are sending our private skype chat to an entire mailing list.

Interesting.  Moving on....

On Thu, May 3, 2012 at 4:29 AM, Joseph Goldberg <>wrote:

> Can someone help me getting user authentication done with websockets and
> rabbitmq to consume and distribute streaming quotes to my subscribed users.
> I have a wave file of our conversation over skype, where he gives other
> details.
>
>
> http://armstrongonsoftware.blogspot.ca/2009/12/comet-is-dead-long-live-websockets.html
>
> http://blog.dberg.org/2012/04/using-gproc-and-cowboy-to-pass-messages.html
> [6:46:27 PM] Adam Denenberg: Our last step is to actually broadcast a
> message that contains this format.  Now, here is where you need to roll
> your own logic to determine how you want to ingest messages (queue,
> webservice, etc), but once your app gets the message you are waiting for
> all you need is one line to send the message:
>
> gproc:send({p, l, ?WSKey}, {self(), ?WSKey, Msg})
> [6:46:44 PM] Adam Denenberg: This simply sends message "Msg" to all the
> processes that were registered with the key ?WSKey and then gets handled in
> websocket_info and thus passed over the websocket connection.
>
>
> also need fix protocol implementation done with MQ and sequence number
> checking which he does not do
>
>
>
> http://www.codeproject.com/Articles/35439/Fix-Protocol-C-Fix-Engine-Source-Code
>
> Yes that's true. but tcpip messages are not erroneus/corrupted. the point
> of this code is to be fast - eg i do not verify the checksum. in fact i
> don't even bother to check the incoming message sequence number. i just
> have two safety checks in the code which check the message starts 8= and
> then 35=.
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120503/70cba962/attachment.html>


More information about the erlang-questions mailing list