3 ms·
I'm running gokrazy on a raspberry pi zero 2 w with 512MB of ram. I'm using it as a record-on-motion security camera[0]. The actual recording happens with ffmpe
by psanford 3y ago
I'm running gokrazy on a raspberry pi zero 2 w with 512MB of ram. I'm using it as a record-on-motion security camera[0]. The actual recording happens with ffmpeg, but the Go server does motion detection, hls streaming, and cloud upload of video chunks. It also does this all in-memory, the sdcard in the pi is mounted read-only.
It works great! No memory pressure/GC issues at all. Its really not that hard to write go that can perform well in moderately constrained environments.
[0]: https://github.com/psanford/rom-cam https://github.com/psanford/rom-cam