No description
  • Go 65.9%
  • Shell 12.7%
  • JavaScript 9.9%
  • Makefile 4.7%
  • HCL 3.8%
  • Other 3%
Find a file
oss-core-libraries-dashboard[bot] ca648466a5
[COMPLIANCE] Update Copyright and License Headers (#5)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-02-20 15:28:03 +05:30
bin bin/demo-sh: 10 servers don't mux 2020-02-26 09:41:26 -05:00
proto proto/gossip: no return value 2020-02-24 14:12:52 -05:00
static static/g: zoom 2020-02-25 10:49:56 -05:00
terraform terraform/demo.tf: need those security rules after all 2020-02-22 12:52:05 -05:00
.gitignore bin/demo: need to listen on private ips 2020-02-22 09:56:54 -05:00
client.go always use the util node, aka set the ID 2020-02-24 17:51:37 -05:00
GNUmakefile bin/demo-setup: back off a bit, oom kicks in eventually 2020-02-23 11:51:00 -05:00
go.mod go.mod 2020-03-05 17:25:36 -05:00
go.sum go.mod 2020-03-05 17:25:36 -05:00
gossip.go gossip: use fan out rather than hotness 2020-02-24 14:13:10 -05:00
LICENSE [COMPLIANCE] Update Copyright and License Headers (#5) 2026-02-20 15:28:03 +05:30
main.go main: comment 2020-02-25 10:22:37 -05:00
peer_stat.go gossip: use fan out rather than hotness 2020-02-24 14:13:10 -05:00
peer_stat_test.go always use the util node, aka set the ID 2020-02-24 17:51:37 -05:00
README.org d3 live updating, sort of 2020-02-20 09:37:34 -05:00
server.go always use the util node, aka set the ID 2020-02-24 17:51:37 -05:00
tls.go misc cleanup 2020-01-05 23:08:12 -05:00
udp_stat.go Revert "udp_stat: delete dead servers" 2020-02-26 10:01:39 -05:00
ui.go ui: explicit post return value 2020-02-24 14:41:33 -05:00
util.go always use the util node, aka set the ID 2020-02-24 17:51:37 -05:00
util_test.go util: tripped on pre-sized slices 2020-02-16 21:25:40 -05:00

Hyparview Example

A sample client for http://github.com/hashicorp/hyparview over TLS

  • Configuration in environment see `main.go`
  • Key generation via make (requires installed consul)
  • GRPC communication that requires client certificates

    • Enforces CA signing
    • Only configures CA, own certs
  • `bin/run` Starts a connected cluster
  • Meaningful status logging
  • Mechanism to create gossip application messages
  • go mod to include hyparview

Demo

  • Think about threads (just copies)
  • Use the private ips (only public, just opened up the ports)
  • d3 graph updates
  • node color by app value
  • remove missing links/nodes
  • gossip on click