Open gavin-norman-sociomantic opened 6 years ago
A size-unlimited, non-expiring cache (a map really) backed by a Mirror request.
This will be addressed in #82.
A size-limited, expiring cache backed by Get requests. (Should also cache the fact that a record does not exist.)
This is becoming more important as ExpiringCache
from ocean (which is most commonly used to implement this right now) is starting to hit its limits. See https://github.com/sociomantic-tsunami/ocean/issues/539 - having specifialized solution which understands concepts of "empty record" and "dht error" would make code much more simpler.
This will be addressed in #82.
Two ideas here, from common use cases:
Both of these are very common patterns in applications, so it makes sense to provide standard dhtproto components for these tasks. Whether they could or should be merged into a single component that can be configured for different use cases can be discussed.