Back to skills
SKILL.md
Blocklist Scale Arch
ASecurityUse when scaling blocklist processing to millions of rules.
- 2 stars
- 0 votes
- 0 copies
- 3 views
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill blocklist-scale-arch --agent claude-codeAre you the author of Blocklist Scale Arch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-blocklist-scale-arch)---
name: blocklist-scale-arch
title: Blocklist Scale Architecture
description: Use when scaling blocklist processing to millions of rules.
category: networking
tags: [blocklist, scale, millions, bloom, aho-corasick, performance]
---
# Blocklist Scale Architecture
**Trigger**: Use when scaling blocklist processing to millions of rules.
**Libraries**: `aho-corasick` (multi-pattern), `bloom` (Bloom filter), `scc` (concurrent map)
**Implementation**: Three-tier matching: Bloom filter pre-check (O(1), may false-positive) → Aho-Corasick automaton (O(n), exact) → regex fallback (slow path). Sharded domain map across 24 threads via `scc::HashMap`. Incremental automaton rebuild on blocklist updates (background thread, atomic swap). Memory-mapped pattern files for fast loading. LZ4 compression for on-disk storage.
**Connected**: `blocklist-manager`, `dns-adblock-engine`, `dns-cache-layer`, `pattern-matching-engine`, `gpu-packet-classifier`
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.