Hosting Recommendations

Recommendations on hosting the app

There are 2 main categories of recommendations for hosting:

  • Host Specifications: CPU, RAM, Storage

  • Security: Authentication, Restricting exposure to the public internet

Host Specifications

Recommendations vary depending on your setup

Single Host Minimum Setup

Single host containing the complete app(web, price adapters, order adapters, market data, smart order router, etc), Redis server, Rabbitmq, Postgres DB

  • At least 8 cores or 8 vCPUs

  • At least 32 GB of RAM

  • At least 128 GB of storage

This setup is great for trialing and limited use, but we recommend switching to a distributed setup for better, more consistent performance, and easier maintenance. The performance and maintenance of the persistence services will impact the performance of the application in this setup. The advantage of this setup is that there is minimal latency interacting with the Redis cache and Postgres.

Single host containing the complete app(web, price adapters, order adapters, market data, smart order router, etc), Redis server, Rabbitmq, Postgres DB

  • At least 16 cores or 16 vCPUs

  • At least 64 GB of RAM

  • At least 256 GB of storage

if needed, guidance for choosing hosts for dedicated Redis, Postgres, and Rabbitmq is available: Redis Hardware Requirements Postgres Hardware Requirements Rabbitmq Hardware Requirements

Distributed Order Adapters Setup

Hosts contain only the order adapter services. The hosts are connected by the managed service. This is the recommended long term set up.

For hosts running the market-access containers

  • At least 4 cores or 4 vCPUs

  • At least 8 GB of RAM

  • At least 64 GB of storage

Security

  • Network: Hosts should live in a private network exposing only port 443 to the public internet

    • IMPORTANT: If you're using the simple set up, ensure port 5443 and 6379 are not exposed to the public internet

  • SSL termination: At some point on the network call, either on the instance or some entry point into the private network ex. a load balancer

Was this helpful?