ais-deduplication

Community

Real-time AIS deduplication across layers.

Authorvictorhramos-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill implements a three-layer deduplication strategy to prevent processing duplicate AIS messages during ingestion and analysis.

Core Features & Use Cases

  • Layer 1: Redis SET NX with a 60-second TTL to rapidly reject duplicates in volatile memory.
  • Layer 2: Bloom Filter (ReBloom) for probabilistic pre-filtering to minimize database hits.
  • Layer 3: PostgreSQL UPSERT to guarantee deterministic persistence by inserting only unique messages.
  • Hashing Window: Messages are hashed within a 30-second window to group near-similar events.
  • Use Case: In high-volume AIS streams from multiple sources, this stack ensures each unique AIS message is stored once across the system.

Quick Start

Configure your AIS ingestion to route messages through this three-layer deduplication workflow. Ensure Redis is running with a 60-second TTL, initialize the Bloom Filter, and connect to PostgreSQL for final persistence.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ais-deduplication
Download link: https://github.com/victorhramos-dev/ais_ai/archive/main.zip#ais-deduplication

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.