You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# **FastSim – Event-Loop Aware Simulation for Backend Systems**
1
+
# **AsyncFlow – Event-Loop Aware Simulation for Backend Systems**
2
2
3
3
## **1. Overview**
4
4
5
5
Modern asynchronous Python stacks such as **FastAPI + Uvicorn** deliver impressive performance, yet capacity planning for production workloads often relies on guesswork, costly cloud-based load tests, or late-stage troubleshooting.
6
6
7
-
**FastSim** addresses this challenge by providing a **digital twin** of your service that can be run entirely offline. It models event-loop behaviour, resource constraints, and request lifecycles, enabling you to forecast performance under different workloads and architectural choices **before deployment**.
7
+
**AsyncFlow** addresses this challenge by providing a **digital twin** of your service that can be run entirely offline. It models event-loop behaviour, resource constraints, and request lifecycles, enabling you to forecast performance under different workloads and architectural choices **before deployment**.
8
8
9
-
FastSim allows you to answer questions such as:
9
+
AsyncFlow allows you to answer questions such as:
10
10
11
11
**What happens to p95 latency if traffic doubles during a peak event?*
12
12
**How many cores are required to maintain SLAs at scale?*
@@ -37,7 +37,7 @@ Until published, clone the repository and install in editable mode:
37
37
- Python 3.11+ (recommended 3.12)
38
38
- Poetry ≥ 1.6
39
39
40
-
FastSim uses [Poetry](https://python-poetry.org/) for dependency management.
40
+
AsyncFlow uses [Poetry](https://python-poetry.org/) for dependency management.
41
41
If you do not have Poetry installed, follow these steps.
Copy file name to clipboardExpand all lines: docs/fastsim-docs/metrics_to_measure.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
### **FastSim — Simulation Metrics**
1
+
### **AsyncFlow — Simulation Metrics**
2
2
3
-
Metrics are the lifeblood of any simulation, transforming a series of abstract events into concrete, actionable insights about system performance, resource utilization, and potential bottlenecks. FastSim provides a flexible and robust metrics collection system designed to give you a multi-faceted view of your system's behavior under load.
3
+
Metrics are the lifeblood of any simulation, transforming a series of abstract events into concrete, actionable insights about system performance, resource utilization, and potential bottlenecks. AsyncFlow provides a flexible and robust metrics collection system designed to give you a multi-faceted view of your system's behavior under load.
4
4
5
-
To achieve this, FastSim categorizes metrics into three distinct types:
5
+
To achieve this, AsyncFlow categorizes metrics into three distinct types:
6
6
7
7
1.**Sampled Metrics (`SampledMetricName`):** These metrics provide a **time-series view** of the system's state. They are captured at fixed, regular intervals (e.g., every 5 milliseconds). This methodology is ideal for understanding trends and measuring the continuous utilization of finite resources. Think of them as periodic snapshots of your system's health.
Copy file name to clipboardExpand all lines: docs/fastsim-docs/requests_generator.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This document describes the design of the **requests generator**, which models a
6
6
7
7
## Model Inputs and Output
8
8
9
-
Following the FastSim philosophy, we accept a small set of input parameters to drive a “what-if” analysis in a pre-production environment. These inputs let you explore reliability and cost implications under different traffic scenarios.
9
+
Following the AsyncFlow philosophy, we accept a small set of input parameters to drive a “what-if” analysis in a pre-production environment. These inputs let you explore reliability and cost implications under different traffic scenarios.
10
10
11
11
## **Inputs**
12
12
@@ -386,4 +386,4 @@ The sampling window length governs how often we re-sample $U$. It should reflect
386
386
387
387
388
388
**Key takeaway:** By structuring the generator as
389
-
$\Lambda = U\,\lambda_r/60$ with a two-stage Poisson→Exponential sampler, FastSim efficiently reproduces compound Poisson traffic dynamics without any complex CDF inversion.
389
+
$\Lambda = U\,\lambda_r/60$ with a two-stage Poisson→Exponential sampler, AsyncFlow efficiently reproduces compound Poisson traffic dynamics without any complex CDF inversion.
Copy file name to clipboardExpand all lines: docs/fastsim-docs/runtime_and_resources.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
Of course. This is an excellent request. A deep dive into the "why" and the real-world analogies is what makes documentation truly valuable.
2
2
3
-
Here is the comprehensive, detailed documentation for the FastSim Runtime Layer, written in English, incorporating all your requests.
3
+
Here is the comprehensive, detailed documentation for the AsyncFlow Runtime Layer, written in English, incorporating all your requests.
4
4
5
5
-----
6
6
7
-
# **FastSim — The Runtime Layer Documentation**
7
+
# **AsyncFlow — The Runtime Layer Documentation**
8
8
9
9
*(Version July 2025 – Aligned with `app/runtime` and `app/resources`)*
10
10
@@ -80,7 +80,7 @@ Think of `RequestState` as a request context in a modern microservices architect
80
80
## **4 The Resource Layer — Modelling Contention ⚙️**
81
81
82
82
In real infrastructures every machine has a hard ceiling: only *N* CPU cores, only *M* MB of RAM.
83
-
FastSim mirrors that physical constraint through the **Resource layer**, which exposes pre-filled SimPy containers that actors must draw from. If a token is not available the coroutine simply blocks — giving you back-pressure “for free”.
83
+
AsyncFlow mirrors that physical constraint through the **Resource layer**, which exposes pre-filled SimPy containers that actors must draw from. If a token is not available the coroutine simply blocks — giving you back-pressure “for free”.
0 commit comments