Skip to main content

External logging backend implementation for LMCache

Project description

LMCache External Log Backend

This project provides an external logging backend implementation for LMCache.

Features

  • Implements the StorageBackendInterface from LMCache
  • Logs all backend operations (put, get, prefetch, pin, etc.)
  • Easy to integrate with existing LMCache systems

Installation

pip install lmc_external_log_backend

Usage

To use this backend in your LMCache,

Add the following to your LMCache Configuration:

chunk_size: 64
local_cpu: False
max_local_cpu_size: 5
external_backends: "log_external_backend"
extra_config:
  external_backend.log_external_backend.module_path: lmc_external_log_backend.lmc_external_log_backend
  external_backend.log_external_backend.class_name: ExternalLogBackend

Development

To build the package:

python setup.py sdist bdist_wheel

To install locally:

pip install -e .

License

Apache-2.0 License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lmc_external_log_backend-0.1.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file lmc_external_log_backend-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for lmc_external_log_backend-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9a30294c2108e1052f7e56ce627ab5402297723c3e9ae47ba46b5445d7c2c9
MD5 637b013c53178d684be8d4498d84dc44
BLAKE2b-256 c96a2bac873f1d6d1a08c358f7d5f245ffaefe38c9fd5317fa04a60b5b19373d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page