Skip to main content

Cloud Architecture

Cloud design frameworks and reference architectures

9
Standards
9
Best Practices
4
Stacks
10
FAQs
1
Benchmarks

Standards

AWS Well-Architected Framework 2023

Adhering to AWS standards during software migrations is crucial for minimizing risks, ensuring compliance, and optimizing performance. This comprehensive guide outlines key requirements, practical implementation strategies, and tools to help teams navigate the complexities of the migration process effectively.

by Amazon Web Services

aws-well-architected-2023

Azure Well-Architected Framework 2024

Adhering to Microsoft standards during software migrations is essential for ensuring data integrity, security, and compliance. By following best practices and utilizing the right tools, teams can mitigate risks, enhance user trust, and facilitate a successful transition to new systems.

by Microsoft

azure-waf-2024

Google Cloud Architecture Framework 2023

Technical standards are crucial for ensuring successful software migrations, providing guidelines for security, interoperability, and performance. Adhering to these standards mitigates risks, assures quality, and enhances stakeholder confidence, leading to smoother transitions and better outcomes for organizations.

by Google

gcp-architecture-2023

TOGAF 10

The Open Group standards provide essential guidelines for managing software migrations, helping organizations minimize risks and enhance stakeholder confidence. By adhering to these best practices, teams can ensure alignment with business objectives, maintain comprehensive documentation, and implement effective quality assurance measures. This structured approach ultimately fosters successful transitions to modern technologies.

by The Open Group

togaf-10

NIST Cloud Computing Ref Arch SP 500-292

NIST standards are crucial for ensuring secure and compliant software migrations, focusing on data protection, risk management, and regulatory adherence. By following these guidelines, organizations can mitigate risks associated with legacy system transitions, enhance stakeholder trust, and avoid compliance pitfalls during the migration process.

by National Institute of Standards and Technology

nist-ccra

CNCF Cloud-Native Definition v1

Understanding and adhering to CNCF standards is critical for small and mid-sized teams planning software migrations. These standards ensure interoperability, scalability, and security in cloud-native environments, guiding teams through the complexities of modern migrations with practical strategies and tools.

by Cloud Native Computing Foundation

cncf-cloud-native-v1

OMG MDA Guide v1.1

Understanding and adhering to technical standards during software migrations is essential for ensuring data integrity, security, and compliance. This guide outlines the key requirements, practical strategies, and tools necessary to facilitate a smooth transition, while addressing common challenges that teams may face in the migration process.

by Object Management Group

omg-mda-1-1

BIAN Service Landscape v10

Adhering to BIAN standards during software migrations is essential for ensuring interoperability, standardization, and efficiency within banking systems. This guide outlines the key requirements, compliance considerations, and practical steps for successful migrations, empowering teams to navigate complexities confidently and effectively.

by Banking Industry Architecture Network

bian-v10

CBL-Mariner OS Spec 2.0

Adhering to Microsoft's migration standards is essential for ensuring data integrity, security, and compliance during software migrations. By following established guidelines, teams can mitigate risks, meet regulatory requirements, and enhance collaboration. Implementing automated tools and a structured approach will facilitate a smooth transition, while addressing common challenges can further optimize the process.

by Microsoft

cbl-mariner-2-0

Best Practices

AWS Well-Architected Framework

A set of cloud design principles and check-lists for building secure, high-performing, resilient, and efficient workloads on AWS.

by Amazon Web Services

Azure Well-Architected Framework

Microsoft’s five-pillar guidance (reliability, security, cost, performance, ops) for designing and operating workloads on Azure.

by Microsoft

Google Cloud Architecture Framework

Prescriptive guidance covering reliability, cost, performance, security, and operational excellence for GCP workloads.

by Google Cloud

Twelve-Factor App Methodology

Twelve practical guidelines for building modern, portable, cloud-ready web applications.

by Heroku (Salesforce)

Strangler Fig Modernization Pattern

Incrementally replacing legacy systems by routing new functionality to a new service while ‘strangling’ the old.

by ThoughtWorks

AWS Well-Architected Sustainability Pillar

AWS guidance for reducing the environmental impact of cloud workloads by maximizing utilization, right-sizing, and choosing efficient regions, services, and hardware.

by Amazon Web Services

Cloud Migration 7 Rs Strategy

A decision framework for choosing how to migrate each application to the cloud across seven options: retire, retain, rehost, relocate, repurchase, replatform, and refactor.

by Amazon Web Services

Cloud Landing Zone

A pre-configured, secure, multi-account cloud foundation with baked-in identity, networking, governance, and guardrails so teams can deploy workloads safely at scale.

by Amazon Web Services

Cell-Based Architecture

An architecture that partitions a system into independent, self-contained cells, each serving a subset of traffic, to limit blast radius and scale through replication.

by Amazon Web Services

Patterns

Strangler Fig Pattern

Incrementally migrate a legacy system by gradually replacing pieces of functionality with new applications

Ambassador

An out-of-process helper that proxies network calls on behalf of an application, handling connectivity concerns transparently.

Adapter Microservice

A microservice that translates between an application and an external system with an incompatible interface or protocol.

Service Mesh

A dedicated infrastructure layer that manages service-to-service communication via co-located proxies and a central control plane.

Leader Election

Designates a single instance among many to coordinate work, with automatic failover if the leader becomes unavailable.

Distributed Lock

Coordinates exclusive access to a shared resource across multiple processes or nodes that do not share memory.

Consistent Hashing

Distributes keys across nodes so that adding or removing a node remaps only a small fraction of keys.

Externalized Configuration

Stores configuration outside the application artifact so the same build runs unchanged across environments.

Cache-Aside

Load data into a cache on demand from a data store to improve read performance and reduce load on the backing store.

Competing Consumers

Enable multiple concurrent consumers to process messages from the same queue to increase throughput and improve resilience.

Queue-Based Load Leveling

Use a queue between tasks and a service to smooth intermittent heavy loads and protect the service from being overwhelmed.

Throttling

Control the consumption of resources by an instance, tenant, or service so a system stays within capacity under load.

Claim Check

Store a large message payload externally and pass only a reference through the messaging system to avoid moving bulky data.

Compensating Transaction

Undo the completed steps of a multi-step operation when one step fails, restoring consistency without distributed ACID transactions.

Geode

Deploy independent geographically distributed nodes that each serve any request, placing compute close to users worldwide.

Static Content Hosting

Serve static assets from storage or a CDN instead of application servers to cut load, latency, and cost.

External Configuration Store

Move configuration out of deployment packages into a central external store shared and updated across application instances.

Pipes and Filters

Decompose complex processing into a sequence of independent components connected by channels so each step can scale and evolve.

Sequential Convoy

Process related messages in order while still processing unrelated messages in parallel, by grouping them into ordered sets.

Rate Limiting

Constrain the rate of operations against a service or resource to stay within quotas and avoid throttling or overload.

Retry

Automatically reattempt a failed operation that is likely transient, using backoff and limits to recover without user impact.

Rate Limiter

Caps how many requests a client or system may make in a time window, protecting services from overload, abuse, and runaway cost.

Load Shedding

Deliberately rejects or drops lower-priority work when a system nears capacity, preserving stability and protecting high-priority requests under overload.

Graceful Degradation

Keeps core functionality working by selectively disabling or simplifying non-essential features when parts of a system fail or are overloaded.

Hedged Requests

Sends a duplicate request to another replica after a delay, taking whichever response returns first to cut tail latency from slow servers.

Request Coalescing

Merges multiple concurrent identical requests into a single backend call and shares the result, preventing duplicate work and cache-stampede overload.

Tutorials

Building Event-Driven Systems with Kafka

Create scalable event-driven architectures using Apache Kafka

How to design a VPC with public and private subnets on AWS

Build a secure AWS VPC with public and private subnets, NAT, and route tables using Terraform.

How to configure EC2 Auto Scaling groups on AWS

Set up an EC2 Auto Scaling group with a launch template, target tracking policies, and health checks.

How to build a multi-region active-active app on AWS

Architect a multi-region active-active application on AWS with Route 53, global tables, and health-based failover.

How to design a VPC and firewall rules on Google Cloud

Build a custom-mode VPC on Google Cloud with subnets, firewall rules, and Cloud NAT for private workloads.

Checklists

AWS Landing Zone Setup Checklist

Stand up a secure, multi-account AWS foundation with guardrails, networking, and logging before workloads arrive.

Azure Landing Zone Setup Checklist

Build an enterprise-scale Azure landing zone with management groups, policy, networking, and identity ready for workloads.

GCP Landing Zone Setup Checklist

Establish a secure Google Cloud foundation with a resource hierarchy, org policies, shared VPC, and centralized logging.

Multi-Region Failover Readiness Checklist

Verify your application can fail over to a secondary region and meet its recovery objectives under a regional outage.

AWS Well-Architected Review Checklist

Run a structured Well-Architected review across the six pillars to find and prioritize risks in an AWS workload.

Multi-Cloud Migration Readiness Checklist

Assess whether your organization is ready to operate across more than one cloud provider before committing to multi-cloud.

Serverless Production Readiness Checklist

Confirm a serverless application is observable, secure, resilient, and cost-aware before it serves production traffic.

Twelve-Factor App Compliance Checklist

Assess an application against the twelve-factor methodology to confirm it is cloud-ready and operationally portable.

Strangler-Fig Rollout Checklist

Plan and execute a strangler-fig migration that incrementally replaces a legacy system behind a routing facade.

Legacy Mainframe Modernization Readiness Checklist

Assess readiness to modernize a COBOL or mainframe application, covering discovery, data, and a phased rehost-or-rewrite decision.

COBOL Mainframe Modernization Assessment Checklist

Assess a COBOL mainframe estate for modernization, covering inventory, data, batch dependencies, and a 7 Rs migration strategy.

SAP S/4HANA Readiness Checklist

Assess data, custom code, and integrations before migrating an SAP ECC landscape to S/4HANA.

Technology Stacks

Kubernetes + Istio Service Mesh Stack

Cloud-native platform stack pairing Kubernetes orchestration with the Istio service mesh for traffic management, security, and observability.

Amazon Bedrock RAG

A managed RAG stack on AWS using Amazon Bedrock foundation models with Knowledge Bases for retrieval over data stored in S3.

Vertex AI Pipeline

A managed MLOps stack on Google Cloud using Vertex AI Pipelines to orchestrate training, evaluation, and deployment of ML models.

Amazon SageMaker MLOps

A managed MLOps stack on AWS using Amazon SageMaker to build, train, deploy, and monitor machine learning models end to end.

FAQs

What is serverless computing?

Serverless computing is a cloud model where the provider automatically provisions, scales, and manages the servers, so developers deploy code that runs on demand without managing infrastructure. Functions-as-a-Service (FaaS) offerings such as AWS Lambda, Azure Functions, and Google Cloud Functions run code in response to events and bill only for actual execution time. Serverless suits event-driven, spiky, or unpredictable workloads and removes the need for capacity planning. Trade-offs include cold-start latency, execution time limits, and reduced control over the runtime environment.

What is autoscaling in the cloud?

Autoscaling automatically adjusts the number of running resources, such as virtual machines, containers, or pods, in response to demand or defined metrics. Horizontal scaling adds or removes instances, while vertical scaling changes the size of an existing instance. Scaling policies can be reactive, triggered by metrics like CPU or request rate, or predictive, based on forecasted load. Autoscaling improves resilience and cost efficiency by matching capacity to actual usage instead of provisioning for peak load.

What is a cloud landing zone?

A landing zone is a pre-configured, secure, and scalable cloud environment that establishes a baseline for accounts, networking, identity, security, and governance before workloads are deployed. It codifies best practices such as account separation, centralized logging, guardrail policies, and standardized networking so teams can onboard new workloads quickly and safely. AWS Control Tower, Azure Landing Zones, and Google Cloud foundations provide reference implementations. Landing zones are a foundational step in enterprise cloud adoption at scale.

What is the difference between cloud regions and availability zones?

A region is a distinct geographic area where a cloud provider operates data centers, chosen for proximity to users, latency, and data-residency requirements. An availability zone (AZ) is one or more isolated data centers within a region, each with independent power, cooling, and networking. Regions are far apart and isolate large-scale failures and legal boundaries, while AZs within a region are close enough for low-latency replication but isolated enough to survive a single data-center outage. Deploying across multiple AZs is the standard pattern for high availability.

What is multi-cloud?

Multi-cloud is the practice of using services from more than one cloud provider, such as AWS, Azure, and Google Cloud, within a single organization or architecture. Reasons include avoiding vendor lock-in, meeting regulatory or data-residency needs, using best-of-breed services, and improving resilience. Multi-cloud differs from hybrid cloud, which combines public cloud with on-premises infrastructure. The main challenges are added operational complexity, inconsistent tooling and APIs, and the need for skills across multiple platforms.

What is the difference between hybrid cloud and multi-cloud?

Hybrid cloud combines private infrastructure, such as on-premises data centers or a private cloud, with one or more public clouds, integrating them so workloads and data can move between them. Multi-cloud means using two or more public cloud providers, with or without any private infrastructure. Hybrid cloud is often driven by data sovereignty, latency, or legacy systems that cannot move, while multi-cloud is driven by avoiding lock-in and choosing best-of-breed services. The terms overlap, and an architecture can be both hybrid and multi-cloud at once.

What does cloud native mean?

Cloud native describes an approach to building and running applications that fully exploits the elasticity, automation, and managed services of the cloud. It commonly combines containers, microservices, declarative infrastructure, continuous delivery, and dynamic orchestration so systems scale on demand and recover from failure automatically. The Cloud Native Computing Foundation (CNCF) stewards many of the core technologies, including Kubernetes. Being cloud native is about architecture and practices, not just running software on a cloud provider.

Monolith vs microservices: which should I choose?

A monolith packages all functionality into a single deployable unit, which keeps development, testing, and deployment simple and is usually the right starting point for new or small systems. Microservices split functionality into independent services, enabling separate scaling and team ownership at the cost of distributed-systems complexity. Choose a monolith when the domain is still evolving or the team is small; consider microservices when clear bounded contexts, independent scaling needs, and multiple teams justify the operational overhead. Many teams succeed with a well-structured 'modular monolith' before splitting.

What is Domain-Driven Design (DDD)?

Domain-Driven Design (DDD) is an approach to building software that puts the business domain and its language at the center of the design. It encourages a shared 'ubiquitous language' between developers and domain experts, and organizes the system into bounded contexts—self-contained models with clear boundaries. Tactical patterns like entities, value objects, aggregates, and repositories help structure the code within each context. DDD is most valuable for complex domains where aligning the model with real business rules reduces ambiguity and rework.

What is the Twelve-Factor App methodology?

The Twelve-Factor App is a set of principles for building cloud-native, portable, and scalable software-as-a-service applications. Key factors include storing configuration in the environment, treating backing services as attached resources, building stateless processes that scale horizontally, keeping development and production as similar as possible, and treating logs as event streams. Following these guidelines makes applications easier to deploy on modern platforms and to operate consistently across environments. It remains a widely cited baseline for designing well-behaved services and containers.

Benchmarks

Legacy Code Comprehension

Tests AI ability to understand and document legacy codebases (COBOL, VB6, etc.)

Vibgrate CLI

See a real scan run

A replay of the actual CLI running against our test repositories — live progress, real findings, a genuine DriftScore. Nothing executes in your browser.

Replay
demo@vibgrate — bash
npx @vibgrate/cli scan
 
╭──────────────────────────────────────────╮
Vibgrate Drift Report
╰──────────────────────────────────────────╯
 
── node-turborepo (node) .
Runtime: >=18.0.0 (6 majors behind)
Frameworks:
Turbo: 1.13.4 → 2.10.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
1 current 1 1-behind 3 2+ behind 1 unknown
 
── @repo/admin (node) apps/admin
Frameworks:
TanStack Query: 5.101.4 → 5.101.4 (current)
React: 18.3.1 → 19.2.8 (1 behind)
React DOM: 18.3.1 → 19.2.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Vite: 5.4.21 → 8.2.1 (3 behind)
Dependencies:
3 current 9 1-behind 3 2+ behind 4 unknown
 
── @repo/api (node) apps/api
Frameworks:
Express: 4.22.2 → 5.2.1 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Vitest: 1.6.1 → 4.1.10 (3 behind)
Dependencies:
7 current 5 1-behind 3 2+ behind 4 unknown
 
── @repo/web (node) apps/web
Frameworks:
Next.js: 14.2.35 → 16.3.0 (2 behind)
React: 18.3.1 → 19.2.8 (1 behind)
React DOM: 18.3.1 → 19.2.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
2 current 6 1-behind 3 2+ behind 5 unknown
 
── @repo/config (node) packages/config
Frameworks:
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
2 current 2 1-behind 5 2+ behind 0 unknown
 
── @repo/database (node) packages/database
Frameworks:
Prisma: 5.22.0 → 7.9.1 (2 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
1 current 0 1-behind 3 2+ behind 1 unknown
 
── @repo/types (node) packages/types
Frameworks:
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
0 current 0 1-behind 1 2+ behind 1 unknown
 
── @repo/ui (node) packages/ui
Frameworks:
React: 18.3.1 → 19.2.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
React: 18.3.1 → 19.2.8 (1 behind)
Dependencies:
1 current 4 1-behind 1 2+ behind 1 unknown
 
── @repo/utils (node) packages/utils
Frameworks:
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Vitest: 1.6.1 → 4.1.10 (3 behind)
Dependencies:
0 current 1 1-behind 2 2+ behind 1 unknown
 
Tech Stack
Frontend: React, React DOM
Meta-frameworks: Next.js
Bundlers: tsx, Turbo, Vite
CSS / UI: Autoprefixer, PostCSS, Tailwind CSS
Backend: Express
ORM / Database: Prisma, Prisma Client
Testing: Vitest
Lint & Format: ESLint, ESLint Prettier, ESLint React, Prettier, typescript-eslint
 
Services & Integrations
Auth: JWT 9.0.3
Databases: Prisma 5.22.0
 
TypeScript
v5.3.3 · strict ✔ · MIXED · target: ES2022
 
Build & Deploy
Package Managers: pnpm
Monorepo: npm-workspaces, pnpm-workspaces, turbo
 
Product Purpose Signals
Frameworks: react, nextjs
Evidence: 177
Top Signals:
- [heading] Dashboard (apps/admin/src/pages/Dashboard.tsx)
- [title] Revenue Overview (apps/admin/src/pages/Dashboard.tsx)
- [copy] workspace:* (packages/ui/package.json)
- [copy] ./dist (packages/ui/tsconfig.json)
- [copy] ./src/index.ts (packages/ui/package.json)
- [copy] @repo/config/tsconfig-base.json (packages/ui/tsconfig.json)
- [copy] @repo/ui (packages/ui/package.json)
- [copy] #3b82f6 (apps/admin/src/pages/Dashboard.tsx)
Unknowns:
- No pricing or billing evidence found.
- No integrations/connectors evidence found.
- No route structure evidence found.
 
Security Posture
Lockfile ✖ · .env ✔ · node_modules ✔
 
Platform
Native modules: turbo
 
Code Quality
Files: 36 · Functions: 183 · Avg complexity: 2.62 · Avg length: 21.13 lines
Max nesting: 2 · Circular deps: 0 · Dead code: 0%
God files: apps/admin/src/pages/Products (448 lines)
 
Database Schema
postgresql · 8 models · 1 enum
Models: Address, CartItem, Category, Order, OrderItem (+3 more)
 
Findings (16 errors, 11 warnings)
Node.js runtime ">=18.0.0" reached end-of-life on 2025-04-30 (latest: 24.0.0).
vibgrate/runtime-eol in .
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in .
60% of dependencies are 2+ major versions behind in node-turborepo.
vibgrate/dependency-rot in .
@types/node is 6 major versions behind (spec: ^20.11.0, latest: 26.1.2).
vibgrate/dependency-major-lag in .
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in apps/admin
Vite is 3 major versions behind (current: 5.4.21, latest: 8.2.1).
vibgrate/framework-major-lag in apps/admin
vite is 3 major versions behind (spec: ^5.0.12, latest: 8.2.1).
vibgrate/dependency-major-lag in apps/admin
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in apps/api
Vitest is 3 major versions behind (current: 1.6.1, latest: 4.1.10).
vibgrate/framework-major-lag in apps/api
@types/node is 6 major versions behind (spec: ^20.11.0, latest: 26.1.2).
vibgrate/dependency-major-lag in apps/api
vitest is 3 major versions behind (spec: ^1.2.1, latest: 4.1.10).
vibgrate/dependency-major-lag in apps/api
Next.js is 2 major versions behind (current: 14.2.35, latest: 16.3.0).
vibgrate/framework-major-lag in apps/web
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in apps/web
@types/node is 6 major versions behind (spec: ^20.11.0, latest: 26.1.2).
vibgrate/dependency-major-lag in apps/web
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/config
56% of dependencies are 2+ major versions behind in @repo/config.
vibgrate/dependency-rot in packages/config
eslint-plugin-react-hooks is 3 major versions behind (spec: ^4.6.0, latest: 7.1.1).
vibgrate/dependency-major-lag in packages/config
Prisma is 2 major versions behind (current: 5.22.0, latest: 7.9.1).
vibgrate/framework-major-lag in packages/database
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/database
75% of dependencies are 2+ major versions behind in @repo/database.
vibgrate/dependency-rot in packages/database
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/types
100% of dependencies are 2+ major versions behind in @repo/types.
vibgrate/dependency-rot in packages/types
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/ui
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/utils
Vitest is 3 major versions behind (current: 1.6.1, latest: 4.1.10).
vibgrate/framework-major-lag in packages/utils
67% of dependencies are 2+ major versions behind in @repo/utils.
vibgrate/dependency-rot in packages/utils
vitest is 3 major versions behind (spec: ^1.2.1, latest: 4.1.10).
vibgrate/dependency-major-lag in packages/utils
 
╭──────────────────────────────────────────╮
Top Priority Actions
╰──────────────────────────────────────────╯
 
1. Upgrade EOL runtime in node-turborepo
End-of-life runtimes no longer receive security patches and block ecosystem upgrades.
./.
>=18.0.0 → 24.0.0 (6 majors behind)
Impact: −10 drift points (runtime & EOL)
 
2. Fix security posture: no lockfile found
Without a lockfile, installs are non-deterministic. Run the install command to generate one and commit it.
./
Missing: package-lock.json, pnpm-lock.yaml, or yarn.lock
 
3. Upgrade Vite 5.4.21 → 8.2.1 in @repo/admin (+2 more)
3 major versions behind. Major framework drift increases breaking change risk and blocks access to security fixes and performance improvements.
./apps/admin
Vite: 5.4.21 → 8.2.1 (3 majors behind)
./apps/api
Vitest: 1.6.1 → 4.1.10 (3 majors behind)
./packages/utils
Vitest: 1.6.1 → 4.1.10 (3 majors behind)
Impact: −5–15 drift points
 
4. Reduce dependency rot in @repo/types (100% severely outdated)
1 of 1 dependencies are 2+ majors behind. Run `npm outdated` and prioritise packages with known CVEs or breaking API changes.
./packages/types
typescript: 5.9.3 → 7.0.2 (2 majors behind)
Impact: −5–10 drift points
 
5. Reduce dependency rot in @repo/database (75% severely outdated)
3 of 4 dependencies are 2+ majors behind. Run `npm outdated` and prioritise packages with known CVEs or breaking API changes.
./packages/database
@prisma/client: 5.22.0 → 7.9.1 (2 majors behind)
prisma: 5.22.0 → 7.9.1 (2 majors behind)
typescript: 5.9.3 → 7.0.2 (2 majors behind)
Impact: −5–10 drift points
 
╭──────────────────────────────────────────╮
Architecture Layers
╰──────────────────────────────────────────╯
 
Archetype: monorepo (80% confidence)
Files classified: 29 (6 unclassified)
 
presentation 9 files drift ████████████████████ 100 risk high
routing 4 files drift ████████████████████ 100 risk high
middleware 2 files drift ███████▍░░░░░░░░░░░░ 37 risk moderate
domain 4 files drift ████████████████████ 100 risk high
data-access 2 files drift ████████████████████ 100 risk high
infrastructure 0 files drift ░░░░░░░░░░░░░░░░░░░░ 0 risk none
config 3 files drift ░░░░░░░░░░░░░░░░░░░░ 0 risk none
shared 5 files drift ████████████████████ 100 risk high
testing 0 files drift ████████████████████ 100 risk high
 
╭──────────────────────────────────────────╮
DriftScore Summary
╰──────────────────────────────────────────╯
 
DriftScore: 66/100
Risk Level: HIGH
Projects: 9
Classified: 8 nano · 1 micro · 0 small · 0 standard
Billable: 0.42 · 9 detected → 0.42 billable projects (micro-project pricing)
0.1 micro · 0.32 nano
These fractions add up across repositories, then round down to whole billable projects.
 
Score Breakdown
Runtime: ████████████████████ 100
Frameworks: █████████▏░░░░░░░░░░ 46
Dependencies: ██████░░░░░░░░░░░░░░ 30
EOL Risk: ████████████████████ 100
 
Scanned at 2026-08-07T06:14:10.284Z · 25.2s · 286 files scanned · 56 workspace files · 27 dirs
Press Run to start.