CQRS: fast reads without event sourcing
summary
Architecture uses a Quartz.NET scheduler to poll the primary MSSQL store and publish deltas into Kafka, then a pool of workers consumes messages and writes to radius with sentinel (writes to master, reads from replicas). Checksum-on-fields de-duplicates changes and cuts kafka+radius traffic by about 38%. Historical ETL pages the full dataset, persists the last page per job to survive restarts. Persistence uses AOF with fsync=1s and 512MB rewrite threshold; performance tests use n-bomber and monitoring via Kibana, Grafana, Datadog, PagerDuty.
AI-written summary · about
