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

question #1

Closed
joeblew99 opened this issue Mar 23, 2016 · 3 comments
Closed

question #1

joeblew99 opened this issue Mar 23, 2016 · 3 comments

Comments

@joeblew99
Copy link

if its 100% based how does notification work ? web sockets ?

@bictorman
Copy link
Contributor

This is still very much a work in progress with a lot to be defined, for the moment, the only thing implemented is long polling while doing single message scans, so the connection blocks until there is a new message, this is the example that you can find on the readme.

Then, the streamming API will probably be HTTP2 only, but I have yet to make a proof of concept, with HTTP2 we could leverage PUSH_PROMISE, or do bidirectional streaming as explained here:
golang/go#13444

@joeblew99
Copy link
Author

PUSH_PROMISE looks nice
golang/go#13443

you might want to see what go-micro team is going in their code, as it relates to this.
https://github.com/micro/go-micro

https://github.com/micro/go-plugins/tree/master/broker
Other brokers like yours here

@bictorman
Copy link
Contributor

Nice, I'll take a look, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants