Coder Social home page Coder Social logo

micahparks / websocket-pubsub Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 3.0 50 KB

An in-memory HTTP websocket publish-subscribe system written in Golang.

License: Apache License 2.0

Dockerfile 1.14% Go 98.86%
go golang publish-subscribe pubsub websocket

websocket-pubsub's Introduction

Find me on the internet

My personal website: link

  • This has a contact form, if you'd like to report a security sensitive bug or send a kind message.

StackOverflow: link

If you appreciate my work, consider supporting me via a one-time or monthly financial contribution via GitHub Sponsors.

websocket-pubsub's People

Contributors

micahparks avatar zckevin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

websocket-pubsub's Issues

Allow servers to proxy

Proxy pubsub servers should be implemented.

A central pubsub server could be at site A and a user's proxy pubsub server could be at site B. This would allow multiple subscribers at site B to get the same subscriber information with multiple connections to the proxy pubsub server at site B, but only one connection to the central pubsub server at site A.

Considerations:

  • One proxy server may make multiple connections to the central pubsub server. One per subscription topic. If this can be reduced to one connection, that would be best, but a control channel may be required for that, which is undesired.

Add test for ping ticker

The publisher and subscriber should ping on the specified interval. Make a Go test to cover that.

Create a JavaScript client

A client can be implemented in any language, but the next implementation of the client should be written in JavaScript for use in web browsers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.