← Back to production work
Production / 01

Fraud Screening Microservice

A stateless Java/Spring Boot service where duplicate requests, burst traffic and slow external dependencies had to be treated as normal operating conditions—not edge cases.

Scope
REST decision path
Redis-backed risk + velocity state
Production support on AWS/EKS
Evidence
99.8% uptime
MTTR 35 → 12 minutes
p95 −40% / throughput +15% from broader backend tuning work
01 / Request path

Keep the synchronous path small and bounded.

The decision path does the work needed to answer the request; observability and evidence emission stay off the critical path where possible.

critical pathdetails generalized
REST requestvalidation · request identity
→
Fraud serviceidempotency · rate limiting · async orchestration
→
Decision logicrisk data · velocity · rules
→
Responsebounded decision result
Redisrisk lookups and velocity counters kept out of slower relational paths
External providercircuit breaker, timeout and fallback isolate dependency degradation
Evidence pathstructured logs and operational signals support traceability and incident response
02 / Design record

The useful part is the constraint behind each mechanism.

Patterns only matter when they protect a concrete invariant.

01

Duplicate-safe processing

Idempotency checks prevent retries from turning one logical transaction into repeated fraud evaluation side effects.

Invariant: same request identity should not create duplicate work.
02

Burst admission control

Token-bucket rate limiting protects the service and dependencies during short traffic spikes instead of letting queues grow without bound.

Failure mode: overload propagation.
03

Dependency isolation

Circuit breakers, timeouts and fallbacks stop a slow external risk provider from consuming the entire latency budget.

Failure mode: external latency dominates request path.
04

Operational feedback loop

CloudWatch, structured logging, alerting, runbooks, incident triage and RCA make production behavior part of the engineering loop.

Result: 99.8% uptime and MTTR 35 → 12 min.
This page intentionally avoids proprietary schemas, rule logic and provider-specific details. The architecture is generalized from resume-supported responsibilities.
03 / Production signal

Reliability work is visible in response time, recovery time and incident quality.

The system is strongest when the operational evidence is attached to the architecture rather than presented as a separate “DevOps” layer.

99.8%uptime
35 → 12MTTR minutes
−40%p95 latency from backend tuning
+15%throughput from backend tuning