# facebookarchive/redis-faina

A query analyzer that parses Redis' MONITOR command for counter/timing stats about query patterns

Repository: https://github.com/facebookarchive/redis-faina
Canonical: https://ross.abutalabs.com/products/redis-faina
Language: Python
License: BSD-2-Clause
License Family: permissive
Archived: true
Last push: 2020-03-05T22:52:51+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5223, "days_push": 2372, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1776, forks 279 (observed 2026-08-28T04:05:34.560647+00:00)

## What it is
A Python command-line tool from Facebook that parses the output of Redis' MONITOR command and aggregates counter and timing statistics about query patterns. It reports top key prefixes, most-hit keys, common commands, and command timing percentiles.

## Use cases
- analyze which Redis keys are hit most often
- find slowest Redis commands from MONITOR output
- profile Redis query patterns and timing percentiles
- identify hot key prefixes on a busy Redis server
- measure commands per second on a Redis instance

## When to choose
- you need quick, dependency-light analysis of Redis MONITOR output
- you want per-command timing and top-key stats without installing agents
- you are debugging query patterns on a legacy Redis 2.x-era deployment

## When to avoid
- you need real-time or continuous monitoring with dashboards and alerting
- your Redis server has low request rates, making MONITOR-based timing inaccurate
- you need an actively maintained tool with support for modern Redis versions

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: monitoring, analytics, developer-tools
- domain: databases, developer-tools, performance
- platform: cli, python
- tags: redis, query-analyzer, monitor-command, performance-analysis, linux, macos

## Member repositories
- facebookarchive/redis-faina (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.560647+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:15.945874+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/redis-faina (fetched 2026-08-28T04:05:34.560647+00:00, sha 7dd6b07b82ff)
- Data as of 2026-08-30T08:39:29.467469+00:00.
