Documentation
¶
Overview ¶
Package cfgbigcache uses the bigcache in-memory database for reading and writing configuration paths.
Bigcache delivers under high concurrent and parallel load better results than a simple key value mutex protected map.
Maybe implements synchronization with MySQL core_config_data table. Converts all values to byte slices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
Storage wrapper around the freecache.Cache type
func New ¶
New creates a new cache with a minimum size set to 512KB. If the size is set relatively large, you should call `debug.SetGCPercent()`, set it to a much smaller value to limit the memory consumption and GC pause time.
Click to show internal directories.
Click to hide internal directories.