Skip to Content

isA User

Enterprise microservices platform for user management, payments, and AI-powered capabilities.

Overview

isA User is a production-ready platform with 35 specialized microservices:

CategoryServicesDescription
IdentityAuth, Account, Session, AuthorizationAuthentication & access control
PaymentsPayment, Wallet, Billing, Credit, SubscriptionFinancial operations
ContentStorage, Album, Media, DocumentFile & media management
SocialOrganization, Invitation, MembershipMulti-tenant & sharing
IoTDevice, OTA, TelemetryDevice management
IntelligenceMemoryAI-powered cognitive memory
OperationsAudit, Compliance, Notification, TaskPlatform operations

Architecture

┌─────────────────────────────────────────────────────────────────────────────┐ │ EXTERNAL TRAFFIC │ │ (Port 80/443) │ └─────────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────────────────────┐ │ APISIX GATEWAY │ │ (Service Discovery via Consul) │ └─────────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────────────────────┐ │ CONSUL SERVICE REGISTRY │ │ (Dynamic Routing) │ └─────────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────────────────────┐ │ 35 MICROSERVICES (8201-8250) │ ├─────────────────────────────────────────────────────────────────────────────┤ │ │ │ ┌─────────────────────────────────────────────────────────────────────┐ │ │ │ TIER 1: CORE IDENTITY (8201-8210) │ │ │ │ Auth │ Account │ Session │ Authorization │ Audit │ Notification │ │ │ │ Payment │ Wallet │ Storage │ Order │ │ │ └─────────────────────────────────────────────────────────────────────┘ │ │ │ │ ┌─────────────────────────────────────────────────────────────────────┐ │ │ │ TIER 2: BUSINESS DOMAIN (8211-8230) │ │ │ │ Task │ Organization │ Invitation │ Vault │ Product │ Billing │ │ │ │ Calendar │ Weather │ Album │ Device │ OTA │ Media │ Memory │ │ │ │ Location │ Telemetry │ Compliance │ Document │ Subscription │ Credit│ │ │ │ Event │ │ │ └─────────────────────────────────────────────────────────────────────┘ │ │ │ │ ┌─────────────────────────────────────────────────────────────────────┐ │ │ │ TIER 3: EXTENDED (8250+) │ │ │ │ Membership │ │ │ └─────────────────────────────────────────────────────────────────────┘ │ │ │ └─────────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────────────────────┐ │ gRPC INFRASTRUCTURE (50051-50070) │ └─────────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────────────────────┐ │ DATABASE & INFRASTRUCTURE │ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │ │PostgreSQL│ │ Redis │ │ Neo4j │ │ Qdrant │ │ MinIO │ │ │ │ + pgvector│ │ (Cache) │ │ (Graph) │ │(Vector) │ │ (S3) │ │ │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │ │ NATS │ │ MQTT │ │ DuckDB │ │ │ │(Events) │ │ (IoT) │ │(Analytics)│ │ │ └─────────┘ └─────────┘ └─────────┘ │ └─────────────────────────────────────────────────────────────────────────────┘

Service Directory

Tier 1: Core Identity & Operations

ServicePortDescription
auth_service8201JWT, API keys, device auth
account_service8202User profiles, settings
session_service8203Session tracking, context
authorization_service8204RBAC, permissions
audit_service8205Audit trails, compliance
notification_service8206Push, Email, SMS
payment_service8207Stripe, crypto, invoices
wallet_service8208Virtual wallets, credits
storage_service8209Files, photos, sharing
order_service8210Order processing

Tier 2: Business Domain

ServicePortDescription
task_service8211Background jobs
organization_service8212Multi-tenant, family sharing
invitation_service8213Invites, sharing links
vault_service8214Encrypted secrets
product_service8215Product catalog
billing_service8216Invoicing, usage billing
calendar_service8217Events, scheduling
weather_service8218Weather data
album_service8219Photo albums
device_service8220IoT device registry
ota_service8221Firmware updates
media_service8222Transcoding, thumbnails
memory_service8223AI cognitive memory
location_service8224Geospatial queries
telemetry_service8225Device telemetry
compliance_service8226GDPR, PCI DSS
document_service8227Document management
subscription_service8228Subscription lifecycle
credit_service8229Credit system
event_service8230Event sourcing

Tier 3: Extended

ServicePortDescription
membership_service8250Loyalty, tiers

Key Features

Multi-Database Strategy

DatabasePurpose
PostgreSQL + pgvectorRelational data, embeddings
RedisCache, sessions, pub/sub
Neo4jSocial graphs, org hierarchies
QdrantVector search, semantic memory
DuckDBAnalytics, OLAP
MinIOS3-compatible object storage

Event-Driven Architecture

  • NATS JetStream for reliable messaging
  • Event sourcing with replay
  • CQRS pattern support
  • Async service communication

Security & Compliance

  • JWT + API key authentication
  • Fine-grained RBAC
  • GDPR & PCI DSS compliance
  • Comprehensive audit logging
  • Encrypted secrets vault

AI-Powered Memory

The memory_service implements cognitive architecture:

  • Episodic memory (experiences)
  • Semantic memory (facts)
  • Procedural memory (skills)
  • Working memory (active context)

Quality Metrics

MetricStatus
Services35 total
Tests per service130+ average
Integration tests passing25/27
Documentation coverage100%

Next Steps