Skip to content

aramperes/lapin-websocket-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lapin-websocket-prototype

A prototype to broadcast AMQP messages to websocket clients, written in stable Rust

Objective

Publish a UTF-8 message on an AMQP (RabbitMQ) fanout exchange. Each instance of lapin-websocket-prototype will receive this payload, and broadcast it to the websocket clients connected. Implemented using async to support a high volume of connections.

Main crates used

Things I learned

  • Using lapin and warp
  • Async closures
  • Lazy statics
  • The difference between Fn and FnOnce

About

A prototype to broadcast AMQP messages to websocket clients

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages