Update readme with hosting recommendations (#852)

* Update readme with hosting recommendations

* add cores
This commit is contained in:
Jayant Krishnamurthy 2023-06-06 06:51:49 -07:00 committed by GitHub
parent 404bc6cb81
commit b5cfc0cddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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