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

A robust websockets client package #43

Open
hrbrmstr opened this issue Apr 20, 2017 · 7 comments
Labels

Comments

@hrbrmstr
Copy link

@hrbrmstr hrbrmstr commented Apr 20, 2017

I have a personal but non-pressing need for this. Miles also hinted he needs it:

https://twitter.com/milesmcbain/status/854907654702940162

websockets is defunct and not feature complete client-wise.

There are many reasons this won't be "simple" but it might be a good project to have folks who haven't done C[++]-backed packages pair with folks who have and see what it's like.

@MilesMcBain

This comment has been minimized.

Copy link
Contributor

@MilesMcBain MilesMcBain commented Apr 20, 2017

Yep. Pretty interested in this!

I fall into the 'folks who haven't done C[++] backend packages' category, but I would be keen to be guided by someone who has. There are a number of C++ implementations we could try to wrap. This one seems to be winning the GH star wars, for whatever that's worth: https://github.com/uWebSockets/uWebSockets

@hadley

This comment has been minimized.

Copy link
Member

@hadley hadley commented Apr 21, 2017

@jcheng5 might be interested in this too

@hrbrmstr

This comment has been minimized.

Copy link
Author

@hrbrmstr hrbrmstr commented Apr 21, 2017

@MilesMcBain

This comment has been minimized.

Copy link
Contributor

@MilesMcBain MilesMcBain commented Apr 22, 2017

My usecase is streaming visualisations. The inspiration is Bokeh server which has a nice protocol that transmits over ws://. It has a message that contains an entire serialised vis and another message that carries the "diff" to the previous state. I would like to be able to implement something similar. The bidirectionally of ws becomes useful when you imagine extending streaming to multi-user sessions, where a user can interact with the vis and have changes propagate.

I think I'm talking event based processing here. I need two types of handlers for those two messages.

I can imagine consuming and munging streaming data from IOT stuff would be another use case. Again this feels event based to me, but I am not really sure of what you mean by active query.

@hrbrmstr

This comment has been minimized.

Copy link
Author

@hrbrmstr hrbrmstr commented Apr 22, 2017

@MilesMcBain

This comment has been minimized.

Copy link
Contributor

@MilesMcBain MilesMcBain commented Apr 24, 2017

The Shiny event handler would be quite useful for my case. 👍 Probably for others as well.

@stefaniebutland

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.