Product Update: Colyseus Cloud 2024

Improved alerting & monitoring system, rolling updates, and more!


We’ve been hard at work this year to improve both the Colyseus Framework and Colyseus Cloud platform. Here are some of the highlights of the latest updates:

Alerting & Monitoring System

Now you can set up alerts for your applications and receive notifications via Email, Discord or Slack when something goes off. The monitoring system has been improved to provide more insights into your application’s performance.

Monitoring and Alerting

The alert types currently available are:

  • Deployment success / failure
  • Ungraceful restart (e.g. when the server crashes)
  • CPU or Memory Threshold Exceeded
  • Failure to Health Check (e.g. when the server is not responding)
Alert on new deployments
Alert on Ungraceful Shutdown
Alert on CPU Threshold

Examples of alerts delivered via Slack.

Rolling updates & Graceful Shutdown

With the recent improvement on Graceful Shutdown process with the introduction of room.onBeforeShutdown() - you can now deploy new versions of your application without disconnecting your players.

onBeforeShutdown() {
//
// Notify users that process is shutting down, they may need to save their
// progress and join a new room
//
this.broadcast("going-down", "Server will shut down!");
//
// Disconnect all clients after 5 minutes
//
this.clock.setTimeout(() => this.disconnect(), 5 * 60 * 1000);
}

This change brings several advantages to your application:

  • Ensure that all clients can safely finish their sessions.
  • No downtime during deployments.
Alert on CPU Threshold

Shutting-down processes are displayed blinking in red on the Stats and Logs page.

This feature is not enabled by default as we’re still gathering feedback for potential improvement. If you’re interested in trying it out, please reach out to enable in your Colyseus Cloud application.

Stats Page Improvements

  • New deployments are now displayed as a green annotation on the graphs.
  • The frequency of updates on the Stats page has been increased to every minute.
Deployment on graphs

Meet Valerya and Gladius!

We’ve got brand-new mascots for Colyseus! Meet Valerya and Gladius, the guardians of your multiplayer games.

Valerya & Gladius

Aren’t they cute? 😍


Version 0.16 is coming soon!

Version 0.16 is around the corner, and is going to bring several improvements to the framework - the highlights are:

  • Introduction of the StateView - allowing to filter out portions of the state per client.
  • Improvements to @colyseus/schema - making it more composable and easier to use.
  • Experimental WebTransport support.

The Colyseus Framework aims to reach version 1.0 in 2026. The priorities of the project are available in the public roadmap.

If you have any feedback or suggestion, please feel free to reach out to me on endel@colyseus.io, Discord or X/Twitter.

Deploy your servers in minutes

Colyseus Cloud is ready to serve hundreds and thousands of CCU. No ops required.

Learn more