att / qujata

Next-Gen Crypto. Quantified.
MIT License
13 stars 3 forks source link

Examine real-world scaling scenarios #67

Open litalmason opened 6 months ago

litalmason commented 6 months ago

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

litalmason commented 5 months ago

Design notes with @yeudit - Concurrency input and scalability

Important to know:

Design decisions made:

Research question: