Featured

About distribution, hashing and target segment number calculation in GPDB 5x.

In GPDB 5x, table’s data can be distributed RANDOMLY or by set of columns. The essential parts of column-based distribution are: hashing target segment number calculation I will try to dig into them in this article. To hash, or not to hash (on dispatcher), that is the question. Based on logic and common sense, you …

About distribution, hashing and target segment number calculation in GPDB 5x. Read More »

How to minimize your Docker image. 5 tips and tricks. Example of minifying from 328MB to 56MB.

You can be surprised how much disk space Docker images can consume. In this article we will look at several ways of how to minimize your Docker image. We will build an image with Dante socks server as an example. Dante will not be installed from binary packages, but will be compiled by ourselves inside …

How to minimize your Docker image. 5 tips and tricks. Example of minifying from 328MB to 56MB. Read More »

Multicast Proxy Server

My new OpenSource project. A fast hybrid of Reverse Proxy and Deep Packet Inspection (DPI) written on C.Unlike classic Reverse Proxy, it can redirect client requests to multiple backend servers behind ONE port.The right backend server is selected on-the-fly using DPI of protocol negotiation phase. After selection MPServer acts like a classic Reverse Proxy.In case …

Multicast Proxy Server Read More »

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 1. Introduction.

Databases are bad for email. Howbeit, sometimes you really don’t need fast mailing system, but want to use an existing database backup infrastructure. At this article we will setup our own mail server using DBMail, Postfix and SASL. DBMail is an open source mail server which able to use relational database to store all users …

DBMail over PostgreSQL + Postfix + SASL on Debian. Part 1. Introduction. Read More »

Running QEMU VM with the latest kernel inside 2.6 OpenVZ container.

There are many of cheap NAT OpenVZ VPSes on market. However, OpenVZ virtualization has certain limitations and comes with old 2.6 kernel. Hosting provider can decide to disable tun/tap, nfs or another core feautures, which makes VPS very limited in usage. At this article we will break the rules and run latest Alpine Linux inside …

Running QEMU VM with the latest kernel inside 2.6 OpenVZ container. Read More »