If I get "local cache layer" correctly, it's possible. And it's even desired if you want to reduce the deployment burden.
Here are some related codes on how we implement such a layer in GreptimeDB:
* https://github.com/GreptimeTeam/greptimedb/blob/v0.7.0/src/o... * https://github.com/GreptimeTeam/greptimedb/blob/v0.7.0/src/m...