Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Examine real-world scaling scenarios #67

@litalmason

Description

@litalmason

Description

We want to observe different setups of scaling with different concurrency levels.
This will be done by simulating many clients, and observing server pods scaling up.
We would like to examine the impacts of PQC on such common use cases, measuring memory, CPU, throughput and more.

Acceptance Criteria

Real-world scaling scenarios

We need to test the following scenarios by minimum.

Low traffic applications

  1. Light Traffic E-commerce
    • Number of Requests: 100
    • Request Size: Small (e.g., 1KB)
    • Concurrency: 20
    • Scenario: Simulate an e-commerce application during off-peak hours.

Medium traffic applications

  1. IoT Device Control
    • Number of Requests: 300
    • Request Size: Tiny (e.g., 100 bytes)
    • Algorithms: Quantum-Safe, Hybrid, Classic
    • Concurrency: 30
    • Scenario: Evaluate the impact of algorithms on real-time control and monitoring of IoT devices.

  2. Healthcare Records Access
    • Number of Requests: 500
    • Request Size: Medium (e.g., 1MB)
    • Concurrency: 50
    • Scenario: Simulate a healthcare application for accessing patient records.

  3. Social Media Surge
    • Number of Requests: 1000
    • Request Size: Medium (e.g., 1MB)
    • Concurrency: 100
    • Scenario: Emulate a social media platform during a viral event or trending topic.

High traffic applications

  1. Online Banking Transactions
    • Number of Requests: 2000
    • Request Size: Medium (e.g., 1MB)
    • Concurrency: 200
    • Scenario: Assess the impact of algorithms on the security and speed of financial transactions.

  2. Ride-Sharing Peak Hours
    • Number of Requests: 3000
    • Request Size: Tiny (e.g., 100 bytes)
    • Algorithms: Quantum-Safe, Hybrid, Classic
    • Concurrency: 300
    • Scenario: Simulate a ride-sharing app during rush hours in a busy city.

Very high traffic applications

  1. Online Retail Peak Sale
    • Number of Requests: 5000
    • Request Size: Large (e.g., 10MB)
    • Concurrency: 500
    • Scenario: Simulate an online retail store during a peak shopping season or sale event.

  2. Video Streaming Service
    • Number of Requests: 10,000
    • Request Size: Large (e.g., 10MB)
    • Algorithms: Quantum-Safe, Hybrid, Classic
    • Concurrency: 1000
    • Scenario: Evaluate how well your application handles a surge in video streaming requests during a major live event.

  3. Content Delivery Network (CDN)
    • Number of Requests: 20,000
    • Request Size: Very Large (e.g., 100MB+)
    • Algorithms: Quantum-Safe, Hybrid, Classic
    • Concurrency: 2000
    • Scenario: Measure how algorithms affect the speed and efficiency of delivering very large media files during a global event.

Tasks

  • K8S mode - run qujata-curl as DaemonSet
  • Init app concurrency when app is loaded
  • Analyze api - support working with multiple curl pods
  • New metric for percentage of cpu usage
  • Analyze api - new parameter of concurrency
  • scale up nginx pods
    (More tasks to be added, this does not cover everything)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions