6. Runtime View
This section describes key runtime scenarios that illustrate how PSSaaS processes requests and manages workflows. For a comprehensive view of all workflows in the legacy system, see the Legacy Workflow Map.
6.1 Best Execution Analysis Flow
The BestEx engine is the core differentiator — a 24-step pricing analysis that determines the optimal execution path for each loan.
Key Characteristics
- Single loan pricing must complete in under 3 seconds
- Batch analysis (1,000 loans) must complete in under 30 seconds
- Results are cached but invalidated when rate sheets update
- All LLPA calculations must match the desktop app output exactly
6.2 Trade Settlement Flow
Trade settlement is the process of finalizing a trade commitment — designating loans, confirming with the investor, and settling.
6.3 Pooling Engine Flow
The pooling engine uses a constraint-satisfaction algorithm to optimally group loans into pools for agency delivery (Fannie Mae, Freddie Mac, Ginnie Mae).
6.4 Tenant Resolution Flow
Every request must resolve to a tenant context before any business logic executes.