Python & Flask are real heavy, and probably not as performant as you can make it using Go.
Use Go's SPI library (https://godoc.org/golang.org/x/exp/io/spi) to make a client library for the unicorn hat
Use Go's web server & websockets & concurrency to make a faster website (slowness right now is probably due to sending changes to every user in series before returning)
Python & Flask are real heavy, and probably not as performant as you can make it using Go.
Use Go's SPI library (https://godoc.org/golang.org/x/exp/io/spi) to make a client library for the unicorn hat Use Go's web server & websockets & concurrency to make a faster website (slowness right now is probably due to sending changes to every user in series before returning)