Skip to content

A HTTP PubSub implementation in Go. Topic is specified as the path of the URL Use POST and GET HTTP methods to handle messages.

Notifications You must be signed in to change notification settings

steinelu/HttpPubSub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

HTTP PubSub System

A server that receives messages on a topic distributes them to the clients requesting the messages of the topic.

Run the Server

go run .

Receive Message

Receive messages form the topic '/example'

curl <domain>/example

curl localhost:8080/example

Send Message

Send a message to a topic '/example'

curl <domain>/example -X POST -d "<message>"

curl localhost:8080/example -X POSt -d "Hello World"

Possible Future Features

  • Controlls
    • Gracefulll shutdown
    • change parameters at run time (config-ish)
    • heartbeats
  • Monitoring
  • Logging
  • Configurable message cache limitation
    • auto delete
    • timestamp
  • Rate limiting
    • Bandwidth
    • num connections
  • Authorization
    • Users
    • Access tokens
  • Dristributed - Scaling
  • Encryption

About

A HTTP PubSub implementation in Go. Topic is specified as the path of the URL Use POST and GET HTTP methods to handle messages.

Topics

Resources

Stars

Watchers

Forks

Languages