VPS Hosting in Tokyo for Nextcloud - Performance & Monitoring Tips

Hi,

I’ve been running my own Nextcloud instance for a team based out of Japan, mainly, and thought I might share some hosting insights after going through the optimization process myself. For a better sync & collaboration experience, latency is a critical parameter.

Why Tokyo Hosting Matters for Nextcloud:

  • File Sync Speed: Lower latency results in faster file uploads/downloads and real-time Collabora/Office browse/editing.

  • Web UI Responsiveness: The nextcloud web interface is also more responsive.

  • Mobile App Performance: The Nextcloud mobile applications for iOS and Android operate considerable amounts faster with a local server available.

My Setup & Experience:
After testing various email service providers, I’m currently using:

  • DedicatedCore’s Tokyo VPS for my primary production Nextcloud server. Their reliability (running at 99.99% in our SLA) has been essential for my 24/7 team’s online needs

  • Tokyo, Japan – A test Nextcloud instance at DomainRacer, VPS testing, backup, servers, failover servers,

Basic Monitoring for a Self-Hosted Nextcloud Server:

You can’t fix what you don’t measure. Here’s what I track:

  1. Uptime: Using UptimeRobot to alert me if the web interface becomes unreachable.

  2. Server Resources (CPU/RAM): Nextcloud can be heavy, especially with an abundance of active users with preview generation and full-text search indexing. I set alerts for sustained high usage.

  3. Disk I/O and Space: The file operations are I/O-intensive. When space runs out, everything breaks.

  4. Database Performance: It is common that MySQL/MariaDB performance is a bottleneck to Nextcloud. I monitor slow queries.

  5. Network Latency: I check latency from various Japanese ISPs to our server.

Key Configuration Tips for Performance:

  • OPCache & Redis: Absolutely mandatory. Configuring PHP OPcache and Redis for file locking/memcache dramatically improves responsiveness.

  • Cron Jobs: Install the Nextcloud cron for background jobs and don’t use AJAX cron.

  • **Maintenance Windows:**I update servers/Nextcloud during the late hours or early morning [2-5 AM JST] so that fewer people get impacted.

1 Like

hey thanks for that mate ! great tips and appreciate sharing your experience

couple things to clarify and maybe chat about more

  • what are the specs of this VPS in terms of vCPU and RAM and is it HDD or SSD ?
  • are you using HPB - HIgh Performance Backend for Talk ?
  • for monitoring maybe consider using Zabbix btw - however it can be over kill also with how much data is can gather & track

Using 4 vCPU, 8GB RAM, NVMe SSD on DedicatedCore. 2 vCPU / 4GB on DomainRacer for staging. Not using HPB Talk much yet, mostly files and Collabora. Tried it but found it heavy for my use, so I use UptimeRobot for now.

1 Like

nice nice !

for self hosted simple monitoring I can also recommend Uptime Kuma, it’s a great little project and very straight-forward to deploy & use

cheers