Commit 3b5ff10
Release/v0.1.1 (#22)
* setting up the branch
* minor correction
* minor changes
* improved script for linux
* minor change
* Delete docker_fs/.env.dev
* Delete docker_fs/.env.test
* Features/event generator (#1)
* setting up the generator
* poisson-poisson requests sampling
* Delete docker_fs/.env.dev
* Delete docker_fs/.env.test
* changes
* refactor for event generator
* added gaussian truncated generator and unit tests for helpers
* imprved documentantion and simulation time handling
* simulation start with the vent generator
* small refactor + tests for the generation of events
* minor changes
* Update src/app/schemas/simulation_input.py
* Update tests/unit/sampler/test_sampler_helper.py
* Update scripts/quality-check.sh
* Update tests/integration/db_initialization/test_init_models.py
* minor changes after PR review
---------
* minor changes
* Features/event generator documentation test improvements (#2)
* moving file to correct folder
* Documentation added
* Update requests_generator.md
* test Added, introduced constants for the sampling window
* Update tests/unit/sampler/test_poisson_posson.py
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* README update
* Improved constants management
* Clean and refactor
* Features/request handler endpoint input (#3)
* Introduction of the input structure for endpoints
* Documentation + foundation of topology input
* Improve Step validation, added unit test for the input
* improved documentation for the input
* Features/definition full payload simulation (#4)
* Improved input structure and pytest
* Improved pytest structure accordingly to the new schema
* definition of the metrics to be measured and update of the simulation input
* improved documentations added rationale behind metrics
* improved pytest logic and code coherence
* Update src/app/core/helpers.py
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Features/rqs generator runtime (#5)
* definition of state and RqsGeneratorRuntime
* defined edge runtime and more central logic for sampler
* minor changes
* minor changes
* minor bug fixed
* pytest adapted to the new structure, added pytest for rqs_state
* Update src/app/core/runtime/rqs_generator.py
Co-authored-by: Copilot <[email protected]>
* Update src/app/core/runtime/rqs_generator.py
Co-authored-by: Copilot <[email protected]>
* Update src/app/core/runtime/edge.py
Co-authored-by: Copilot <[email protected]>
* Update src/app/core/runtime/edge.py
Co-authored-by: Copilot <[email protected]>
* Update tests/unit/runtime/test_requests_generator.py
Co-authored-by: Copilot <[email protected]>
* Update src/app/core/event_samplers/common_helpers.py
Co-authored-by: Copilot <[email protected]>
* Update src/app/core/event_samplers/common_helpers.py
Co-authored-by: Copilot <[email protected]>
* Update src/app/core/event_samplers/common_helpers.py
Co-authored-by: Copilot <[email protected]>
* minor changes
---------
Co-authored-by: Copilot <[email protected]>
* Features/client server runtime (#6)
* defined client runtime + tests
* initiated the server runtime plus correction of tghe structure
* code refactor + test added for runtime + documentation
* Update tests/conftest.py
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Features/metric sampler and collection (#7)
* defined architecture for the central collector + documentation
* server modification to collect metrics and updated docs
* Completed metric collector for server plus test
* remove web app dependencies and added metrics for rqs latency
* improved docs and improved metric collection
* changes to make the code compatible with new changes
* improved ci against toml changes
* update lock file
* minor change
* Features/metrics elaboration (#8)
* introduction to the analyzer class + tests
* refactor of the analyzer
* Features/load balancer node (#9)
* Added LB structure in the input for the simulation + tests
* introduced LB runtime + documentation
* Added test for LB and small refactor to define the SimRunner
* Features/simulation runner (#10)
* added the first method to the simulation runner
* added methods to handle nodes
* completed simulation runtime + integration test
* Features/integration tests unit tests (#11)
* new integration test + bug fixing
* added integration and unit test
* first tests working
* minor change
* first working example, upgrade docs, upgrade docstrings
* improvements
* path bug fixed
* new readme and guide to build yaml
* Update README.md
* Added pybuilder and unit tests (#12)
* Refactor/change project name plus docs improvement (#13)
* Changed name from fastsim to asyncflow app folder renamed in asyncflow
* improved docs
* minor changes
* Refactor/pypi preparation (#14)
* Reafctor for the folder schemas + defined import for public api
* Defined public api, improved docs
* minor changes
* minor changes
* Features/lb example and docs tutorial (#15)
* minor docs changes
* improved pytoml
* improved docs + LB examples
* sanity ci check
* Ci for main (#16)
* Readme final, docs improved
* Docs improvement, refactor analyzer, example added
* Added scripts for setup, added pytest, improved readme
* Example LB improvements
* CI for main + system tests
* fixing a bug
* bug fixed
* version bump
* version bump
* Feature/event injection input (#19)
* Structure defined for the pydantic model representing Event to be injected
* Pydantic validation in the payload for events part 1
* Definition of the input for the events injection part 2
* minor fixes ruff and mypy compliant
* full tests and docs added for input event injection
* fixed minor bugs
* Feature/event injection runtime (#20)
* Events injection for edges part 1
* Logic + docs for the event injection to simulate a server down
* Added pydantic validation + unit + int tests for eventinjection
* added exaple for event inj yaml + builder added int tests
* improved server model + system tests for eventinjection
* ruff small fix
* Refactor/fixing readme small fixes (#21)
* new readme, ci to have pycov badge, comment on server runtime
* small changes
* small fix ci
* fixing ci
* small test fix
---------
Co-authored-by: Copilot <[email protected]>1 parent e29b6f7 commit 3b5ff10
File tree
100 files changed
+5393
-341
lines changed- .github/workflows
- docs
- api
- internals
- examples
- builder_input
- event_injection
- lb_two_servers_events_plots
- single_server_plot
- load_balancer
- single_server
- yaml_input
- data
- event_injections
- heavy_single_server_plot
- lb_two_servers_plots
- single_server_plot
- load_balancer
- two_servers_plot
- single_server
- single_server_plot
- readme_img
- src/asyncflow
- builder
- components
- config
- runtime
- actors
- routing
- events
- schemas
- events
- topology
- tests
- integration
- event_injection
- load_balancer
- single_server
- system
- unit
- public_api
- runtime
- actors
- events
- schemas
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+5393
-341
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
23 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
24 | 45 | | |
25 | | - | |
| 46 | + | |
26 | 47 | | |
27 | | - | |
| 48 | + | |
28 | 49 | | |
29 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
30 | 66 | | |
31 | 67 | | |
32 | 68 | | |
33 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
34 | 75 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 76 | | |
39 | 77 | | |
40 | 78 | | |
| |||
167 | 205 | | |
168 | 206 | | |
169 | 207 | | |
170 | | - | |
| 208 | + | |
171 | 209 | | |
172 | 210 | | |
173 | 211 | | |
| |||
279 | 317 | | |
280 | 318 | | |
281 | 319 | | |
| 320 | + | |
282 | 321 | | |
| 322 | + | |
283 | 323 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 324 | + | |
| 325 | + | |
356 | 326 | | |
357 | | - | |
| 327 | + | |
| 328 | + | |
358 | 329 | | |
359 | | - | |
360 | | - | |
| 330 | + | |
| 331 | + | |
361 | 332 | | |
362 | | - | |
| 333 | + | |
| 334 | + | |
363 | 335 | | |
364 | | - | |
| 336 | + | |
| 337 | + | |
365 | 338 | | |
366 | | - | |
367 | | - | |
| 339 | + | |
368 | 340 | | |
369 | | - | |
370 | 341 | | |
371 | | - | |
372 | 342 | | |
373 | | - | |
374 | | - | |
| 343 | + | |
375 | 344 | | |
0 commit comments