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

feat: Add Ray head Pod high availability with Redis #555

Merged
merged 6 commits into from
Jun 12, 2024

Conversation

ratnopamc
Copy link
Collaborator

What does this PR do?

Adds Ray Head pod High availability with enabling GCS fault tolerance
Adds terraform module to create an elastic cache Redis cluster in AWS
Updates website doc with a section on Ray head Pod high availability for Mistral-7b-inf2 blueprint.

🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation

By default, Ray head node is a single point of failure. If it crashes then Ray worker nodes get restarted. This introduces a downtime and is not desirable for RayServe applications. It's important to enable the GCS fault tolerance by connecting Ray head node to an external Redis cluster in order to provide high availability for the Ray head node and avoid restarting Ray workers in the event of a Ray head node crash.

Closes #348

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Mandatory for new blueprints. Yes, I have added a example to support my blueprint PR
  • Mandatory for new blueprints. Yes, I have updated the website/docs or website/blog section for this feature
  • Yes, I ran pre-commit run -a with this PR. Link for installing pre-commit locally

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

Copy link
Collaborator

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thaks for the PR. Some minor comments

ratnopamc and others added 2 commits June 12, 2024 07:55
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
website/docs/gen-ai/inference/rayserve-ha.md Outdated Show resolved Hide resolved
website/docs/gen-ai/inference/rayserve-ha.md Outdated Show resolved Hide resolved
ai-ml/trainium-inferentia/variables.tf Outdated Show resolved Hide resolved
website/docs/gen-ai/inference/rayserve-ha.md Show resolved Hide resolved
website/docs/gen-ai/inference/rayserve-ha.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ratnopamc Nice work 👏🏼

@vara-bonthu vara-bonthu merged commit 9e52517 into awslabs:main Jun 12, 2024
36 of 37 checks passed
@ratnopamc ratnopamc deleted the ray-gcs-ft branch June 12, 2024 17:30
ovaleanu pushed a commit to ovaleanu/data-on-eks that referenced this pull request Aug 10, 2024
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ray Head pod High availability with Redis
3 participants