Skip to main content

Welcome to Argos Mesh

Argos Mesh is a production-ready distributed system designed to detect and prevent DDoS attacks against e-commerce applications. Built with Java 21 and leveraging Virtual Threads for high-performance concurrent processing, Argos Mesh provides real-time traffic analysis and automated threat mitigation.

Key Features

Real-time DDoS Detection

Analyzes traffic patterns in real-time to identify and block suspicious IP addresses before they can impact your service

Rate Limiting

Redis-based rate limiting tracks requests per IP with configurable thresholds and time windows

Event-Driven Architecture

RabbitMQ powers asynchronous communication between microservices for scalable, decoupled components

High Performance

Java 21 Virtual Threads enable thousands of concurrent connections with minimal resource overhead

Automated IP Blocking

Suspicious IPs are automatically blacklisted and prevented from accessing your services

Container-Ready

Fully containerized with Docker Compose for easy deployment and orchestration

Architecture Overview

Argos Mesh consists of three core microservices:
  • Orders Service - Manages product catalog and order processing for your e-commerce shop
  • Sentinel Service - Monitors traffic patterns and detects DDoS attacks using rate limiting algorithms
  • Notify Service - Handles alerts and notifications when suspicious activity is detected
These services communicate through RabbitMQ message queues and share state via Redis for distributed rate limiting and IP blacklisting.

How It Works

1

Client makes a request

A client sends a request to the Orders Service (e.g., purchasing a product)
2

Event is published

The Orders Service publishes a ProductSoldInternalEvent to RabbitMQ containing the client IP address
3

Sentinel analyzes traffic

The Sentinel Service consumes the event and analyzes request frequency from that IP using Redis counters
4

Threat detection

If the IP exceeds 50 requests in 10 seconds, it’s flagged as suspicious and added to the blacklist
5

Alerts are sent

An AlertInternalEvent is published to RabbitMQ, triggering the Notify Service to send alerts

Technology Stack

  • Java 21 with Virtual Threads for concurrent processing
  • Spring Boot 4.0.3 for microservices framework
  • PostgreSQL for persistent data storage
  • Redis for rate limiting and IP blacklisting
  • RabbitMQ for event-driven messaging
  • Docker for containerization

Quickstart

Get Argos Mesh running locally in under 5 minutes

Architecture

Understand how the microservices work together

API Reference

Explore the REST API endpoints

Security Features

Learn about DDoS protection mechanisms

Use Cases

Argos Mesh is ideal for:
  • E-commerce platforms that need protection from automated bots and scrapers
  • API services requiring rate limiting and abuse prevention
  • Public-facing applications vulnerable to volumetric DDoS attacks
  • Multi-tenant systems needing per-client rate limiting

License

Argos Mesh is open source under the MIT License.

Build docs developers (and LLMs) love