Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizon compute pre-requirements #143

Closed
sreuland opened this issue May 12, 2023 · 3 comments
Closed

Horizon compute pre-requirements #143

sreuland opened this issue May 12, 2023 · 3 comments
Assignees

Comments

@sreuland
Copy link
Contributor

sreuland commented May 12, 2023

What problem does your feature solve?

The https://developers.stellar.org/docs/run-api-server/prerequisites has a lot of information, some duplication and obsolete facets may be present and may be difficult for readers to make correct conclusions for current day horizon capabilities.

What would you like to see?

Simplify/condense compute requirements tables stated for catch-up and real-time ingestion down to single section for horizon and db. Follow a more opinionated stance to reduce the amount of overall content, try to avoid explaining all settings individually, instead just state the combination that is recommended and why.

Focus recommendation towards `on-disk mode of captive core and don't mention in-memory settings. Describe why IOPSon the volume used to host captive core db needs to be fast SSD, and highest IOPS can afford, bare min of at least 3k r/w a second.

Mention ballpark estimates on how much it will be expected to cost in terms of compute, for those considering a cloud deployment.

What alternatives are there?

@sreuland sreuland moved this from Backlog to Next Sprint Proposal in Platform Scrum May 16, 2023
@mollykarcher mollykarcher moved this from Next Sprint Proposal to Current Sprint in Platform Scrum May 23, 2023
@urvisavla urvisavla self-assigned this Jun 21, 2023
@urvisavla urvisavla moved this from Current Sprint to In Progress in Platform Scrum Jun 22, 2023
@urvisavla
Copy link
Contributor

@sreuland @mollykarcher A couple of clarifications on the scope here:

Simplify/condense compute requirements tables stated for catch-up and real-time ingestion down to single section for horizon and db.

  1. For real-time ingestion, are the current production cluster specs suitable, or should we run tests on the new dev/test cluster for the specs?
  2. For historical ingestion, should we display specs for all 30/60/full days, or should we make a recommendation for the number of history days and only provide corresponding hardware specifications?

Mention ballpark estimates on how much it will be expected to cost in terms of compute, for those considering a cloud deployment.

Should this be specific to AWS or include other cloud providers as well?

@sreuland
Copy link
Contributor Author

Should this be specific to AWS or include other cloud providers as well?

I don't think we should reference any cloud vendors, rather, if we can keep reference to resources more at the commodity level, like RAM, CPU cores and disk throughput, ideally can translate into vendor specifics.

For disk throughput, AWS usesIOPS which we've ref'd in benchmarking disk speeds related to captive core on-disk and have stated in a few places min of 3k IOPS, but that metric is ops per second, and we also need to back that with some type of associated physical bytes/sec also, which AWS assumes 1kb per op, which is decent way to extrapolate min r/w throughput of disk volume at about 3 mb/s = 3k IOPS x 1024 bytes per op

@urvisavla urvisavla moved this from In Progress to Needs Review in Platform Scrum Jul 11, 2023
@urvisavla urvisavla moved this from Needs Review to In Progress in Platform Scrum Jul 11, 2023
@urvisavla urvisavla moved this from In Progress to Needs Review in Platform Scrum Aug 9, 2023
urvisavla added a commit that referenced this issue Aug 10, 2023
Update docs/run-platform-server/prerequisites.mdx

Co-authored-by: shawn <[email protected]>

Update docs/run-platform-server/prerequisites.mdx

Co-authored-by: shawn <[email protected]>

Update docs/run-platform-server/prerequisites.mdx

Co-authored-by: shawn <[email protected]>

Update docs/run-platform-server/prerequisites.mdx

Co-authored-by: shawn <[email protected]>

Update docs/run-platform-server/prerequisites.mdx

Co-authored-by: shawn <[email protected]>

Update docs/run-platform-server/prerequisites.mdx

Co-authored-by: shawn <[email protected]>

Addressing review comments
@urvisavla urvisavla moved this from Needs Review to Done in Platform Scrum Aug 14, 2023
@gre3n3yes34
Copy link

gre3n3yes34 commented Jan 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants
@mollykarcher @sreuland @urvisavla @gre3n3yes34 and others