Categories
Containers python python performance task queues

Python queue Comparisons: Kafka, AWS SQS and Redis

An interesting question has come up for a real world task. What queue and python queue client should be used? In this post, a few queue options will be tried in the attempt to answer which one should be used. The Problem The real world problem is currently a single api is used to serve […]

Categories
Database postgres

Postgres: How Long does it take to DELETE a large amount of records and VACUUM FULL?

Sometimes there is table bloat on your postgres tables. A large amount of data that is stored that serves no purpose operationally. The large amount of data may hinder replication of data to other sources. One may decide to archive the data or just get rid of it if it is unneeded. How long does […]

Categories
DevOps ISPs performance python performance virtualisation web performance

Trying out Rackzar’s AMD Ryzen VPS

Was able to try out Rackzar’s AMD Ryzen VPS recently. This post is about the experience and performance. The UI to Create The user interface is easy to navigate and there is lots one can do. It looks very similar to hostking’s. Wondering if this is a standard frontend that can be deployed by infrastructure […]

Categories
Cloud connectivity Containerisation Containers DevOps Docker

How to Ping on a container with No ping utility?

Ever opened a shell or sshed into a container and it does not have the ping binary: bash: ping: command not found Install Ping Use the package manager of the base image apt update apt install iputils-ping Then test: > ping 1.1.1.1. PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from one.one.one.one (1.1.1.1): icmp_seq=1 […]

Categories
DevOps

Elastalert 2: Quick Setup

Ever get notified about issues, bugs and problems by people – but also have the data in elasticsearch. There is a tool called elastalert that can alert on data in your elasticsearch cluster. Warning Elastalert 2 only supports recent things… Elasticsearch 6 is not supported, only: Elasticsearch 7.x or 8.x, or OpenSearch 1.x or 2.x […]