MISP Handbook
繁中

MISP Architecture: Core, Modules, Storage, and Workers

Follow an API request through nginx, MISP core, modules, MariaDB, Valkey, and the supervised background workers.

About 3 minLab MISP 2.5.53
In this chapter
After this chapter, you can

Identify which component handles each part of a request and size a reproducible lab.

Trace a request before debugging

MISP is a group of services. A working login page, a working API, and a working background job exercise different paths. Knowing which path is involved helps you isolate a failure.

The five Docker services

ServiceResponsibilityFirst check
misp-nginxHTTP entry point and static content. Forwards application work to MISP core.Local port binding and HTTP health.
misp-coreApplication, API, PHP runtime, and supervised background workers.Core readiness, application logs, and worker status.
dbMariaDB stores events, attributes, organizations, and other application records.Database health, disk, and authentication.
redisValkey provides Redis-compatible cache and background queue storage.Service health, connectivity, and queue growth.
misp-modulesRuns enrichment, import, and export modules that MISP core calls.Module reachability from core and enabled modules.

The Compose configuration follows the official MISP Docker project. In this lab, only nginx publishes a host port.

From browser or API client to storage

  1. Connect through nginx

    Your browser or API client connects to 127.0.0.1:18081. The host port maps to nginx’s internal HTTP port 8080.

  2. MISP core authenticates and applies access rules

    The web interface uses a session. API requests present an Auth key. Core checks the role, organization, and permissions before reading or writing records.

  3. MariaDB stores the records

    Valkey supports cached data and queues. A call that needs enrichment can also go to misp-modules on the internal network.

  4. Workers finish background work

    Some actions enqueue a job for later execution. Check the resulting job and stored or exported data to verify completion.

Background workers

Supervisor manages worker processes inside misp-core. Queues in this lab include cache, default, email, prio, scheduler, and update. A login is an HTTP check. A feed update, background export, or queued job also depends on workers and Valkey.

Check the Workers tab under Administration → Server Settings & Maintenance, then compare your results with the worker evidence.

Size the lab

The documented Apple Silicon lab used a Colima VM with four CPUs, 8 GiB of RAM, and 40 GiB of disk. Treat this as a reproducible starting point. Image architecture, feeds, event retention, and additional integrations can change memory and disk needs.

Local lab

Use fictional data, pinned images, a loopback-only port, and named volumes so you can reason about updates and restarts.

Team deployment

Plan network boundaries, HTTPS, role administration, monitoring, retention, and restore drills before accepting production data.

Ready for deployment

Before proceeding, identify the entry point, which service owns the database, and where background workers run. If a job is slow, check worker capacity and the queue before changing web-server settings.

Deploy the Docker lab · MISP documentation · misp-modules

Search the handbook