]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add htrie driver to sample rlm_cache module config
authorNick Porter <nick@portercomputing.co.uk>
Tue, 25 Mar 2025 09:50:02 +0000 (09:50 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 25 Mar 2025 11:08:55 +0000 (11:08 +0000)
raddb/mods-available/cache

index 5b1a261c6caeedf97bf6326b8e1d176dfcfa8c03..91c4a0b9be73710be2c903005f1d207d4f20a5a0 100644 (file)
@@ -42,6 +42,9 @@ cache {
        #  | Driver                | Description
        #  | `rbtree`              | An in memory, non persistent rbtree based datastore.
        #                            Useful for caching data locally.
+       #  | `htrie`               | An in memory, non persistent datastore which can use
+       #                            a hash table, rbtree or patricia trie store depending
+       #                            on the data type of the key.
        #  | `memcached`           | A non persistent "webscale" distributed datastore.
        #                            Useful if the cached data need to be shared between
        #                            a cluster of RADIUS servers.
@@ -60,6 +63,24 @@ cache {
        #  Driver specific options are:
        #
 
+#
+#  ### Htrie cache driver
+#
+#      htrie {
+               #
+               #  type:: Htrie backend type
+               #
+               #  [options="header,autowidth"]
+               #  |===
+               #  | Option    | Description
+               #  | `auto`    | The backend is automatically determined based on data type of the key
+               #  | `hash`    | Use a hash table
+               #  | `rb`      | Use an rbtree
+               #  | `trie`    | Use a patricia trie
+               #
+#              type = "auto"
+#      }
+
 #
 #  ### Memcached cache driver
 #