Synadia Cloud

Endpoints

Default Endpoint

The default endpoint for NGS is tls://connect.ngs.global.

It is geo-balanced and will route to the closest NGS server. It will also detect if a connection originates from a certain cloud provider, and prefer that cloud provider if so.

Cloud Provider Endpoints

Cloud provider endpoints are geo-balanced and will route to the closest NGS server hosted at a specific cloud provider.

EndpointCloud Provider
tls://aws.cloud.ngs.globalAmazon Web Services
tls://az.cloud.ngs.globalMicrosoft Azure
tls://gcp.cloud.ngs.globalGoogle Cloud Platform

Regional Endpoints

Regional endpoints are not geo-balanced and will return all NGS servers in the region.

Since regional endpoints are not geo-balanced, they will often have higher latencies than using the default endpoint or cloud provider endpoints.

EndpointRegion
tls://asia.geo.ngs.globalAsia
tls://eu.geo.ngs.globalEurope
tls://us.geo.ngs.globalU.S.
tls://west.us.geo.ngs.globalWestern U.S.
tls://east.us.geo.ngs.globalEastern U.S.

Testing Latency

Latency to the NATS Servers returned by an endpoint can be tested using the nats rtt command. For example, to test latency to the default endpoint run:

nats rtt -s tls://connect.ngs.global

WebSockets

WebSocket-based connections are supported as well for any of the above endpoints, using the scheme: wss:// such as:

nats -s wss://eu.geo.ngs.global pub test ''
Previous
Resources