Updated README for caching
This commit is contained in:
parent
9e9b6bc7dc
commit
0228983d52
21
README.md
21
README.md
@ -73,6 +73,27 @@ Mandatory keys to modify:
|
|||||||
|
|
||||||
After all of that you're good to go! Happy using :)
|
After all of that you're good to go! Happy using :)
|
||||||
|
|
||||||
|
## Caching
|
||||||
|
|
||||||
|
Although general database access speed is fast, caching might become helpful for
|
||||||
|
bigger servers with many bot interactions. Currently, Redis and Memcached are supported.
|
||||||
|
|
||||||
|
Configuration happens through the config key `caching`.
|
||||||
|
|
||||||
|
Set `caching.type` to the service of you choice ("redis" or "memcached") and then update
|
||||||
|
the URI to access the service. It's Redis' default URI format for Redis and "address:port"
|
||||||
|
for Memcached.
|
||||||
|
|
||||||
|
Which one should I choose?
|
||||||
|
|
||||||
|
| Service | Read/write speed | Config flexibility |
|
||||||
|
|-----------|------------------|--------------------|
|
||||||
|
| Redis | High | Very flexible |
|
||||||
|
| Memcached | Very high | Basic |
|
||||||
|
|
||||||
|
> Performance difference between Redis and Memcached is generally quite low, so your setup
|
||||||
|
> should normally depend more on the configuration flexibility than on raw speed.
|
||||||
|
|
||||||
## Docker [Experimental]
|
## Docker [Experimental]
|
||||||
|
|
||||||
As an experiment, Docker deployment option has been added.
|
As an experiment, Docker deployment option has been added.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user