All posts by priebe

Building a progressive web app with Vue.js and OnsenUI

Recently, we have been doing some proof of concept work on a PWA for our web site. The immediate goal is to make our mobile experience faster, but looking toward the future, we could potentially invest in this technology as a replacement for our current mobile apps if PWAs continue to receive more support on the major platforms.

Continue reading Building a progressive web app with Vue.js and OnsenUI

Upgrading instance class on Aurora cluster with terraform

We recently decided we want to upgrade one of our Aurora RDS clusters from db.r3.large to db.r4.large. Our entire environment is managed by Terraform. It was not clear from Terraform documentation what would happen if we just changed the instance size and applied the changes. Would Terraform be smart enough to upgrade the writer instance in AZ1, failing over to the reader in AZ2, and then when that was complete, upgrade the newly promoted writer instance, failing back to the new instance in AZ1?

Continue reading Upgrading instance class on Aurora cluster with terraform

AWS Adventures, Part 3 – HA Wowza Live HLS

For a number of years, we have streamed HLS video via CloudFront, using a Wowza Streaming Engine server to convert our RTMP streams to HLS on the fly. CloudFront provides almost infinite scalability for the HLS stream, since the static chunk files are highly cacheable.

For high availability purposes, we want to use two independent WSE servers in two AWS availability zones. But this has been problematic. The two servers are never 100% in sync with their HLS chunking of the incoming live stream. This can cause the client to get a bad response to a request, thereby dropping the live stream.

After a lot of experimentation, I have come up with a way to assemble a multi-AZ, high availability cluster of WSE servers that can reliably stream HLS video from an incoming RTMP stream.

Continue reading AWS Adventures, Part 3 – HA Wowza Live HLS