Hathora Cloud hosts headless/custom servers at scale for any engine, platform, and game-type in 10+ regions.
When you request a game server instance, our platform dynamically boots it with a unique host and port. Once the match is complete and there are no active connections to the instance, Hathora automatically shuts it down to minimize your compute costs.
In the diagram below, we show a typical integration flow using a matchmaker (most commonly used for games with large player bases). However, you can use any of our common integrations to request server instances on Hathora.
Common game integrations
Depending on how your game starts matches/ game sessions, you can use any of the following Hathora match creation workflows:
When your matchmaker finds a match, it should request a room from Hathora Cloud in a specified region. Your matchmaker will get connection details to the room, which it can share with all matched players. Using the connection details, players can directly connect to the room.
To place players in a more optimal location, use our Discovery Service to get ping times to all Hathora regions.
You can enable player-driven server browsing by using a lobby service to:
- Create rooms with private or public visibility
- List all active public rooms
- Share room codes to join private rooms
- Display room metadata
(i.e. number of active players, map type, etc)
You can either use Hathora's lightweight Lobby Service or integrate with your own.
When a player visits your game, you can automatically place them into a room with available player capacity. If no rooms are available, you can create and place them into a new room. You will need some middlware (e.g. our Lobby Service) to check for available rooms and create new ones.