From b5cfc0cdddb1178139c337caaaf76677eb8d02dd Mon Sep 17 00:00:00 2001 From: Jayant Krishnamurthy Date: Tue, 6 Jun 2023 06:51:49 -0700 Subject: [PATCH] Update readme with hosting recommendations (#852) * Update readme with hosting recommendations * add cores --- price_service/server/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/price_service/server/README.md b/price_service/server/README.md index 5babd11b..5d634e16 100644 --- a/price_service/server/README.md +++ b/price_service/server/README.md @@ -56,6 +56,14 @@ price service you should: 1. Build an image for using it first according to the section below. 2. Change the price service image to your local docker image (e.g., `pyth_price_server`) +### Self-Hosting + +If you would like to host your own instance of the price service, we recommend running the process on a 4 core machine with 4 GB of RAM. +We also recommend using a host like [Latitude](https://www.latitude.sh/) or [Hetzner](https://www.hetzner.com/) and avoiding cloud service providers like AWS in order to reduce the cost. +The price service participates in a peer-to-peer network which can use a lot of bandwidth. +Cloud hosts like AWS charge high fees for bandwidth, which makes running the service much more expensive than necessary. +Using one of the recommended hosts above should cost $10-50 / month. + ## Build an image Build the image from [the repo root](../../) like below. It will create a