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

Scalability Testing: Decompose Registry testing #1017

Closed
Bolodya1997 opened this issue Apr 27, 2021 · 0 comments · Fixed by networkservicemesh/sdk#1213
Closed

Scalability Testing: Decompose Registry testing #1017

Bolodya1997 opened this issue Apr 27, 2021 · 0 comments · Fixed by networkservicemesh/sdk#1213
Labels
Planning Issue related to SOW

Comments

@Bolodya1997
Copy link

Test plan

Use cases:

  1. NSMgr registers Endpoint on Registry.
  2. NSMgr updates Endpoint on Registry.
  3. NSMgr unregisters Endpoint from Registry.
  4. NSMgr creates a find request to Registry.
  5. NSMgr creates a watching find request to Registry.
  6. Registry unregisters expired Endpoint from itself.

Test scenarios:

  1. NSMgr registers Endpoint on Registry:
    • Setup
      1. Start Registry.
    • Test
      1. Start N fake NSMgrs each registering E Endpoints.
  2. NSMgr updates Endpoint on Registry:
    • Setup
      1. Start Registry.
      2. Start N fake NSMgrs each registering E Endpoints with T update time.
    • Test
      1. Wait T time for updates.
  3. NSMgr unregisters Endpoint from Registry:
    • Setup
      1. Start Registry.
      2. Start N fake NSMgrs each registering E Endpoints.
    • Test
      1. Unregister endpoints.
  4. NSMgr creates a find request to Registry:
    • Setup
      1. Start Registry.
      2. Start N fake NSMgrs each registering E Endpoints.
    • Test
      1. Create F find requests from each NSMgr to Registry.
  5. NSMgr creates a watching find request to Registry:
    • Setup
      1. Start Registry.
      2. Start N fake NSMgrs each registering E Endpoints.
    • Test
      1. Create W watching find requests from each NSMgr to Registry.
  6. Registry unregisters expired Endpoint from itself:
    • Setup
      1. Start Registry.
      2. Start N fake NSMgrs each registering E Endpoints with T expiration time.
    • Test
      1. Wait T time for unregisters.

Tasks

  1. Create fake NSMgr CMD.
    Estimation: 1d
  2. Create MD integration test for (1) test scenario with N, E variable parameters and measure time, CPU, memory usage for memory, k8s Registry during the test.
    Estimation: 1d
  3. Create MD integration test for (2) test scenario with N, E, T variable parameters and measure time, CPU, memory usage for memory, k8s Registry during the test.
    Estimation: 3h
  4. Create MD integration test for (3) test scenario with N, E variable parameters and measure time, CPU, memory usage for memory, k8s Registry during the test.
    Estimation: 3h
  5. Create MD integration test for (4) test scenario with N, E, F variable parameters and measure time, CPU, memory usage for memory, k8s Registry during the test.
    Estimation: 1d
  6. Create MD integration test for (5) test scenario with N, E, W variable parameters and measure time, CPU, memory usage for memory, k8s Registry during the test.
    Estimation: 3h
  7. Create MD integration test for (6) test scenario with N, E, T variable parameters and measure time, CPU, memory usage for memory, k8s Registry during the test.
    Estimation: 3h

Estimation

5d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Planning Issue related to SOW
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant