Comments (1)
Design notes with @yeudit - Concurrency input and scalability
- General idea: We would like to take into account the user input "Concurrency" which will specify how many concurrent users (or clients) we'd like to simulate.
To achieve concurrency for the specified use cases, we need to scale up our K8S running on Azure (AKS). - Environment: We will run our experiments on a Linux based AKS, with a predefined number of nodes.
Each node increases the number of concurrency that we can achieve.
We may use all nodes in the cluster to maximize the concurrency. In some cases, when the desired concurrency is low, we will not need to use all nodes (see dashed line), which will simulate a use case of small-medium traffic applications.
Important to know:
- Concurrency depends on the underlying CPU specs.
- Concurrency will not be improved when creating new pods in the same node, if the existing ones already take up the max capacity of the node's CPU cores.
- Concurrency will be improved when adding nodes in the K8S cluster. Adding more nodes = more CPU cores.
Design decisions made:
- When using Docker we will currently support 1 Curl container and 1 NGINX container only.
- When using Kubernetes, for operational simplicity, we deploy Curl pods as a DaemonSet, one per node. The Curl pod that shares the same node with the NGINX pod won't be in use.
- When the app is initiating, we need to calculate the max concurrency of the environment we are running on:
- Run 10000 (configurable) iterations with algorithm prime256v1 (configurable) on a pod/docker container.
- Max concurrency = Iteration / Total run time
Research question:
- When NGINX pods increase due to significant traffic, what will happen to the memory and cpu? when using PQC / hybrid algorithms, will we see a faster increase of pods?
- What will be the throughput values when using PQC/hybrid algorithms?
from qujata.
Related Issues (20)
- K8S mode - Run qujata-curl as DaemonSet
- Analyze api - support working with multiple curl pods
- New metric for percentage of cpu usage
- Test run parameters - Message size
- New metric for actual concurrency
- [API] Add message_size parameter
- [Curl] Add message size parameter
- [Nginx] Support post requests with body
- [Portal] Add message_size parameter
- Curl api - calculate throughput info
- Analyze api - save throughput metrics
- Test suites api - return new throuput metrics
- Medium Article - Qujata
- UI - add the new columns for throughput metrics
- Init app concurrency when app is loaded
- message sizes list options api
- Automatic support of OQS algorithms
- Unit Testing Coverage - Frontend
- UI Enhancements
- New view to the app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qujata.