Skip to content

Commit aff32bf

Browse files
committed
more docs.
1 parent 28e2676 commit aff32bf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ servers (like Kyoto Tycoon). Each NGINX or OpenResty server node simply queries
1717
Memcached server(s) with a key containing the timestamp every hour. It has the following
1818
advantages:
1919

20+
1. We keep a list of keys and only evict the oldest key every hour, which allows
21+
gradual phase-out of old keys.
22+
1. The keys are updated automatically for all the virtual (SSL) servers defined in the `nginx.conf` file.
23+
1. No NGINX server reload or restart is needed. New keys are pulled from Memcached or
24+
Memcached-compatible servers automatically every hour.
2025
1. All network I/O is 100% nonblocking, that is, it never blocks any OS threads nor the nginx event loop.
26+
1. All the core logic is in pure Lua, which is every easy to hack and adjust for special requirements.
2127
1. Uses shm cache for the keys so that only one worker needs to query the Memcached or
2228
Memcached-compatible servers.
23-
1. We keep a list of keys and only evict the oldest key every hour, which allows
24-
gradual phase-out of old keys.
2529

2630
Installation
2731
============

0 commit comments

Comments
 (0)