Skip to content

Comments

Feature/optimistic cache#2183

Open
ababilone wants to merge 3 commits intoevent-catalog:mainfrom
ababilone:feature/optimistic-cache
Open

Feature/optimistic cache#2183
ababilone wants to merge 3 commits intoevent-catalog:mainfrom
ababilone:feature/optimistic-cache

Conversation

@ababilone
Copy link
Contributor

Motivation

SDK operations on big catalog keep getting slower & slower the more mdx files there is in it.

Using the recently introduced caching mechanism, this PR is an attempt to change its frequent invalidation to use instead optimistic changes related to the currently applied alteration.

First test on a big catalog show great performance improvement (down to ~5ms writeResource operations coming from up to 1500-2000ms/operation)

@ababilone ababilone requested a review from boyney123 as a code owner February 18, 2026 23:08
@changeset-bot
Copy link

changeset-bot bot commented Feb 18, 2026

🦋 Changeset detected

Latest commit: b14f5f7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@eventcatalog/sdk Minor
@eventcatalog/cli Patch
@eventcatalog/core Patch
@eventcatalog/linter Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ababilone ababilone force-pushed the feature/optimistic-cache branch from b505d50 to b7fc8f7 Compare February 18, 2026 23:10
@boyney123
Copy link
Collaborator

Thanks for this @ababilone I was working on a PR (work in progresS) #2198

That actually picked up some performance improvements, I'm going to get them out, and see how you get on if thats OK.

I think they are very simular

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.

2 participants