PostgreSQL 17 on a VPS: Installation and Performance Tuning Basics

PostgreSQL 17 on a VPS is a solid pick when your app outgrows SQLite or needs proper JSON, full-text search, and concurrent writes. This guide installs it from the official PostgreSQL repository on Ubuntu 24.04 and tunes the settings that matter on a small server, so you end up with a database that stays up … Baca Selengkapnya

MySQL 8.4 Tuning on a 2GB VPS: my.cnf Settings That Actually Help

This guide covers MySQL 8.4 tuning 2GB VPS owners can apply in one sitting, without copying a config written for a bigger server. A 2 GB VPS runs MySQL next to the OS, Nginx, and PHP-FPM, so every megabyte you give the database is one something else cannot use. The goal is not peak speed … Baca Selengkapnya

Vultr High Frequency vs Regular Compute for MySQL: Price-Performance Compared

If you run MySQL on a Vultr VPS, the plan you pick shapes how fast queries answer and how well the server copes when traffic grows. The choice of vultr high frequency vs regular compute comes down to what MySQL needs most: fast single-thread CPU work, quick disk reads and writes, and enough memory to … Baca Selengkapnya

PHP-FPM Tuning for Nginx: pm.max_children, pm.start_servers, and More

How PHP-FPM Tuning for Nginx Works PHP-FPM tuning for Nginx decides how many PHP worker processes run, how they are created, and when they are recycled. Get it wrong and a busy site either queues requests until it times out or eats all available RAM and crashes. This guide explains pm.max_children, pm.start_servers, and the other … Baca Selengkapnya

How to Enable Gzip and Brotli Compression in Nginx

Why Gzip and Brotli Compression Matters Gzip and Brotli compression in Nginx shrinks text files before they leave the server, so HTML, CSS, and JavaScript arrive faster and use less bandwidth. Compression is one of the cheapest performance wins available: it needs no new hardware, no code changes, and a few lines of configuration. This … Baca Selengkapnya

Nginx Caching Explained: proxy_cache, fastcgi_cache, and When to Use Each

nginx proxy_cache fastcgi_cache are the two built-in ways Nginx stores responses and serves them again without asking the backend. Both cut load and speed up repeat visits, but they cache different kinds of responses. Picking the wrong one either caches nothing or, worse, serves a logged-in page to the wrong visitor. This article explains what … Baca Selengkapnya

WordPress Database Optimization: How to Clean wp_postmeta Bloat

If your WordPress site gets slower every month even though traffic has not changed, the cause may sit inside the database. Learning how to clean wp_postmeta bloat safely can cut database size, speed up queries, and stop admin pages from dragging. This guide walks through the full process: measure the problem, back up, delete only … Baca Selengkapnya

OPcache Settings for WordPress: How to Tune PHP OPcache on Ubuntu 24.04

PHP compiles every WordPress script to bytecode on each request, unless OPcache holds the compiled version in memory. Without OPcache, a busy site pays that compile cost on every page load. With it, PHP runs the stored bytecode and skips the compile step. OPcache settings WordPress Ubuntu tuning is therefore one of the cheapest speed … Baca Selengkapnya

How to Install Redis Object Cache on WordPress (VPS Setup Guide)

How to Install Redis Object Cache on WordPress (VPS Setup Guide) Redis object cache on wordpress stores repeated database results in memory, so WordPress skips work it already did. Without it, every uncached page view can repeat the same database queries for menus, widgets, options, and post data. With it, those results come back from … Baca Selengkapnya