# Modules

> Available modules in Pigsty
---

--------

## Core Modules

Pigsty consists of multiple **modules**. The `PINE` stack: `PGSQL` / `INFRA` / `NODE` / `ETCD` are <span class="text-sky-700 font-black">ESSENTIAL</span> for self-hosting Postgres RDS service.


**PGSQL**


        HA PG Cluster with PITR, IaC, ACL, Monitor, and 437 extensions



**INFRA**


        Nginx, Repo, DNS, NTP, Prometheus and Grafana stack for Observability



**NODE**


        Enroll nodes into the desired state and monitor it, and VIP, HAProxy



**ETCD**


        Reliable distributive consensus storage (DCS), empowering PGSQL HA







------

## Extra Modules

Pigsty also have some <span class="text-emerald-500 font-black">OPTIONAL</span> "Bonus" modules, which works well with PostgreSQL, and brings extra value to your data infrastructure.


**MINIO**


        S3 compatible object storage compatible, optional backup storage



**REDIS**


        High-performance in-memory cache, optional data structure server



**DOCKER**


        Container runtime, optional for running stateless app and tools



**FERRET**


        MongoDB wire-protocol compatible on PostgreSQL, optional middleware






------

## Kernel Modules

Pigsty allows using 8 exotic PostgreSQL <span class="text-red-500 font-black">KERNEL</span> forks, as an optional in-place replacement:


**Citus**


Native Distributive Extension



**Babelfish**


SQL Server wire-compatible



**IvorySQL**


Oracle grammar & PL/SQL compatible



**OpenHalo**


MySQL wire-compatibility



**OrioleDB**


OLTP-optimized cloud-native storage engine



**PolarDB PG**


Aurora-like shared storage, with china compliance



**Supabase**


Backend as a Service, self-hosting Firebase



**Greenplum**


Massively parallel processing data warehouse
