Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to rebuild a websocket service by golang an...

How to rebuild a websocket service by golang and redis

1. Why rebuild
2. Redesign Architecture
3. Problems we met
4. How to scale and test scalability

We will talk about Golang, RabbitMQ, Redis PubSub, Kubernetes, Grafana

https://www.meetup.com/golang-taipei-meetup/events/272373659/

Yuanhsiang Cheng

August 25, 2020
Tweet

More Decks by Yuanhsiang Cheng

Other Decks in Technology

Transcript

  1. Websocket v1 • Rails em-websocket • RabbitMQ • Ticker •

    Push when data changed • Order Book Push order book operation • Private channel • Account only
  2. Websocket v2 • Golang gorilla/websocket • Deploy with Rails •

    Ticker • Push when data changed Push data every 5 seconds • Order Book • Not production ready • Private channel • Not implement