No description
  • Go 59.1%
  • HTML 22.4%
  • JavaScript 18.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ralph Schaer ecbc5600d4 upgrade
2026-10-04 10:03:34 +02:00
client upgrade 2026-10-04 10:03:34 +02:00
.gitignore initial commit 2026-07-11 11:27:10 +02:00
compose.yml initial commit 2026-07-11 11:27:10 +02:00
go.mod upgrade 2026-09-06 21:15:08 +02:00
go.sum upgrade 2026-09-06 21:15:08 +02:00
LICENSE initial commit 2026-07-11 11:27:10 +02:00
main.go upgrade 2026-09-06 21:15:08 +02:00
README.md upgrade 2026-09-06 21:15:08 +02:00
Taskfile.yml initial commit 2026-07-11 11:27:10 +02:00
valkey.go upgrade 2026-09-06 21:15:08 +02:00
valkey_test.go upgrade 2026-09-06 21:15:08 +02:00

sse-eventbug-go-demo-distributed

Two Go backends connected through Valkey pub/sub, matching the Java sse-eventbus-demo-distributed application. The Vite client connects to both nodes simultaneously.

Run these tasks in separate terminals:

task valkey
task node-a
task node-b
task client

Open http://localhost:5173. Messages sent through either node are delivered to clients connected to both nodes. The Valkey transport is implemented with the Go standard library and suppresses messages originating from the local node.

After task client-build, either node also serves the production client; with the default node ports, open http://localhost:8080.

Run task test for backend tests or task build to build both applications.

License

MIT License. See LICENSE for details.