LMCache/LMCache

[RFC]: Non-Python backends

已關閉

#1,362 建立於 2025年8月15日

 (11 則留言) (4 個反應) (0 位負責人)Python (1,195 個分叉)user submission
RFCdiscussionenhancementhelp wantedoptimizationstale

倉庫指標

星標
 (8,345 顆星)
PR 合併指標
 (平均合併 6天 13小時) (30 天內合併 204 個 PR)

描述

The GIL can greatly hinder remote backends. For LMCache's vision of being able to connect many serving engines effectively, backends written in lower level languages are critical to maximize core usage and saturate NIC/bus bandwidths.

In the future, maybe the disk/SSD backend can be rewritten in non-python language too

Please leave any comments / thoughts below and we will update this RFC with updates!

One example of a non-performant python backend is redis: https://github.com/LMCache/LMCache/pull/1293

even though store is done asynchronously from vllm, the TTFT for the warm up round (store only) meaning the redis SDK's concurrency model is flawed

貢獻者指南