Skip to content

Version 1.2

Choose a tag to compare

@000Sushant 000Sushant released this 14 Jun 10:08
· 63 commits to main since this release
Immutable release. Only release title and notes can be modified.
303be18

Sr. Architect: AWS System Design Simulator - Version 1.2 Release Notes

Welcome to the official, in-depth release notes for Version 1.2. This release represents a significant evolution of the Sr. Architect platform, moving from a basic sandbox to a professional-grade architecture sketchbook and deterministic traffic/cost simulation engine.

Below is a comprehensive technical breakdown of every new feature, sub-system, pricing mechanism, simulation behavior, and configuration schema introduced in Version 1.2.


🗺️ Table of Contents

  1. Expanded AWS Service Catalog
  2. Dual-Mode Workspace (Developer vs. Architect)
  3. Interactive In-App Documentation System
  4. Live AWS Cost Estimation Engine
  5. Multi-Canvas Configuration Support
  6. Variable Traffic Modeling
  7. Traffic Distribution Manager
  8. Canvas Keyboard Hotkeys
  9. Realistic Bottleneck & Resource Collapse Modeling
  10. Ways to Contribute

1. Expanded AWS Service Catalog

Version 1.2 expands the supported AWS service library to over 60+ hand-crafted services, covering compute, serverless, database, networking, security, storage, application integration, analytics, and management.

Technical & Declarative Schema

Instead of hardcoding services in TypeScript, the catalog is entirely data-driven, defined using three primary JSON files in frontend/src/app/core/config/ and frontend/src/app/core/data/:

  1. Service Metadata & Connectivity Rules (aws-services.json):

    • Defines the service type keys (e.g., lambda, ecs, rds, sqs).
    • Configures connection ports: inputs and outputs arrays carrying specific port types (http, event, queue, topic, storage, database, cache, compute, identity, network, observability, workflow, job, result, cdn, dns).
    • Outlines connection routing rules (~418 rules) defining which source-to-target services are valid based on matching port semantics (e.g., EventBridge $\rightarrow$ Lambda via event ports).
  2. Simulation & Cost Parameters (service-cost-model.json):

    • Contains primaryParams (simulation-impacting knobs like latency, concurrencyLimit, replicaCount).
    • Contains costParams (cost-impacting parameters like instanceClass, ebsStorageGb, provisionedThroughput).
    • Defines formula references and parameter defaults.
  3. Service Documentation Markdown (service-documentation.json):

    • Houses user-facing descriptive texts, architectural benefits, when-to-use/avoid guidelines, and practical integration cases.

2. Dual-Mode Workspace (Developer vs. Architect)

To accommodate both cloud engineering students and senior infrastructure architects, Version 1.2 introduces a Dual-Mode Workspace toggle:

Feature Area 🎓 Developer Mode (Sandbox) 📐 Architect Mode (Production)
Catalog Scope Simplified palette of 24+ core AWS services Full access to all 60+ AWS services
Parameter Complexity Standardized/abstracted parameters (e.g., basic scaling) Low-level configurations (EC2 instance types, EBS IOPS, Multi-AZ)
Documentation Visibility Full in-context guides with interactive illustrations Compact technical definitions and quick metric tips
Pricing Interface Simplified billing badges Deeply detailed per-service monthly billing worksheets
  • Developer Mode focuses on system behaviors, data flows, and logical architecture.
  • Architect Mode enables granular provisioning analysis and defends architectural choices with pricing evidence.

3. Interactive In-App Documentation System

We have added a comprehensive in-app documentation center directly beside the design canvas.

Documentation Capabilities

  • Conceptual Models: Each service features a beginner-friendly explanation translating dry cloud infrastructure terminology into practical analogies.
  • Architectural Working Illustrations: Custom-coded SVG diagrams (located in documentation.component.ts) with animated animateMotion packets and category-colored flow paths that visualize data transport flows through the service.
  • Integration Patterns: Concrete use cases demonstrating how to couple the chosen service with other components (e.g., API Gateway $\rightarrow$ SQS $\rightarrow$ Lambda pattern).
  • Failure Modes & Bottlenecks: Highlights the real-world performance limits of each node (e.g., Lambda concurrency exhaustion, DynamoDB write provisioning capacity limits, SQS queue latency).

4. Live AWS Cost Estimation Engine

The billing engine calculates costs dynamically as architectures are drawn, using pricing variables synchronized with the live AWS Pricing API.

+------------------------+      Weekly CRON      +-------------------------+
|  AWS Pricing API       | --------------------> |   Cloudflare Worker     |
+------------------------+                       +-------------------------+
                                                              |
                                                              v Writes fallback & baseline
                                                 +-------------------------+
                                                 |  worker/schema-builder  |
                                                 +-------------------------+
                                                              |
                                                              v Synchronized with
+------------------------+                       +-------------------------+
| us-east-1.json (FE)    | <-------------------> | validate-pricing.mjs    |
+------------------------+                       +-------------------------+

The Cost Sync Pipeline

  • Weekly pricing updates: A Cloudflare Worker fetches the latest regional pricing rates from the AWS Pricing API and stores them in Cloudflare KV.
  • Fallback Pricing: When KV is unreachable, the simulator falls back to us-east-1.json.
  • Validation Script: The test suite in validate-pricing.mjs runs against the worker's schema-builder.ts using .env variables to ensure that pricing properties, parameters, and defaults match exactly.
  • Calculations (cost.service.ts): Evaluates costs dynamically using standard AWS pricing formulas (e.g., computing Lambda GB-Seconds billing for x86 vs. ARM architectures, compute hours, EBS volumes, and API Gateway tiered request billing).

