---
title: "Performance and optimization: 22 guides | StreetHosting"
description: "TPS, lag, view distance, chunks and fine-tuning for servers that have to hold up under load. Browse the 22 StreetHosting guides on this subject."
url: "https://streethosting.com.br/en/guides/topics/performance"
type: "page"
language: "en-US"
---

# Performance and optimization

TPS, lag, view distance, chunks and fine-tuning for servers that have to hold up under load.

22 guides across 4 categories

Search guides

/

All22 Minecraft10 VPS9 Discord Bots1 Infrastructure2

Filters and sorting

22 guides

[Minecraft Intermediate How to reduce lag on a Minecraft Paper server (TPS and mspt) Lag is not 'the host's fault' until you measure it: high mspt comes from the world, the configuration and the code running in the tick. This guide puts diagnosis ahead of aggressive tuning. 6 min Read guide](https://streethosting.com.br/en/guides/minecraft/reduce-lag-paper-server) [Minecraft Beginner Paper vs Spigot for a Minecraft server: the real differences in production Paper started as a fork of Spigot focused on lag fixes, security and extra tunables. In day-to-day operations in 2026, almost every server running Java plugins picks Paper. This article explains why, where Spigot still shows up and how to avoid marketing confusion. 4 min Read guide](https://streethosting.com.br/en/guides/minecraft/paper-vs-spigot-minecraft) [VPS Intermediate Ryzen VPS for Minecraft: when it makes sense and how to size it A Ryzen VPS for Minecraft fits when you need full control of the system, multiple instances and integration with your own services. This guide shows when that choice pays off and how to run it predictably. 4 min Read guide](https://streethosting.com.br/en/guides/vps/ryzen-vps-for-minecraft) [VPS Intermediate How to choose a VPS for a database: RAM, CPU and NVMe A slow database is rarely fixed with more vCPUs: almost always it is short on RAM for the hot data or stuck on disk latency. Learn how to measure what your database actually consumes and pick the plan by the right number. 9 min Read guide](https://streethosting.com.br/en/guides/vps/choose-vps-for-database) [VPS Intermediate How to choose a VPS for an API: CPU, RAM and connections A Node.js API, a Python API and a Java API with the same traffic call for different VPS plans. See how the runtime, concurrent connections and the database define CPU and RAM, how to measure before you buy and how to grow later. 10 min Read guide](https://streethosting.com.br/en/guides/vps/choose-vps-for-api) [VPS Beginner VPS for WordPress: how to pick RAM, CPU and disk Sizing a VPS for WordPress means adding up the memory of PHP, the database and the system, working out how many pages miss the cache and leaving room for uploads to grow. Here is the math and a table of visits per plan. 10 min Read guide](https://streethosting.com.br/en/guides/vps/choose-vps-for-wordpress) [Discord bots Intermediate How much RAM and CPU a Discord bot needs Picking a bot plan by guesswork leads to two expensive mistakes: paying for idle memory or watching the process die at a peak. This guide shows what uses resources and how to measure before you buy. 8 min Read guide](https://streethosting.com.br/en/guides/discord-bots/how-much-ram-does-a-discord-bot-need) [Minecraft Intermediate Spark profiler: how to analyze Minecraft server lag A TPS of 20 and a stuttering server are not contradictory. Spark measures how much each tick really costs and shows, line by line, where that time is going. 7 min Read guide](https://streethosting.com.br/en/guides/minecraft/spark-profiler-minecraft) [VPS Beginner How much RAM, CPU and disk a Windows VPS needs The cheapest plan usually disappoints on Windows. Here is what the system really consumes and how much is left for your applications at each size. 4 min Read guide](https://streethosting.com.br/en/guides/vps/how-much-ram-does-a-windows-vps-need) [Infrastructure Beginner Throughput vs bandwidth on servers: what the difference means Bandwidth, throughput and latency show up in every server ad, but they are different things. Knowing the difference helps you pick the right plan for what you need. 3 min Read guide](https://streethosting.com.br/en/guides/infrastructure/throughput-vs-bandwidth) [VPS Intermediate How to install PostgreSQL on an Ubuntu VPS securely PostgreSQL is the most complete open source relational database and the default for many modern applications. Learn how to install it on an Ubuntu VPS, create a user and database for your application, understand authentication, allow remote access without exposing the port, schedule backups and tune memory. 10 min Read guide](https://streethosting.com.br/en/guides/vps/install-postgresql-ubuntu-vps) [Minecraft Intermediate How to schedule automatic restarts for a Minecraft server A server that runs for days without a break piles up memory garbage and loses performance. A scheduled restart in the middle of the night fixes that invisibly, as long as you warn players. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/schedule-automatic-restart-minecraft-server) [Minecraft Advanced Aikar flags: optimize the JVM on your Minecraft server Periodic stutters are usually a badly tuned garbage collector. Aikar Flags configure G1GC to reclaim memory in small pauses, smoothing out TPS at peak hours. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/aikar-flags-minecraft) [Minecraft Intermediate How to pregenerate chunks on a Minecraft server with Chunky Generating terrain is the heaviest job on the server. With Chunky you build the world ahead of time, while nobody is online, so player exploration runs without stutters. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/pregenerate-chunks-minecraft-chunky) [VPS Beginner How much VPS do I need for my project A plan that is too small takes your service down, and one that is too big wastes money. Here is how to estimate CPU, RAM, disk and bandwidth by project type and scale up based on data. 3 min Read guide](https://streethosting.com.br/en/guides/vps/how-much-vps-do-i-need) [Minecraft Intermediate What is TPS in Minecraft and how to improve it (complete guide) TPS is the server's clock: 20 means a smooth world, anything below that and everything lags behind. MSPT shows how many milliseconds each tick costs. Measuring before tuning tells a plugin problem apart from the wrong host. 6 min Read guide](https://streethosting.com.br/en/guides/minecraft/what-is-tps-minecraft) [VPS Advanced FiveM server sizing on a Ryzen VPS in Brazil An RP city with 64 slots on paper but only 32 online can already choke a badly sized VPS. This guide covers resources, scripts and network for a serious operation in Brazil. 2 min Read guide](https://streethosting.com.br/en/guides/vps/fivem-server-sizing-ryzen-vps) [VPS Intermediate High-traffic WordPress on a VPS in Brazil Black Friday and viral posts take down a badly configured WordPress site before the VPS runs out of CPU. This guide covers the stack and hardware for a Brazilian audience. 2 min Read guide](https://streethosting.com.br/en/guides/vps/high-traffic-wordpress-vps) [Infrastructure Beginner NVMe and game server performance: why disk speed matters CPU and RAM headline the plan page, but a slow disk turns into invisible stutter: the world takes longer to load, backups run late and the rollback fails when you need it most. 3 min Read guide](https://streethosting.com.br/en/guides/infrastructure/nvme-game-server-performance) [Minecraft Intermediate How to optimize view distance on a Minecraft server A high view distance is tempting, but every extra chunk costs RAM and CPU. The right setting balances the visual horizon with stable TPS for your community. 2 min Read guide](https://streethosting.com.br/en/guides/minecraft/minecraft-server-view-distance) [Minecraft Intermediate Purpur vs Paper: which fork to run on your Minecraft server Paper is the gold standard for optimization. Purpur adds fine-grained tweaks on top of Paper. The right pick depends on the kind of server you run, not on forum hype. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/purpur-vs-paper-minecraft) [Minecraft Beginner How many players can a Minecraft server hold There is no magic number: capacity depends on RAM, CPU, plugins and how players use the world. This guide gives practical reference points for beginners. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/how-many-players-can-a-minecraft-server-hold)

## Other topics

[See all 25 topics](https://streethosting.com.br/en/guides/topics)

[Linux administration67](https://streethosting.com.br/en/guides/topics/linux) [Hardware and datacenter62](https://streethosting.com.br/en/guides/topics/hardware) [Network, DNS and domains44](https://streethosting.com.br/en/guides/topics/networking) [Costs, plans and billing42](https://streethosting.com.br/en/guides/topics/costs) [Deploying and running apps38](https://streethosting.com.br/en/guides/topics/deploy) [Minecraft plugins38](https://streethosting.com.br/en/guides/topics/plugins) [Community and game modes36](https://streethosting.com.br/en/guides/topics/community) [Security and hardening32](https://streethosting.com.br/en/guides/topics/security) [Getting started30](https://streethosting.com.br/en/guides/topics/getting-started) [Latency and ping28](https://streethosting.com.br/en/guides/topics/latency) [Monitoring and alerts26](https://streethosting.com.br/en/guides/topics/monitoring) [Other games26](https://streethosting.com.br/en/guides/topics/other-games) [Automation and webhooks20](https://streethosting.com.br/en/guides/topics/automation) [Migration19](https://streethosting.com.br/en/guides/topics/migration)

[← All topics](https://streethosting.com.br/en/guides/topics)
