If you are anything like me(!smart) you probably have a lot of smart devices. Smart Energy Meters, Temperature Sensors, Presence Sensors, Smart Lights etc. For me the ideal smart device should be managed localy, should not require any account and should be easily integrated to Home Assistant. ESPHome devices are all that and much more…
I know I know, its just a static site, what more can there possibly be to that?
Well there’s a bit more. Nothing special, but I think is worth sharing and ofcource reading.
HAProxy is the defacto reverse proxy and loadbalancer.
HAproxy has some very good mechanisms for basic DDos protection.
In this read we are going to see 3 haproxy features that can save you time and headaches.
Cassandra is a distributed NoSQL database. It is running on many production systems and in many of them a cluster might be needed to be migrated to different or bigger machines, or even in a different cloud or dc. Fortunately Cassandras distrbutes architecture makes a migration possible with almost no downtime.
Zookeeper is a distributed key-value store. In this article we will go through the online migration procedure. Migrating a distributed system can be very easy on paper and very hard on practice but doable never the less.
PostgreSQL community is very busy developing the worlds leading opensource relational database. Every few years a new version is available with many new features, improvements and bug fixes. In this article we will go through an upgrade procedure for postgresql version 9.6 to version 10. Minor downtime is required.
The case is very common. You have a database server (PostSQL/MySQL) running on a VPS with a public IP and you need to access it from your local machine or your cloud based BI tool. Publicly exposing PostgreSQL/MySQL isn’t the brightest thing to do so why not tunnel it at least though SSH.
Its been almost a year since I started this blog and I have posted a few posts only…I will quote something from Futurama to self critisize my lazyness…here it goes:
Running statefull services on k8s is something that many people do, but everyone will agree that running staless is a lot easier and fun. In the case of docker registry its not possible to be stateless, but the storage can be decoupled from k8s and served by another service like Azure Blob Storage.
On production systems HAProxy might be generating a very large amount of logs. It is possible that those logs can become a huge problem unless you rotate them. Daily rotation might be good for low traffic installations, but high trafic ones might generate almost 10gb in a few hours , so you might need to rotate logs every hour. Rotating logs hourly is not configured by default on Ubuntu systems. You need to do a bit just more than you think.