5. Multi-Canvas Configuration Support

Version 1.2 supports Multi-Canvas Workspaces using tabbed interfaces:

  • Architectural Segregation: Designers can break down complex microservice environments into distinct layers (e.g., Ingress & CDN, Core APIs, Data Processing & Analytics).
  • Tab Isolation: Each tab represents a fully isolated workspace with its own nodes, connection nodes, configurations, and running simulation state, while generating consolidated dashboard metrics.

6. Variable Traffic Modeling

Instead of modeling static, flat request rates, the simulator now supports Variable Traffic Patterns to simulate real-world user load spikes:

  • Configurable Traffic Bounds: Set minimum and maximum Requests Per Second (RPS) bounds on client nodes.
  • Randomized Fluctuations: The engine applies localized random walks to request frequencies, simulating real-world spikes, dips, and user concurrency transitions.
  • Average vs. Peak Cost Analysis: Visualizes how variable spikes impact overall system costs (such as serverless scaling and transfer bandwidth costs) compared to sustained baseline loads.

7. Traffic Distribution Manager

When a node connects to multiple downstream nodes, Version 1.2 introduces a Traffic Distribution Manager overlay:

  • Weighted Routing: Distribute incoming requests between multiple target nodes (e.g., splitting a load of 1,000 RPS 70/30 across two target pools).
  • Load Balancing & Failover: Simulates canary deployments (90% stable $\rightarrow$ 10% canary) and weighted application routing.
  • Propagation Logic: The simulation cascades weighted calculations through all subsequent child dependencies automatically.

8. Canvas Keyboard Hotkeys

To improve editing productivity, we have added native keyboard shortcuts directly on the design canvas:

  • Ctrl + Z: Undo the last node placement, configuration change, or connection action.
  • Ctrl + Y / Ctrl + Shift + Z: Redo the previously undone change.
  • Ctrl + S: Save the current workspace configuration to local storage.
  • Delete / Backspace: Instantly remove the selected node or connector from the canvas.

9. Realistic Bottleneck & Resource Collapse Modeling

Version 1.2 replaces simple RPS capacity limits with Multi-Factor Resource Saturation Modeling:

[Incoming Traffic] 
       |
       v
+--------------+   Exceeds capacity?   +-----------------------+
|  Queue Depth | --------------------> |   Load-Shedding       |
+--------------+                       | (Throttles & Buffers) |
       |                               +-----------------------+
       v Under limit
+--------------+   Exceeds limit?      +-----------------------+
|  CPU Load /  | --------------------> |   Sustained Pressure  |
|  Concurrency |                       | (Node Collapse/Red)   |
+--------------+                       +-----------------------+
                                                   |
                                                   v
                                       +-----------------------+
                                       |   Cascading Failures  |
                                       | (Zeroes Downstream)   |
                                       +-----------------------+

Advanced Failure Dynamics

  1. Multi-Factor Saturation: Node throughput limits are calculated dynamically based on database parallel query ceilings, compute concurrency configurations, queue buffer depth caps, and CPU limits.
  2. Load-Shedding & Throttling: Managed services like SQS, DynamoDB, or API Gateway will throttle requests and buffer them in queues during brief traffic spikes rather than failing immediately.
  3. Sustained-Pressure Server Collapse: If a compute node (e.g., EC2, ECS, RDS) is subjected to maximum load for too long, it collapses into a terminal offline state and turns bright red on the canvas.
  4. Cascading Failure Cascades (cascadeOfflineDownstream): Once a node fails and goes offline, the BFS simulation engine zeroes downstream traffic paths originating from it, showing the exact cascading path impact across your architecture.

10. Ways to Contribute

Sr. Architect is open source and built in the open — and it grows stronger with every person who pitches in. Whether you write code, file a thoughtful bug report, or simply help keep the lights on, there's a place for you here. Pick whichever way fits you best:

🎯 Take on the Current Open Challenge

There's always a focused, well-scoped challenge waiting for someone to claim it. These are curated problems — a tricky simulation edge case, a pricing-accuracy improvement, a new canvas interaction — chosen to make a real, visible difference to the project. If you'd like a meaningful first contribution with guidance along the way, this is the best place to start.
→ Browse the open challenges on GitHub Issues.

🧩 Add a Meaningful Service

The catalog is entirely data-driven, so adding a new AWS service is approachable even if you're newer to the codebase. Most services come to life through three JSON files (connectivity rules, the simulation/cost model, and documentation) plus a hand-crafted illustration. If there's a service you wish the simulator modeled — and you can describe its real traffic and cost behavior accurately — we'd love to see it added.
→ Read the architecture notes in the repo, then open a PR against the project on GitHub.

💬 Share Your Feedback

You don't need to write a single line of code to move this project forward. Your perspective is genuinely valuable:

  • Improvement suggestions & experience — tell us what would make the tool more useful, what clicked, and what felt confusing. → Share feedback.
  • Bug reports — found something that behaves oddly? A clear report (what you did, what you expected, what happened) helps enormously. → Report a bug.

💜 Sponsor the Project

If Sr. Architect has been useful to you and you'd like to help it keep growing, you can sponsor its development. 100% of every sponsorship goes directly into building this project — keeping the pricing pipeline running, expanding the service catalog, and shipping new features. Even $1 matters and helps keep things running.
→ Become a sponsor at github.com/sponsors/000Sushant.