2026-02-28 07:43:53
That was unexpected. Generic methods accepted for Go
#go
That was unexpected. Generic methods accepted for Go
#go
#golang It's a minor thing, but I am virtually certain that Renee French (artist who did the original Go Gophers) is not a fan of AI-generated Go Gopher images. That horse might be out of the barn, but so far, I have not used AI for any images except tests of the AI itself, so, not quite everyone is doing it.
So, decided to get them rookie `/queue` numbers up so did a quick bit of caching. For a 12-job queue, I went from 240 RPS (Python/Flask) to 680 (Golang/Gin) then to 3400 RPS with some proper caching. The `/workers` endpoint would benefit as well, but I think its performant enough though I may end up adding a bit of caching later.
#golang
The new server is online and so far the testing looks good. All the endpoints seem to be working and all of the workers and frontend are showing the correct information. I still need to do a complete test run to include encoding just to verify everything, but I'll do that after work today.
#golang #gin