Count Demo

Compare different API integration patterns

API Pattern Showcase

Compare integrated vs microservice architecture patterns

Integrated API Pattern
Port 3000
TanStack Start with embedded Elysia routes
90

Server-side: Direct function calls (no HTTP)
Client-side: HTTP via Eden Treaty

When to Use Integrated
  • • Simpler deployment (single app)
  • • Better performance (no network hop on server)
  • • Shared types without packages
  • • Perfect for most applications
When to Use Microservice
  • • Independent scaling needs
  • • Different deployment requirements
  • • WebSockets or long-running processes
  • • Multiple client applications