Marketplace

tech-stack-recommender

Recommend technology stacks based on project requirements, team expertise, and constraints. Use when selecting frameworks, languages, databases, and infrastructure for new projects.

$ Installer

git clone https://github.com/alirezarezvani/claude-cto-team /tmp/claude-cto-team && cp -r /tmp/claude-cto-team/skills/tech-stack-recommender ~/.claude/skills/claude-cto-team

// tip: Run this command in your terminal to install the skill


name: tech-stack-recommender description: Recommend technology stacks based on project requirements, team expertise, and constraints. Use when selecting frameworks, languages, databases, and infrastructure for new projects.

Tech Stack Recommender

Provides structured recommendations for technology stack selection based on project requirements, team constraints, and business goals.

When to Use

  • Starting a new project and need stack recommendations
  • Evaluating technology options for specific use cases
  • Comparing frameworks or languages for a project
  • Assessing team readiness for a technology choice
  • Planning technology migrations

Stack Selection Framework

Decision Inputs

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    STACK SELECTION INPUTS                         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                   โ”‚
โ”‚  Project Requirements     Team Factors        Business Constraintsโ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€     โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€        โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  โ”‚
โ”‚  โ€ข Scale expectations     โ€ข Current skills    โ€ข Time to market    โ”‚
โ”‚  โ€ข Performance needs      โ€ข Learning capacity โ€ข Budget            โ”‚
โ”‚  โ€ข Integration points     โ€ข Team size         โ€ข Hiring market     โ”‚
โ”‚  โ€ข Compliance/Security    โ€ข Experience level  โ€ข Long-term support โ”‚
โ”‚                                                                   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                              โ–ผ
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚ RECOMMENDATION  โ”‚
                    โ”‚   Framework     โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Quick Stack Recommendations

By Project Type

Project TypeFrontendBackendDatabaseWhy
SaaS MVPNext.jsNode.js/ExpressPostgreSQLFast iteration, full-stack JS
E-commerceNext.jsNode.js or PythonPostgreSQL + RedisSEO, caching, transactions
Mobile AppReact NativeNode.js/PythonPostgreSQLCross-platform, shared logic
Real-time AppReactNode.js + WebSocketPostgreSQL + RedisEvent-driven, low latency
Data PlatformReactPython/FastAPIPostgreSQL + ClickHouseData processing, analytics
EnterpriseReactJava/Spring or .NETPostgreSQL/OracleStability, enterprise support
ML ProductReactPython/FastAPIPostgreSQL + Vector DBML ecosystem, inference

By Team Profile

Team ProfileRecommended StackAvoid
Full-stack JSNext.js, Node.js, PostgreSQLGo, Rust (learning curve)
Python BackgroundFastAPI, React, PostgreSQLHeavy frontend frameworks
Enterprise JavaSpring Boot, React, PostgreSQLBleeding-edge tech
Startup (Speed)Next.js, Supabase/FirebaseComplex microservices
Scale-UpReact, Go/Node, PostgreSQLMonolithic frameworks

Technology Comparison Tables

Frontend Frameworks

FrameworkBest ForLearning CurveEcosystemHiring
ReactComplex UIs, SPAsMediumExcellentEasy
Next.jsFull-stack, SSR, SEOMediumExcellentEasy
Vue.jsSimpler apps, gradual adoptionEasyGoodMedium
SveltePerformance-criticalEasyGrowingHard
AngularEnterprise, large teamsHardGoodMedium

React vs Vue vs Angular

                Speed to MVP    Long-term Maint    Enterprise Ready
React           โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘         โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘
Vue             โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘          โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘
Angular         โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘         โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ

Backend Frameworks

FrameworkLanguageBest ForPerformanceEcosystem
ExpressNode.jsAPIs, real-timeGoodExcellent
FastifyNode.jsHigh-performance APIsExcellentGood
FastAPIPythonML APIs, asyncExcellentGood
DjangoPythonFull-featured appsGoodExcellent
Spring BootJavaEnterpriseGoodExcellent
Go (Gin/Echo)GoHigh performanceExcellentGood
RailsRubyRapid prototypingModerateGood
NestJSTypeScriptStructured Node appsGoodGood

When to Use What

## Node.js (Express/Fastify/NestJS)
โœ… Real-time applications (WebSocket)
โœ… I/O-heavy workloads
โœ… Full-stack JavaScript teams
โœ… Microservices
โŒ CPU-intensive tasks
โŒ Heavy computation

## Python (FastAPI/Django)
โœ… ML/Data Science integration
โœ… Rapid prototyping
โœ… Data processing pipelines
โœ… Scientific computing
โŒ High-concurrency I/O
โŒ Real-time systems

## Go
โœ… High-performance services
โœ… System programming
โœ… Concurrent workloads
โœ… Microservices at scale
โŒ Rapid prototyping
โŒ Complex ORM needs

## Java (Spring Boot)
โœ… Enterprise applications
โœ… Complex business logic
โœ… Transaction-heavy systems
โœ… Large teams
โŒ Quick MVPs
โŒ Small projects

Databases

DatabaseTypeBest ForScaleComplexity
PostgreSQLRelationalGeneral purpose, ACIDHighMedium
MySQLRelationalWeb apps, read-heavyHighLow
MongoDBDocumentFlexible schemas, JSONHighLow
RedisKey-ValueCaching, sessionsVery HighLow
ElasticsearchSearchFull-text searchHighMedium
ClickHouseColumnarAnalytics, time-seriesVery HighMedium
DynamoDBKey-ValueServerless, AWSVery HighMedium
CassandraWide-columnWrite-heavy, distributedVery HighHigh

Database Selection Guide

Need ACID transactions?
โ”œโ”€โ”€ YES โ†’ PostgreSQL
โ”‚
โ””โ”€โ”€ NO โ†’ What's your primary use case?
    โ”œโ”€โ”€ General purpose โ†’ PostgreSQL (still!)
    โ”œโ”€โ”€ Document storage โ†’ MongoDB
    โ”œโ”€โ”€ Caching โ†’ Redis
    โ”œโ”€โ”€ Search โ†’ Elasticsearch
    โ”œโ”€โ”€ Analytics โ†’ ClickHouse/BigQuery
    โ”œโ”€โ”€ Time-series โ†’ TimescaleDB/InfluxDB
    โ””โ”€โ”€ Key-value at scale โ†’ DynamoDB/Cassandra

Infrastructure

PlatformBest ForComplexityCost
VercelNext.js, frontendVery Low$ - $$
RailwaySimple deploymentsLow$ - $$
RenderGeneral appsLow$ - $$
AWSEverything, scaleHigh$ - $$$$
GCPML/Data, KubernetesHigh$ - $$$$
AzureEnterprise, .NETHigh$ - $$$$
DigitalOceanSimple, affordableLow$
Fly.ioEdge, globalMedium$ - $$

Stack Templates

Template 1: Modern SaaS Startup

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     MODERN SAAS STACK                            โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                  โ”‚
โ”‚  FRONTEND          BACKEND            DATABASE                   โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€         โ”€โ”€โ”€โ”€โ”€โ”€โ”€            โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                   โ”‚
โ”‚  Next.js 14        Node.js/Express    PostgreSQL                 โ”‚
โ”‚  TypeScript        TypeScript         Prisma ORM                 โ”‚
โ”‚  Tailwind CSS      REST/GraphQL       Redis (cache)              โ”‚
โ”‚                                                                  โ”‚
โ”‚  INFRASTRUCTURE    AUTH               PAYMENTS                   โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    โ”€โ”€โ”€โ”€               โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                   โ”‚
โ”‚  Vercel            Clerk/Auth0        Stripe                     โ”‚
โ”‚  AWS S3            NextAuth           Stripe Billing             โ”‚
โ”‚  Cloudflare CDN                                                  โ”‚
โ”‚                                                                  โ”‚
โ”‚  MONITORING        CI/CD              ANALYTICS                  โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€        โ”€โ”€โ”€โ”€โ”€              โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                  โ”‚
โ”‚  Sentry            GitHub Actions     PostHog/Amplitude          โ”‚
โ”‚  Datadog           Vercel Preview     Mixpanel                   โ”‚
โ”‚                                                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Best for: B2B SaaS, 0-1M users
Team size: 2-10 engineers
Time to MVP: 4-8 weeks

