Artica Wiki

High-Performance Caching with in-memory database

High-Performance Caching with in-memory database.Traditional caching stores data in memory and consequently loses it when the service is restarted, while an in-memory database keeps cached data on disk.

Integrating DNS Cache service with In-memory database combines the strengths of both systems—DNS Cache service's DNS resolution and In-memory database caching. 
This approach is especially valuable in environments with high query volumes, strict performance requirements, and the need for centralized cache management.

This feature is available with Artica v4.50 Service Pack 1 or Artica v4.50 Hotfix 20241224-00

High-Performance Caching

Limitations:

  1. Memory Usage - in-memory database is memory-intensive; planning for resource allocation is crucial for large caches.
    ( Default to 512MB )

Enable the database caching.

It should be noted that DNS Cache service never removes data stored in the database server, even if some data have expired in terms of DNS TTL or the database server has cached too much data;
To enable the records updating, you must specify the database purge frequency.
By this way, hosts will be retrieved again from the sources DNS servers and the database will be rebuilt.