redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.46k stars 579 forks source link

Transforms Rust SDK: Add caching layer to Schema Registry client (LRU) #19859

Closed oleiman closed 2 months ago

oleiman commented 3 months ago

.

Backports Required

Release Notes

Improvements

oleiman commented 2 months ago

@rockwotj - this has been hangin' out for a little bit. back burnered for things with core dependencies. would be interested to hear your thoughts. particularly on the unfortunate reality of making mut& infecting everything 🤷

rockwotj commented 2 months ago

I will take a closer look next week. We should do LRU caching, but should consider interior mutability if this design is too invasive: https://doc.rust-lang.org/book/ch15-05-interior-mutability.html

oleiman commented 2 months ago

I will take a closer look next week. We should do LRU caching, but should consider interior mutability if this design is too invasive: https://doc.rust-lang.org/book/ch15-05-interior-mutability.html

Ah yeah, that's what i was looking for but didn't find. Nice one, thanks!

oleiman commented 2 months ago

force push contents:

oleiman commented 2 months ago

force push CR changes