When MISP feed caching and Redis memory need planning
If your MISP instance pulls many feeds and warninglists and has started to slow down or run short of memory, the cause is often how much feed data you have chosen to keep ready for lookups. In MISP, feed caching stores feed content in a fast in-memory structure so that correlation and matching can check indicators without reading every feed from the database. The cache lives in Redis, which MISP uses alongside its PHP application (built on CakePHP) and its MySQL or MariaDB database. Redis is the component that grows when you enable more feeds and warninglists for caching, so memory pressure is a direct result of those choices rather than a fixed property of the server.
Plan this before the memory problem appears. Start by listing every feed and warninglist that is enabled, then record which ones are cached, which are fetched into the database, and which are switched off. A feed that is large, updates often, or is rarely used for matching may be a poor candidate for caching, while a small, frequently consulted list may be a good one. Ask your team to confirm the current Redis memory allocation and usage on your host, and check the MISP documentation for the feed and cache settings in the release you run, since those settings and their defaults can change between versions.
Treat the cache as something that needs ongoing care, not a one-time setup. Feeds change, new feeds are added, and warninglists are updated, so the cached data drifts from its source unless updates run on a schedule your team can see and verify. Decide who owns the feed list, how often cached feeds are refreshed, and what happens when a refresh fails or a feed is removed. Keep a written record of the cached set so that a memory increase can be traced to a specific change. The overlap between feeds, which can duplicate indicators across several cached sources, is worth checking before you add more feeds to the cache.
How feed data moves between fetch, database, Redis and correlation
Feed data starts at external sources and reaches the MISP host through a fetch job. From there it is either stored in the database or held in the Redis cache, and both paths feed correlation, warninglist checks and analyst views. Check which path each feed takes, because the refresh schedule that applies differs between them, and confirm the behaviour of your MISP version in its own documentation before sizing Redis.
Feed data takes one of two storage paths before correlation and analyst views.
Configuration options for feed caching and when each fits
This table compares the five choices an administrator makes for each MISP feed: cache in Redis, fetch into the database, enable a warninglist, set a refresh interval, or leave the feed disabled. Each row names the typical use, the main cost driver and the question to answer first. Confirm exact setting names and defaults in the MISP feed documentation for your version before you change anything.
| Option | Typical use | Main cost driver | Question to answer before choosing |
|---|---|---|---|
| Cache in Redis | Feeds you query often for lookups and correlation hints without storing every indicator as an event | Redis memory, which grows with the number of cached indicators | How many indicators does the feed hold, and how much memory can Redis use on this host? |
| Fetch into the database | Feeds whose contents your analysts review, correlate and share as events | Database storage and query load during correlation | Do analysts need the indicators as stored attributes with history, tags and sharing controls? |
| Enable a warninglist | Flagging common benign values such as public DNS resolvers or well-known domains to reduce false positives | Small memory footprint, but list size and matching work add some lookup load | Which of your published or ingested values create false positives, and which lists cover them? |
| Set a refresh interval | Keeping a fetched or cached feed current at a rate that matches how fast the provider changes its data | Freshness versus fetch load on your network, the provider and your workers | How quickly does the provider publish changes, and how stale can your detections be before they matter? |
| Leave the feed disabled | Feeds under review, feeds with licensing questions, or feeds that duplicate data you already hold | No memory or storage cost, but no new intelligence arrives from it | Has the licence, the data quality and the overlap with other feeds been reviewed and approved? |
Choosing which feeds to cache and which to fetch into the database
Every feed you enable costs Redis memory or database space, and the two stores behave differently when they fill up or fail. The six criteria below turn that trade-off into a per-feed decision you can justify and revisit when feed lists change.
Feed size and update rate
Count the items each feed produces and how often it changes. Large feeds that refresh frequently consume cache memory quickly and force repeated full reloads, while small, slow-moving feeds often cost little either way. Check the item count after a fetch and note how much of the feed is new on each update. Put the largest, fastest-changing feeds under the most scrutiny, because they drive both memory growth and fetch load.
Analyst search and correlation frequency
Decide how often people search or correlate against each feed. A feed that analysts query constantly benefits from fast lookups in cache, while a feed used only for occasional reference can stay in the database and be read on demand. Review your web server and search logs over a representative period and rank feeds by how often they are actually queried, not by how often someone assumed they would be.
Overlap with other enabled feeds
Many open feeds carry the same indicators. Where two feeds contain identical attributes, caching both duplicates memory without adding detection value. Run an overlap analysis by comparing indicator values across enabled feeds, then keep the copy from the feed with the best provenance and update cadence. Repeat the analysis whenever you add a feed, since new overlaps appear without any change to the feeds you already run.
Licensing and sharing terms
Feed terms can restrict redistribution, retention or use in downstream tools, and MISP taxonomies and galaxies carry their own licenses separate from the AGPL software license. Review each feed's terms before deciding where its data lives, since a cached copy and a database copy may be treated the same under the terms. Record the license alongside each feed so the decision can be audited later.
Alerting value versus reference value
Separate feeds that drive detection from feeds that only provide context. Indicators used for blocking or alerting need to be current and quickly searchable, which favors caching. Reference material, such as contextual lists used during investigations, usually tolerates slower access and can sit in the database. Ask the detection owner which feeds feed sensors or blocklists, and treat those as the baseline for cache placement.
Dependence during a Redis outage
Decide which feeds must keep working if Redis is unavailable or has been flushed. Check how your instance behaves when the cache is empty, including whether correlation, warninglist checks and detection exports degrade gracefully or stop. Feeds that operations depend on during an outage need a fallback path or a documented recovery order, so a cache failure does not silently remove protection from your detection workflow.
How to estimate Redis memory before enabling caches
Measure on a staging copy before enabling any cache in production. The memory a cached feed needs in Redis depends on which feeds and warninglists you enable, how many items each one carries, and the MISP version you run, so no general figure can stand in for a test run in your own environment. Start by listing every enabled feed and warninglist from the feed and warninglist pages of the MISP interface, and record for each one its item count, its update cadence and whether it is already cached or fetched on demand. Those three columns are the inputs to the estimate and the baseline you will compare against later.
Next, clone the production database and configuration to a staging instance of the same MISP version, enable caching for one group of feeds at a time, and watch Redis memory use as each group loads. Use the Redis reporting tools on that host to read used memory after each step, and repeat the run after a full cache refresh, since refreshes can show a different footprint from the first load. Record the peak, not only the settled figure. Feed sets that grow between runs will push that peak higher, so the test should also state how many feeds you expect to add in the next planning period.
Set the Redis memory limit and eviction policy deliberately, not by default. A limit below your measured peak will cause Redis to evict keys under load, which can leave feed data missing or inconsistent, so size the limit with headroom above the peak and choose the eviction behaviour your team has verified. Confirm the exact configuration keys, their defaults and the eviction options for your Redis version against the official Redis documentation before you change anything, because those options have changed across releases. Treat the staging results as the record that justifies the final setting, and repeat the measurement whenever you add feeds or upgrade MISP.
Setting up feed caching on a MISP instance
This sequence takes an existing MISP instance from its current feed setup to a deliberate cache design, with Redis memory limits set, feeds and warninglists enabled in stages, and each stage checked for memory use and correlation results before the next one starts.
Confirm the MISP version and Redis deployment
The administrator records the MISP version from the administration interface and the Redis version, memory allocation and whether Redis runs on the same host or a separate one. Confirm the version against the project's download and release pages before changing anything, since MISP 2.4 is end of life and receives security fixes only. Check the diagnostics page for flagged Redis or cache settings. The step is done when the version, Redis host, memory allocation and current diagnostics result are written into the change record.
Back up the database and configuration
Take a full database dump and copy the MISP configuration files, including the core configuration file and any custom settings, to storage outside the instance. Also export or snapshot the Redis data if persistence is already enabled. The administrator should confirm the backup restores on a test host or at least that the file sizes and checksums are recorded. Do not proceed to cache changes until the backup is verified, because a misconfigured cache can make feed data and warninglist state difficult to reason about.
Choose the feed set and placement per feed
List every enabled feed and warninglist, then decide for each one whether it is cached in Redis or fetched into the database. Feeds used for frequent lookups and small, stable lists are usually good cache candidates. Large, frequently changing feeds or those that need event-level management fit the database better. Record the expected size of each feed from its last fetch and the owner who will review it. The output is a placement table that the team has agreed to, reviewed by whoever owns detection content.
Set Redis memory limits and persistence
Configure Redis with a maximum memory value sized from the placement table, plus headroom for other Redis users on the same instance. Choose an eviction policy deliberately, since an eviction that removes cached feed data will silently change lookup results. Set persistence according to whether a cold restart must restore the cache quickly. Confirm the values in the Redis configuration file and with a live query of the memory and configuration fields. The step is complete when the running configuration matches the change record.
Enable feeds and warninglists in stages
Enable a small group of feeds and warninglists first, typically the ones with the lowest expected size. Leave the rest disabled until the first group has passed the checks in the following steps. Each later stage adds a group, so any memory or correlation change can be traced to the group that caused it. Record the enabled list and the time of each change. The step is done when each stage has a logged change and an owner who approved it.
Run the feed fetch and cache jobs
Trigger the feed fetch and cache jobs for the enabled group, either from the feeds interface or the administration console, and watch the background worker logs for errors. Confirm that the cache job completed for each feed and that no job is stuck in the queue. If a job fails, check the worker and Redis logs before retrying. The step is done when every enabled feed shows a successful fetch and cache result with a last-updated time that matches the job log.
Verify memory, cache behaviour and correlation
After each stage, read the Redis memory usage and compare it to the limit and to the expected size from the placement table. Check that cache lookups return the same indicators as the database for a sample set of known values, and confirm that correlation results match the pre-change baseline for the same events. Watch for evictions, which indicate the limit is too low. The stage passes only when memory stays under the limit with margin, sample lookups match and correlation counts agree with the baseline. Otherwise, roll back the last stage before continuing.
Security and operational considerations for cached feeds
Caching feeds in Redis moves indicator data into a second store with its own network exposure, memory limits and job schedule. The cards below cover the controls that keep that cache secure, complete and traceable, and they point to the related hardening and worker guidance.
Keep Redis reachable only from the MISP host
Redis should listen only on the MISP host or on a dedicated interface that MISP uses, and firewall rules should block every other network segment. Check the bind address and protected mode settings in your Redis configuration, then confirm from a second host that the port does not answer. A Redis instance reachable from a wider network can expose cached indicators to anyone who can connect to it.
Require authentication on the Redis connection
Set a strong Redis password and store it in the MISP configuration with the same care as the database credentials, restricting file permissions to the MISP service account. Confirm that the connection settings MISP uses match the Redis configuration after each change. Avoid sharing the same Redis instance with unrelated applications, because a shared instance widens who can read or flush MISP data.
Treat cached feed data as sensitive
Cached feeds hold the same indicators that MISP stores in its database, and some feeds carry internal or partner-shared context. Apply the same access, retention and disposal rules to Redis that apply to the database, including encrypted backups and snapshots if your policy requires them. Ask your data owners which feeds are restricted before deciding which ones to cache at all.
Watch for memory exhaustion and eviction
When Redis reaches its memory limit, the eviction policy decides which keys are removed, and a cached feed or warninglist can disappear without an obvious error in the MISP interface. Review the Redis maxmemory and eviction settings against your planned cache size, and monitor memory use after each feed change. Missing feed data is easy to miss, so compare feed counts against the source after large additions.
Log and monitor fetch and cache jobs
Feed fetch and cache jobs run through the background worker queues, so a failed fetch may leave a stale cache without an alert. Keep the worker logs and the job status visible to administrators, and set a check that flags feeds whose last successful fetch is older than your agreed refresh interval. For how the queues and Supervisor are managed, see the background workers guidance on this site.
Put feed list and Redis changes under change control
Adding a feed, enabling caching or changing a Redis setting changes what analysts see and how much memory the cache uses. Record each change with its owner, reason and rollback step, and test it on a non-production instance before applying it. Pair these changes with the security hardening controls for MISP so that access and logging rules are reviewed at the same time.
Keeping caches fresh without overloading the instance
A cache is only as trustworthy as its last successful refresh. When feed caching is enabled in MISP, correlation and warninglist checks read from cached copies of feed data rather than from the feed source itself, so the refresh schedule decides how current those matches are. A feed that publishes every hour but is cached once a day will leave the instance comparing new attributes against yesterday's indicators. Warninglist results can be just as misleading: a value that was removed from a warninglist upstream may still be flagged, or a newly added benign domain may not yet be suppressed, which skews both false-positive handling and correlation output. Before you tune anything, confirm in the documentation for the installed MISP 2.5 release how the scheduled fetch and cache jobs are triggered, how often they run by default, and which background worker queue carries them. Do not assume these behaviours carry across releases.
Refresh timing also competes with everything else the instance does. Cache rebuilds, feed fetches and correlation work all draw on the same background job capacity and the same host resources, so setting every feed to the fastest interval can starve other jobs and push the instance into a backlog. Plan refresh timing by feed: fast-moving feeds that your analysts act on get shorter intervals, slow or static feeds get longer ones, and fetch windows are staggered so large feeds do not start together. Ask your team to record each feed's chosen interval and the reason for it, so the schedule can be reviewed as a decision rather than an inherited default.
Run a short routine review on a fixed cadence, and always after a feed change or a MISP upgrade. Check when each enabled feed last updated, and compare that time with the feed's own publication pattern. Confirm that failed fetches are visible to an administrator, either through the job logs, the feed overview or your monitoring, because a silent failure looks identical to a quiet feed until someone notices missing matches. After any version change or feed addition, re-plan the refresh timing, since defaults, queue assignments and cache behaviour may have moved. Record the results of each review so that a gap in freshness can be traced to a specific feed and date.
Limits to confirm in your environment
The caching design depends on facts about your Redis, your MISP release, your feeds and your database that this page cannot assume. Answer each question below before you commit to a memory budget or a cache-versus-fetch split, because each answer can change the result.
Redis version, memory and persistence
Confirm which Redis version your platform team supports and how it is deployed: single instance, replicated, or managed. Check the maximum memory you can allocate, the eviction policy in force, and whether persistence (snapshots or append-only logging) is enabled. A cache that is evicted or lost on restart changes how often feeds must be refetched, so the persistence choice belongs in the memory plan, not after it.
Caching behaviour of your MISP release
Read the release notes for the exact MISP 2.5 version you will run before assuming how feed and warninglist caching works. Caching behaviour, cache keys and the commands that rebuild caches have changed across releases, so confirm what each cache type stores and how it is refreshed. Note any release that changes this behaviour, since you will need to re-test caches after an upgrade.
MISP release notesFeed sizes and update cadence
Ask each feed provider for the approximate number of attributes, the typical file size per fetch, and how often the feed changes. Feeds that publish large, frequently replaced files consume more cache memory and more fetch time than small, stable ones. Without these figures, memory sizing is a guess, so record the answers next to each feed in your design.
Database choice and feed storage
Confirm which database engine your instance will use and whether that choice affects where feed data is stored. MISP's newer PostgreSQL option came with a new database migration system in a 2.5 release, so check whether your chosen engine is supported for the exact version you plan to run. Feeds you fetch into the database compete for storage, backup time and query load with events, so size that side of the split as well.
Licensing terms of each feed
Review the licence of every feed before you cache or redistribute its contents. Feed licences vary, and some restrict redistribution, commercial use or attribution, which affects whether a cached copy can be shared with partners through sync. MISP's own taxonomies and galaxies carry separate licences, so do not assume that the platform licence covers third-party feed data.
Upgrade path and cached data
Plan what happens to cached feeds and warninglists during each upgrade. Confirm whether caches must be cleared or rebuilt after the upgrade, how long a full refetch takes for your feed set, and whether any feed source changes format or URL in the new release. Treat the first post-upgrade cache rebuild as a test step with a rollback plan, not an assumed no-op.
Questions teams ask about MISP feed caching and Redis memory
What drives the cost of planning MISP feed caching and Redis memory?
The main drivers are the number of feeds and warninglists you plan to cache, the size and update frequency of each feed, how many MISP instances or workers share the Redis service, and how deep the testing needs to go. Each of these changes how much memory must be planned, how much overlap analysis is needed and how many validation cycles are required before the configuration is accepted. Cost is one-time for the planning and configuration work and recurring only if you retain a partner for ongoing review. Ask for a quote built from a written scope that lists each feed, the target environment and the test steps. DeployOpen does not publish a price list, so the quote follows from that scope.
How long does feed caching and Redis memory planning usually take?
Duration depends on how many feeds are in play, how much of their data overlaps, how many environments must be validated and whether the team needs to observe memory behavior over real update cycles. A small set of feeds on one instance is far quicker to plan than a shared platform with many feeds, several warninglists and a staged rollout. Feed update schedules also matter, because you need to watch how caches refresh before you trust your memory headroom. The timeline should be stated in the written scope, along with the milestones and the points where your team must approve changes. Ask your partner to show which steps depend on your feed owners or change windows.
What does the internal team need to provide for this work?
The work needs a named owner for the MISP instance, someone who can change its configuration and restart services, and access to the Redis host or its monitoring. You also need the list of feeds and warninglists in use, with a view on which ones your analysts rely on for lookups and which are only archived. Someone from the threat intelligence team should confirm how fresh each feed must be, since that decides what is cached and what is fetched into the database. Finally, plan for a change window where caching changes can be tested and rolled back. Without these inputs, the work will stall on questions that only your team can answer.
Can our team handle MISP feed caching and Redis memory without outside help?
Yes, a capable MISP administrator with Redis experience can do this in-house, provided they have time, a test environment and a clear method for measuring memory use. The risks lie in misjudging overlap between feeds, underestimating memory growth during feed updates and changing settings in production without a rollback plan. External help is most useful when the feed count is high, the environment is shared across several business units, or the team lacks someone who knows both MISP internals and Redis tuning. DeployOpen can plan and implement this work as a fixed-scope engagement, or your team can use the same written steps as a checklist. Confirm the skills you have before deciding.
How do I tell whether feed caching is causing MISP to slow down?
Feed caching is a likely cause when slowness appears after feeds or warninglists are enabled, when Redis memory climbs close to its limit, or when slowdowns line up with feed fetch and cache refresh times. Check Redis memory usage and eviction behavior, then compare MISP response times before and after a controlled change to the cached feed set. Also review the background worker queues, since feed jobs can pile up behind other tasks. Separate the question of cache load from correlation load by testing with correlation settings unchanged. Record each observation with a timestamp so you can match it to the feed schedule.
Which feeds should we cache in Redis and which should we fetch into the database?
Cache feeds that are read often, are small enough to fit within your memory headroom and are needed for fast lookups, such as frequently used warninglists. Fetch larger or rarely queried feeds into the database, where they can be stored and searched without consuming Redis memory. Overlap analysis helps here: if two feeds carry many of the same indicators, keeping both in cache doubles memory use for little gain. Decide with your threat intelligence owners, then test the choice against real analyst queries. Revisit the split after each feed change, because feed size and value shift over time.
How do we keep caches fresh without wasting memory?
Keep caches fresh by aligning each feed's refresh schedule with how quickly its data changes and how much analysts depend on it. Frequent refreshes of a large, slowly changing feed use memory and workers without adding much value, while a fast-moving feed may need more frequent updates. Monitor cache age and eviction, and set a review date for the feed list so stale or duplicate feeds are removed. Document who approves a new feed and what memory impact it is expected to have. Ask your partner to confirm how these refresh and review steps fit your release and change process.
How DeployOpen scopes and supports MISP feed caching work
DeployOpen plans, implements and hands over MISP feed caching and Redis memory as part of a self-hosted MISP deployment in infrastructure you control. Each engagement starts with a written scope that sets which feeds and warninglists are cached, which are fetched into the database, and how the caches are kept fresh.
How we scope
- Inventory every feed and warninglist your instance pulls, with its size, update cadence and owner.
- Agree which feeds stay cached in Redis and which are fetched into the database, in writing.
- Record the overlap analysis between feeds and the memory budget your Redis host can support.
- Engagements are fixed-scope, with deliverables and timelines agreed before work starts.
How we build
- Configure Redis memory limits and eviction behavior to match the agreed feed and warninglist set.
- Set up feed fetch schedules and cache refresh jobs so caches stay current after each update.
- Test memory use under realistic feed load and confirm correlation still runs against cached data.
- Confirm the setup on the MISP version your team runs, including the Redis version you deploy.
How we hand over
- Document the feed inventory, cache decisions, memory settings and the reasons behind each choice.
- Provide runbooks for clearing caches, reloading a feed and checking Redis memory after an upgrade.
- Walk your operations team through monitoring signals that show a cache is stale or memory is nearing its limit.
- Deliver configuration files and change records so your team can review and reproduce the setup.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
- Retainer work can cover feed list changes, Redis capacity reviews and checks after each MISP release.
- Ask any quote to state which cost components are one-time setup and which recur under a retainer.
- Confirm with your team which support hours, escalation paths and response terms apply before signing.

