command
module
Version:
v0.0.16
Opens a new window with list of versions in this module.
Published: Mar 19, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gatewayd-plugin-cache
GatewayD plugin for caching query results.
Features
- Basic caching of database responses to client queries
- Invalidate cached responses on upsert and delete (table-based)
- Periodic cache invalidation
- Support for setting expiry time on cached data
- Support for caching responses from multiple databases on multiple servers
- Support nested queries: joins, unions, multi-table selects, and the like
- Detect client's chosen database from the client's startup message
- Metrics for quantifying cache hits, misses, gets, sets and deletes
- Logging at various levels
- Configurable via environment variables
Build
To build the plugin, run the following command:
make && make checksum
Running the above command causes these command to run:
go mod tidy && go build -ldflags "-s -w" ⇒ compiles and generates gatewayd-plugin-cache.
sha256sum -b gatewayd-plugin-cache ⇒ generates SHA256 hash.
For now, the generated hash should be manually replaced with the old one in gatewayd_plugins.yaml.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.