Git Product home page Git Product logo

Comments (1)

litalmason avatar litalmason commented on July 28, 2024

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.
    image

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:
  1. Run 10000 (configurable) iterations with algorithm prime256v1 (configurable) on a pod/docker container.
  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.