atlas-catalog.yaml
# =============================================================================
# ATLAS Technology Catalog (2025 Edition)
# =============================================================================
# このファイルは具体的な技術の例示と特性を定義します。
# 技術の進化に伴い、半年ごとの更新を推奨します。
#
# 配置場所: .atlas/atlas-catalog.yaml または グローバル参照
# 更新頻度: 6ヶ月ごと
# 最終更新: 2025-01
# =============================================================================

atlas_version: "1.0"
catalog_version: "2025.01"

# -----------------------------------------------------------------------------
# Compute Technologies
# -----------------------------------------------------------------------------
compute:
  # Serverless Edge
  cloudflare_workers:
    category: SERVERLESS_EDGE
    vendor: Cloudflare
    pricing_model: usage_based
    free_tier: "100,000 requests/day"
    constraints:
      timeout_ms: 30000 # CPU time
      memory_mb: 128
      bundle_size_mb: 5
    strengths:
      - global_distribution
      - v8_isolate_fast_startup
      - kv_storage_integration
    weaknesses:
      - limited_node_apis
      - no_native_websocket
    tier_fit: [T1_MVP, T2_STARTUP]

  vercel_edge:
    category: SERVERLESS_EDGE
    vendor: Vercel
    pricing_model: usage_based
    free_tier: "100,000 executions/month"
    constraints:
      timeout_ms: 30000
      memory_mb: 128
    strengths:
      - nextjs_integration
      - middleware_support
    weaknesses:
      - vercel_lock_in
    tier_fit: [T1_MVP, T2_STARTUP]

  # Serverless Regional
  vercel_functions:
    category: SERVERLESS_REGIONAL
    vendor: Vercel
    pricing_model: usage_based
    free_tier: "100 GB-Hrs/month"
    constraints:
      timeout_seconds:
        hobby: 10
        pro: 60
        enterprise: 900
      memory_mb: 1024
    strengths:
      - zero_config
      - nextjs_native
      - preview_deployments
    weaknesses:
      - timeout_limits
      - bandwidth_cost
      - no_websocket
    tier_fit: [T1_MVP, T2_STARTUP]
    exit_path: [aws_sst, railway]

  aws_lambda:
    category: SERVERLESS_REGIONAL
    vendor: AWS
    pricing_model: usage_based
    free_tier: "1M requests/month"
    constraints:
      timeout_seconds: 900
      memory_mb: 10240
    strengths:
      - mature_ecosystem
      - fine_grained_control
      - vpc_integration
    weaknesses:
      - complexity
      - cold_start
    tier_fit: [T2_STARTUP, T3_GROWTH, T4_ENTERPRISE]

  # Container PaaS
  railway:
    category: CONTAINER_PAAS
    vendor: Railway
    pricing_model: resource_based
    free_tier: "$5/month credit"
    constraints:
      memory_gb: 32
      vcpu: 32
    strengths:
      - simple_ux
      - websocket_native
      - private_networking
      - predictable_cost
    weaknesses:
      - smaller_ecosystem
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]
    exit_path: [aws_ecs, kubernetes]

  fly_io:
    category: CONTAINER_PAAS
    vendor: Fly.io
    pricing_model: resource_based
    free_tier: "3 shared-cpu VMs"
    constraints:
      memory_gb: 256
    strengths:
      - global_distribution
      - private_mesh_network
      - machine_api
    weaknesses:
      - learning_curve
    tier_fit: [T2_STARTUP, T3_GROWTH]
    exit_path: [kubernetes]

  render:
    category: CONTAINER_PAAS
    vendor: Render
    pricing_model: resource_based
    free_tier: "750 hours/month"
    constraints:
      memory_gb: 512
    strengths:
      - heroku_like_ux
      - background_workers
      - cron_jobs
    weaknesses:
      - cold_start_on_free
    tier_fit: [T1_MVP, T2_STARTUP]

  # Self-hosted PaaS
  coolify:
    category: SELF_HOSTED
    vendor: Open Source
    pricing_model: fixed
    free_tier: "Self-hosted (free)"
    constraints:
      depends_on_vps: true
    strengths:
      - vercel_like_ux
      - zero_vendor_cost
      - full_control
    weaknesses:
      - ops_responsibility
      - single_point_of_failure
    tier_fit: [T2_STARTUP, T3_GROWTH]
    recommended_vps:
      - hetzner
      - digitalocean

  dokploy:
    category: SELF_HOSTED
    vendor: Open Source
    pricing_model: fixed
    free_tier: "Self-hosted (free)"
    strengths:
      - docker_compose_native
      - simple_setup
    weaknesses:
      - less_mature
    tier_fit: [T2_STARTUP]

  # IaC / Abstraction
  aws_sst:
    category: SERVERLESS_REGIONAL
    vendor: SST (on AWS)
    pricing_model: usage_based
    free_tier: "AWS free tier"
    strengths:
      - nextjs_compatible
      - vercel_escape_hatch
      - full_aws_access
    weaknesses:
      - aws_complexity
      - learning_curve
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  opennext:
    category: SERVERLESS_REGIONAL
    vendor: Open Source (on AWS)
    pricing_model: usage_based
    strengths:
      - nextjs_full_compatibility
      - cost_reduction
    weaknesses:
      - setup_complexity
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

# -----------------------------------------------------------------------------
# Database Technologies
# -----------------------------------------------------------------------------
database:
  # Serverless Postgres
  neon:
    category: SERVERLESS_POSTGRES
    vendor: Neon
    pricing_model: usage_based
    free_tier: "0.5 GB storage, 190 compute hours"
    constraints:
      max_connections: 10000 # with pooler
    strengths:
      - scale_to_zero
      - branching
      - http_driver
      - fast_cold_start
    weaknesses:
      - cold_start_latency
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]
    exit_path: [supabase, aws_rds]

  supabase:
    category: SERVERLESS_POSTGRES
    vendor: Supabase
    pricing_model: usage_based
    free_tier: "500 MB, 2 projects"
    strengths:
      - all_in_one_backend
      - realtime_subscriptions
      - rls_integration
      - auth_included
    weaknesses:
      - platform_coupling
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]
    exit_path: [neon, aws_rds]

  vercel_postgres:
    category: SERVERLESS_POSTGRES
    vendor: Vercel (Neon backend)
    pricing_model: usage_based
    free_tier: "256 MB"
    strengths:
      - vercel_integration
    weaknesses:
      - vercel_lock_in
      - limited_features
    tier_fit: [T1_MVP]

  # Managed Postgres
  aws_rds:
    category: MANAGED_POSTGRES
    vendor: AWS
    pricing_model: resource_based
    free_tier: "750 hours/month (t2.micro)"
    strengths:
      - enterprise_grade
      - multi_az
      - point_in_time_recovery
    weaknesses:
      - always_running_cost
      - complexity
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  google_cloud_sql:
    category: MANAGED_POSTGRES
    vendor: Google Cloud
    pricing_model: resource_based
    strengths:
      - gcp_integration
      - automatic_backups
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  # Edge SQLite
  turso:
    category: EDGE_SQLITE
    vendor: Turso
    pricing_model: usage_based
    free_tier: "9 GB storage, 500M rows read"
    strengths:
      - edge_replication
      - ultra_low_latency
      - embedded_replicas
    weaknesses:
      - sqlite_limitations
      - write_latency
    tier_fit: [T2_STARTUP, T3_GROWTH]

  cloudflare_d1:
    category: EDGE_SQLITE
    vendor: Cloudflare
    pricing_model: usage_based
    free_tier: "5 GB, 5M rows read/day"
    strengths:
      - cloudflare_integration
    weaknesses:
      - cloudflare_lock_in
      - beta_features
    tier_fit: [T1_MVP, T2_STARTUP]

  # Redis
  upstash_redis:
    category: REDIS
    vendor: Upstash
    pricing_model: usage_based
    free_tier: "10,000 commands/day"
    strengths:
      - serverless_compatible
      - global_replication
      - rest_api
    weaknesses:
      - latency_vs_self_hosted
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  redis_cloud:
    category: REDIS
    vendor: Redis Inc
    pricing_model: resource_based
    strengths:
      - enterprise_features
      - redis_stack
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  # Vector DB
  pgvector:
    category: VECTOR_DB
    vendor: Open Source (Postgres extension)
    pricing_model: included
    strengths:
      - postgres_integrated
      - no_additional_cost
      - transactional
    weaknesses:
      - scale_limits
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]
    available_on: [neon, supabase, aws_rds]

  pinecone:
    category: VECTOR_DB
    vendor: Pinecone
    pricing_model: usage_based
    free_tier: "100K vectors"
    strengths:
      - massive_scale
      - managed
    weaknesses:
      - separate_system
      - cost_at_scale
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  # Search
  meilisearch:
    category: SEARCH_ENGINE
    vendor: Meilisearch
    pricing_model: usage_based
    free_tier: "Self-hosted (free)"
    strengths:
      - fast_setup
      - japanese_support
      - typo_tolerance
    weaknesses:
      - not_for_analytics
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  algolia:
    category: SEARCH_ENGINE
    vendor: Algolia
    pricing_model: usage_based
    free_tier: "10K searches/month"
    strengths:
      - instant_search
      - analytics
    weaknesses:
      - expensive_at_scale
    tier_fit: [T2_STARTUP, T3_GROWTH]

# -----------------------------------------------------------------------------
# Background Processing Technologies
# -----------------------------------------------------------------------------
worker:
  # Durable Workflow
  inngest:
    category: DURABLE_WORKFLOW
    vendor: Inngest
    pricing_model: usage_based
    free_tier: "25K runs/month"
    strengths:
      - serverless_native
      - step_functions
      - automatic_retry
      - typescript_first
    weaknesses:
      - platform_timeout_limits
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  trigger_dev:
    category: EXTERNAL_COMPUTE
    vendor: Trigger.dev
    pricing_model: usage_based
    free_tier: "50K runs/month"
    strengths:
      - no_timeout
      - external_compute
      - long_running_support
    weaknesses:
      - newer_platform
    tier_fit: [T2_STARTUP, T3_GROWTH, T4_ENTERPRISE]

  # Self-hosted Queue
  bullmq:
    category: SELF_HOSTED_QUEUE
    vendor: Open Source
    pricing_model: fixed
    free_tier: "Free (requires Redis)"
    strengths:
      - zero_cost
      - low_latency
      - full_control
      - mature
    weaknesses:
      - requires_container
      - redis_dependency
    tier_fit: [T2_STARTUP, T3_GROWTH, T4_ENTERPRISE]
    requires: [redis]
    incompatible_with: [SERVERLESS_EDGE, SERVERLESS_REGIONAL]

  # Simple Webhook
  upstash_qstash:
    category: SIMPLE_WEBHOOK
    vendor: Upstash
    pricing_model: usage_based
    free_tier: "500 messages/day"
    strengths:
      - serverless_compatible
      - simple_api
      - scheduling
    weaknesses:
      - no_complex_flows
    tier_fit: [T1_MVP, T2_STARTUP]

  vercel_cron:
    category: SIMPLE_WEBHOOK
    vendor: Vercel
    pricing_model: included
    strengths:
      - zero_config
      - vercel_integrated
    weaknesses:
      - vercel_only
      - limited_frequency
    tier_fit: [T1_MVP]

  # Enterprise Workflow
  temporal:
    category: DURABLE_WORKFLOW
    vendor: Temporal
    pricing_model: resource_based
    strengths:
      - enterprise_grade
      - complex_workflows
      - multi_language
    weaknesses:
      - complexity
      - self_host_or_cloud
    tier_fit: [T4_ENTERPRISE]

# -----------------------------------------------------------------------------
# Authentication Technologies
# -----------------------------------------------------------------------------
auth:
  # DX-First
  clerk:
    category: DX_FIRST_AUTH
    vendor: Clerk
    pricing_model: mau_based
    free_tier: "10,000 MAU"
    pricing_per_mau: "$0.02"
    strengths:
      - react_components
      - rapid_implementation
      - session_management
      - organization_support
    weaknesses:
      - mau_cost_at_scale
      - enterprise_sso_expensive
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]
    exit_path: [nextauth, supabase_auth]

  stytch:
    category: DX_FIRST_AUTH
    vendor: Stytch
    pricing_model: mau_based
    free_tier: "5,000 MAU"
    strengths:
      - passwordless_focus
      - fraud_detection
    tier_fit: [T2_STARTUP, T3_GROWTH]

  # DB-Integrated
  supabase_auth:
    category: DB_INTEGRATED_AUTH
    vendor: Supabase
    pricing_model: mau_based
    free_tier: "50,000 MAU"
    strengths:
      - rls_integration
      - low_cost
      - social_providers
    weaknesses:
      - supabase_coupling
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  firebase_auth:
    category: DB_INTEGRATED_AUTH
    vendor: Google
    pricing_model: mau_based
    free_tier: "50,000 MAU"
    strengths:
      - google_integration
      - phone_auth
    weaknesses:
      - firebase_coupling
    tier_fit: [T1_MVP, T2_STARTUP]

  # Library
  nextauth:
    category: SELF_HOSTED_AUTH
    vendor: Open Source
    pricing_model: fixed
    free_tier: "Free"
    strengths:
      - no_vendor_cost
      - full_control
      - nextjs_native
    weaknesses:
      - implementation_effort
      - session_management_diy
    tier_fit: [T2_STARTUP, T3_GROWTH]

  lucia:
    category: SELF_HOSTED_AUTH
    vendor: Open Source
    pricing_model: fixed
    free_tier: "Free"
    strengths:
      - lightweight
      - database_agnostic
    weaknesses:
      - newer_library
    tier_fit: [T2_STARTUP]

  # Enterprise
  auth0:
    category: ENTERPRISE_AUTH
    vendor: Okta
    pricing_model: mau_based
    free_tier: "7,500 MAU"
    strengths:
      - enterprise_features
      - saml_sso
      - compliance
    weaknesses:
      - expensive
      - m2m_token_cost
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  keycloak:
    category: SELF_HOSTED_AUTH
    vendor: Open Source
    pricing_model: fixed
    free_tier: "Free (self-hosted)"
    strengths:
      - enterprise_features
      - full_control
      - ad_integration
    weaknesses:
      - ops_overhead
      - java_based
    tier_fit: [T4_ENTERPRISE]

# -----------------------------------------------------------------------------
# Payment Technologies
# -----------------------------------------------------------------------------
payment:
  # Payment Processor
  stripe:
    category: PAYMENT_PROCESSOR
    vendor: Stripe
    pricing_model: transaction_based
    fee: "2.9% + 30¢"
    strengths:
      - developer_experience
      - global_coverage
      - subscription_support
      - extensive_api
    weaknesses:
      - tax_responsibility
    tier_fit: [T2_STARTUP, T3_GROWTH, T4_ENTERPRISE]

  square:
    category: PAYMENT_PROCESSOR
    vendor: Square
    pricing_model: transaction_based
    fee: "2.9% + 30¢"
    strengths:
      - pos_integration
      - hardware
    tier_fit: [T2_STARTUP, T3_GROWTH]

  # Merchant of Record
  paddle:
    category: MERCHANT_OF_RECORD
    vendor: Paddle
    pricing_model: transaction_based
    fee: "5% + 50¢"
    strengths:
      - tax_handling
      - global_compliance
      - saas_focused
    weaknesses:
      - higher_fees
      - approval_required
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  lemonsqueezy:
    category: MERCHANT_OF_RECORD
    vendor: LemonSqueezy
    pricing_model: transaction_based
    fee: "5% + 50¢"
    strengths:
      - simple_setup
      - indie_friendly
      - digital_products
    weaknesses:
      - newer_platform
    tier_fit: [T1_MVP, T2_STARTUP]

# -----------------------------------------------------------------------------
# Storage Technologies
# -----------------------------------------------------------------------------
storage:
  cloudflare_r2:
    category: OBJECT_STORAGE
    vendor: Cloudflare
    pricing_model: storage_based
    free_tier: "10 GB storage, unlimited egress"
    strengths:
      - zero_egress_cost
      - s3_compatible
      - global
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  aws_s3:
    category: OBJECT_STORAGE
    vendor: AWS
    pricing_model: usage_based
    free_tier: "5 GB (12 months)"
    strengths:
      - mature
      - ecosystem
    weaknesses:
      - egress_cost
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

  uploadthing:
    category: OBJECT_STORAGE
    vendor: UploadThing
    pricing_model: usage_based
    free_tier: "2 GB"
    strengths:
      - typescript_native
      - simple_integration
    tier_fit: [T1_MVP, T2_STARTUP]

# -----------------------------------------------------------------------------
# CDN Technologies
# -----------------------------------------------------------------------------
cdn:
  cloudflare:
    category: EDGE_CDN
    vendor: Cloudflare
    pricing_model: usage_based
    free_tier: "Unlimited bandwidth"
    strengths:
      - free_tier_generous
      - waf_included
      - ddos_protection
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH, T4_ENTERPRISE]

  aws_cloudfront:
    category: EDGE_CDN
    vendor: AWS
    pricing_model: usage_based
    strengths:
      - aws_integration
      - fine_control
    weaknesses:
      - complexity
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]

# -----------------------------------------------------------------------------
# Monitoring Technologies
# -----------------------------------------------------------------------------
monitoring:
  sentry:
    category: APM
    vendor: Sentry
    pricing_model: event_based
    free_tier: "5K errors/month"
    strengths:
      - error_tracking
      - performance
      - session_replay
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  axiom:
    category: LOGS
    vendor: Axiom
    pricing_model: usage_based
    free_tier: "500 GB ingest/month"
    strengths:
      - generous_free_tier
      - structured_logs
      - fast_query
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  betterstack:
    category: UPTIME
    vendor: Better Stack
    pricing_model: usage_based
    free_tier: "10 monitors"
    strengths:
      - status_pages
      - on_call
    tier_fit: [T1_MVP, T2_STARTUP, T3_GROWTH]

  datadog:
    category: APM
    vendor: Datadog
    pricing_model: host_based
    strengths:
      - comprehensive
      - integrations
    weaknesses:
      - expensive
    tier_fit: [T3_GROWTH, T4_ENTERPRISE]