Recently, I had a look at a number of frameworks to push notification messages to my mobile device based on trigger events of my cloud at home. Think of getting a notification when a service starts misbehaving or crashing, disk drives about to become full, backups finished, etc. So far I’ve used emails and XMPP messages for the purpose. While that works great it doesn’t really fit the purpose. So I was looking for something else and discovered Gotify, ‘a simple server for sending and receiving messages’.
Installation is super easy and I was up and running in just a few minutes. Also, pushing messages from the shell or in programs written in Python and other languages just requires a single line of code. On the wire, HTTP push and Websockets are used and TLS encryption with Letsencrypt certificates are thrown in for good measure. Nice! When I had a look at the traffic to and from my mobile device to the Gotify app, however, I was a bit surprised, to say the least.
Continue reading Improving The Keep Alive Behavior of Gotify