Template 2: E-Commerce Platform

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   E-COMMERCE STACK                               โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                  โ”‚
โ”‚  FRONTEND          BACKEND            DATABASE                   โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€         โ”€โ”€โ”€โ”€โ”€โ”€โ”€            โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                   โ”‚
โ”‚  Next.js (SSR)     Node.js/Python     PostgreSQL                 โ”‚
โ”‚  TypeScript        GraphQL/REST       Redis                      โ”‚
โ”‚  Tailwind/Styled   Medusa/Custom      Elasticsearch              โ”‚
โ”‚                                                                  โ”‚
โ”‚  PAYMENTS          SHIPPING           INVENTORY                  โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€           โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                  โ”‚
โ”‚  Stripe            ShipStation        Custom/ERP                 โ”‚
โ”‚  PayPal            EasyPost           Webhook sync               โ”‚
โ”‚                                                                  โ”‚
โ”‚  CDN               SEARCH             QUEUE                      โ”‚
โ”‚  โ”€โ”€โ”€               โ”€โ”€โ”€โ”€โ”€โ”€             โ”€โ”€โ”€โ”€โ”€                      โ”‚
โ”‚  CloudFront        Algolia/Elastic    SQS/BullMQ                 โ”‚
โ”‚  Cloudflare        Typesense          Redis                      โ”‚
โ”‚                                                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Best for: D2C, Marketplace
Team size: 5-20 engineers
Time to MVP: 8-16 weeks

Template 3: ML-Powered Product

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    ML PRODUCT STACK                              โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                  โ”‚
โ”‚  FRONTEND          API                ML SERVING                 โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€         โ”€โ”€โ”€                โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                 โ”‚
โ”‚  React/Next.js     FastAPI            TorchServe/Triton          โ”‚
โ”‚  TypeScript        Python             Docker/K8s                 โ”‚
โ”‚                    Pydantic           ONNX Runtime               โ”‚
โ”‚                                                                  โ”‚
โ”‚  DATABASE          VECTOR DB          FEATURE STORE              โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€              โ”‚
โ”‚  PostgreSQL        Pinecone           Feast                      โ”‚
โ”‚  Redis             Weaviate           Redis                      โ”‚
โ”‚                    pgvector                                      โ”‚
โ”‚                                                                  โ”‚
โ”‚  ML OPS            TRAINING           MONITORING                 โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€             โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€           โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                 โ”‚
โ”‚  MLflow            SageMaker          Weights & Biases           โ”‚
โ”‚  Airflow           Vertex AI          Prometheus/Grafana         โ”‚
โ”‚                                                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Best for: AI products, recommendation systems
Team size: 5-15 engineers + ML team
Time to MVP: 12-24 weeks

Template 4: Real-Time Application

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   REAL-TIME STACK                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                  โ”‚
โ”‚  FRONTEND          BACKEND            REAL-TIME                  โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€         โ”€โ”€โ”€โ”€โ”€โ”€โ”€            โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                  โ”‚
โ”‚  React             Node.js            Socket.io                  โ”‚
โ”‚  TypeScript        Express/Fastify    WebSocket                  โ”‚
โ”‚                    TypeScript         Redis Pub/Sub              โ”‚
โ”‚                                                                  โ”‚
โ”‚  DATABASE          CACHE              MESSAGE QUEUE              โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€              โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€              โ”‚
โ”‚  PostgreSQL        Redis              Redis Streams              โ”‚
โ”‚  Prisma            In-memory          Kafka (scale)              โ”‚
โ”‚                                                                  โ”‚
โ”‚  PRESENCE          STATE SYNC         CONFLICT RESOLUTION        โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€         โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€        โ”‚
โ”‚  Redis             CRDT/OT            Yjs/Automerge              โ”‚
โ”‚  Custom            LiveBlocks         Custom                     โ”‚
โ”‚                                                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Best for: Chat, collaboration, gaming
Team size: 5-15 engineers
Time to MVP: 8-16 weeks

