File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,15 @@ servers (like Kyoto Tycoon). Each NGINX or OpenResty server node simply queries
1717Memcached server(s) with a key containing the timestamp every hour. It has the following
1818advantages:
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.
20251 . 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.
21271 . Uses shm cache for the keys so that only one worker needs to query the Memcached or
2228Memcached-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
2630Installation
2731============
You can’t perform that action at this time.
0 commit comments