Skip to content
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

Caching #12

Open
tobyzerner opened this issue Apr 21, 2023 · 3 comments
Open

Caching #12

tobyzerner opened this issue Apr 21, 2023 · 3 comments

Comments

@tobyzerner
Copy link

Parsing Fluent files is expensive and would benefit from caching between requests. Is there a recommended approach for this?

@jrmajor
Copy link
Owner

jrmajor commented May 11, 2023

Unfortunately, there is no way to cache parsed Fluent files at the moment.

@tobyzerner
Copy link
Author

tobyzerner commented May 27, 2023

FYI, in Waterhole I ended up manually adding a caching layer which serializes/unserializes parsed FluentResource instances onto the filesystem. Works great.

@hakastein
Copy link
Contributor

With last update its no more expensive. And i think cach layer must be outside of fluent. Atleast this moment. In our project we store fluent cache in memcache

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

No branches or pull requests

3 participants