-
Notifications
You must be signed in to change notification settings - Fork 616
Add DistributedCacheEventStreamStore
#1136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/ModelContextProtocol.Core/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
e01c4f4 to
80b2cb4
Compare
halter73
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good. The cache structure timeout handling seems well thought out. I think stateless support for stream resumption (#1131) might be the next thing to consider for this, and I think this design should work well for that.
src/ModelContextProtocol/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStoreOptions.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStoreOptions.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
tests/ModelContextProtocol.Tests/Server/DistributedCacheEventStreamStoreTests.cs
Outdated
Show resolved
Hide resolved
…reOptions.cs Co-authored-by: Stephen Halter <halter73@gmail.com>
…re.cs Co-authored-by: Stephen Halter <halter73@gmail.com>
halter73
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Introduces a new distributed cache-backed implementation for
ISseEventStreamStore.Follow-up to #510