Real-Time Messaging Service

Angular + .NET 8 + SignalR + AWS (Event-Driven Architecture)

View Details on GitHub

Executive Summary

High-Level Architecture

Angular SignalR Client SignalR Hub .NET 8 · Elastic Beanstalk Amazon SQS FIFO Queue AWS Lambda Message Processor DynamoDB Live Message Store Archive Worker Batch / TTL Export RDS Chat History Archive WebSocket History Archive

Technical Stack

Frontend

  • Angular 12
  • SignalR JavaScript Client

Backend

  • .NET 8 (ASP.NET Core)
  • SignalR Hub

AWS

  • Amazon SQS (Standard + FIFO)
  • AWS Lambda
  • DynamoDB
  • Elastic Beanstalk
  • Amazon S3 (Presigned URL)
  • CloudWatch

System Scale

Metric Value
Organizations 2 Hospitals
Users Hundreds
Daily Messages Hundreds ~ Thousands
Average Response Real-time
Core Features

Messaging

File Upload

Performance Optimization
Technical Decisions

Conclusion