Technology Trade-off Analysis

Language Selection Matrix

FactorJavaScript/TSPythonGoJavaRust
Learning CurveLowLowMediumMediumHigh
EcosystemExcellentExcellentGoodExcellentGrowing
PerformanceGoodModerateExcellentGoodExcellent
Hiring PoolLargeLargeMediumLargeSmall
Type SafetyTS: GoodOptionalExcellentExcellentExcellent
Memory SafetyGCGCGCGCCompile-time

Framework Selection Criteria

## Evaluation Checklist

1. **Team Expertise** (Weight: 30%)
   - Current skills alignment?
   - Learning curve acceptable?
   - Training resources available?

2. **Project Requirements** (Weight: 30%)
   - Performance requirements met?
   - Feature set complete?
   - Scalability path clear?

3. **Ecosystem** (Weight: 20%)
   - Package availability?
   - Community size?
   - Third-party integrations?

4. **Long-term Viability** (Weight: 20%)
   - Active maintenance?
   - Corporate backing?
   - Future roadmap?

Anti-Patterns to Avoid

Technology Selection Red Flags

Anti-PatternWhy It's BadBetter Approach
Resume-DrivenChoosing tech for career, not projectMatch to requirements
Hype-DrivenPicking latest without evaluationProven over trendy
Comfort-OnlyOnly familiar tech even when unsuitableEvaluate objectively
Over-EngineeringComplex stack for simple needsStart simple
Under-EngineeringSimple tools for complex needsPlan for growth

Common Mistakes

โŒ "Let's use microservices from day one"
   โ†’ Start monolith, extract later

โŒ "We need Kubernetes for our 3-person startup"
   โ†’ Use managed platforms (Vercel, Railway)

โŒ "MongoDB because NoSQL is modern"
   โ†’ PostgreSQL handles 95% of use cases better

โŒ "GraphQL for everything"
   โ†’ REST is simpler for most APIs

โŒ "Let's build our own auth"
   โ†’ Use Auth0, Clerk, or established solutions

Migration Considerations

When to Consider Migration

TriggerAction
Performance bottlenecksProfile first, then consider
Team expertise mismatchTrain or hire before migrating
End of life/supportPlan 6-12 months ahead
Scale limitationsValidate limits with benchmarks
Security vulnerabilitiesPatch if possible, migrate if not

Migration Risk Assessment

LOW RISK:
- Library/package updates
- Minor version upgrades
- Adding new services

MEDIUM RISK:
- Database version upgrades
- Framework major versions
- New deployment platform

HIGH RISK:
- Language/framework rewrites
- Database technology changes
- Monolith to microservices

Quick Reference

"I'm building a..."

ProjectRecommended Stack
Blog/CMSNext.js + Headless CMS (Sanity/Contentful)
SaaS DashboardNext.js + Node.js + PostgreSQL
Mobile AppReact Native + Node.js + PostgreSQL
E-commerceNext.js + Medusa/Custom + PostgreSQL
Real-time ChatReact + Node.js + Socket.io + Redis
Data DashboardReact + Python/FastAPI + PostgreSQL
ML ProductReact + Python/FastAPI + PostgreSQL + Vector DB
API ServiceNode.js or Python + PostgreSQL

Stack Complexity Levels

ComplexityDescriptionExample Stack
MinimalSingle deployment, managed servicesVercel + Supabase
SimpleSeparate frontend/backendVercel + Railway + PostgreSQL
StandardMultiple services, cachingAWS ECS + RDS + Redis
ComplexMicroservices, event-drivenK8s + Multiple DBs + Kafka

References