Skip to content

Conversation

DwyaneShi
Copy link
Collaborator

Pull Request Description

This PR includes facilities to support L2Cache's cluster mode.

  • meta service module
  • placement module
  • Unit test for placement and meta service

Meta service module has the same architectural level as L2Cache since it could be further extended to support more functionalities beyond current placement feature used by L2Cache.

Related Issues

Resolves: #[Insert issue number(s)]

Important: Before submitting, please complete the description above and review the checklist below.


Contribution Guidelines (Expand for Details)

We appreciate your contribution to aibrix! To ensure a smooth review process and maintain high code quality, please adhere to the following guidelines:

Pull Request Title Format

Your PR title should start with one of these prefixes to indicate the nature of the change:

  • [Bug]: Corrections to existing functionality
  • [CI]: Changes to build process or CI pipeline
  • [Docs]: Updates or additions to documentation
  • [API]: Modifications to aibrix's API or interface
  • [CLI]: Changes or additions to the Command Line Interface
  • [Misc]: For changes not covered above (use sparingly)

Note: For changes spanning multiple categories, use multiple prefixes in order of importance.

Submission Checklist

  • PR title includes appropriate prefix(es)
  • Changes are clearly explained in the PR description
  • New and existing tests pass successfully
  • Code adheres to project style and best practices
  • Documentation updated to reflect changes (if applicable)
  • Thorough testing completed, no regressions introduced

By submitting this PR, you confirm that you've read these guidelines and your changes align with the project's contribution standards.

@DwyaneShi DwyaneShi requested review from Jeffwan and happyandslow May 7, 2025 19:27
@DwyaneShi DwyaneShi force-pushed the haiyang/kvcache-l2cache-part2 branch from bc425c7 to c8d8e98 Compare May 7, 2025 19:53
logger = getLogger(__name__)


class RedisMetaService(MetaService):
Copy link
Collaborator

Choose a reason for hiding this comment

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

the naming is a little bit confused here. is this a service? or client

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a client to access the meta service. What could be a suggested naming? We usually use meta service in other projects to refer to meta service clients as well.

Copy link
Collaborator

Choose a reason for hiding this comment

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

RedisMetadataClient or RedisMetadataBackend etc make more sense. This can be done in a separate PR.

@Jeffwan
Copy link
Collaborator

Jeffwan commented May 7, 2025

seems the test filed are not formatted yet. Please help fix the ci and then let's merge this one

@DwyaneShi DwyaneShi force-pushed the haiyang/kvcache-l2cache-part2 branch from c8d8e98 to 6d1d00c Compare May 7, 2025 20:23
- meta service module
- placement module
- Unit test for placement and meta service

Meta service module has the same architectural level as L2Cache since
it could be further extended to support more functionalities beyond
current placement feature used by L2Cache.

Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com>
@DwyaneShi DwyaneShi force-pushed the haiyang/kvcache-l2cache-part2 branch from 6d1d00c to 7788fde Compare May 7, 2025 21:33
@DwyaneShi DwyaneShi merged commit ef021ba into vllm-project:main May 7, 2025
13 checks passed
Yaegaki1Erika pushed a commit to Yaegaki1Erika/aibrix that referenced this pull request Jul 23, 2025
- meta service module
- placement module
- Unit test for placement and meta service

Meta service module has the same architectural level as L2Cache since
it could be further extended to support more functionalities beyond
current placement feature used by L2Cache.

Signed-off-by: Haiyang Shi <haiyang.shi@bytedance.com>
Co-authored-by: Haiyang Shi <haiyang.shi@bytedance.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.

2 participants