Skip to content

anthill-platform/anthill-discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discovery Service

Some things never change. Most of them do: as the game grows, you often need to move servers around. This service allows to discover each service dynamically, at runtime.

Each service is represented by few things: service ID and service locations.

REST API

Please refer to the Documentation for complete information.

Multiple networks

Not only players use discovery service, but other services do. If some service needs some other service location, it uses discovery API to find out.

Yet often services need to use internal routes to communicate with other services for security reasons. That's why discovery service has multiple networks defined: external and internal. The external network is used by end users, and available online from the web.

On the other hand, the internal network is only accessible from inside of the Anthill Platform. Often, services give more privileges for internal requests. Some requests can only be called from the inside. Even the internal location of a service can be discovered only from the inside.

Each service has a list of IP addresses, request from who is considered to be internal, usually it's a local subnet, like 10.0.0.0/24.

Disclaimer

This service does not acts as a load balancer. Services in question need to be behind a load balancer themselves, for example behind nginx.

About

A dynamic server discovery service for Anthill platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published