Skip to content

Support IBufferDistributedCache#593

Draft
Inok wants to merge 3 commits into
ZiggyCreatures:mainfrom
Inok:buffer-cache
Draft

Support IBufferDistributedCache#593
Inok wants to merge 3 commits into
ZiggyCreatures:mainfrom
Inok:buffer-cache

Conversation

@Inok

@Inok Inok commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

A prototype of IBufferDistributedCache support.

Efficient buffered serialization requires a breaking change in the serializer's interface. I started with a different approach, introducing IBufferFusionCacheSerializer instead. It's backward-compatible and allows to opt out of this feature by those who use custom serializers.

I haven't measured the overall perf carefully yet, but the serialization part looks promising: somewhat faster and with much less memory allocation.

That said, there are still things to improve (e.g., tests), and of course I'm not pushing with a separate interface. Breaking the existing IFusionCacheSerializer and making v3 is also an option. Or it can be both: separate interface first, merge them later in v3.

@Inok

Inok commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jodydonetti, did you have a chance to look into this? If you need any additional context, please let me know.

If the general direction feels right, I'd continue with the missing parts (mainly tests at this point IIRC) 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant