Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR upgrades AsyncFlow’s queue-theory analysis and runtime metrics so users can compare Theory vs Observed in a transparent, model-faithful way across M/M/1 and M/M/c scenarios.
Highlights
MMc support (two flavors)
Observed KPIs computed independently
service_time.L_SYSTEMseries (fallback to λ̂·Ŵ only if missing).LQ_LB(FCFS) or the sum of per-serverLQ_SERVERmeans (split); fallback to λ̂·Wq̂ only if missing.SERVER_UTILIZATIONseries (fallback to λ̂/(c·μ̂) only if needed).New/expanded sampled metrics (exposed by the analyzer)
L_SYSTEM(system population at the generator scope).LQ_SERVERandLQ_IO(per-server queues).SERVER_UTILIZATION(busy indicator per server).get_metric_map(...)(enum or string key).ResultsAnalyzer quality-of-life
get_server_event_arrays()now exposes per-request arrays:latencies,service_time,io_time,waiting_time,finish_times.list_server_ids()helper for stable server enumeration.get_server_throughput_series(...).Comparison tables
Notebooks & docs
time-series are present and used (no silent fallbacks).