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 / Storing conjure (and other?) output #10

Open
ChrisJefferson opened this issue Jan 22, 2024 · 0 comments
Open

Caching / Storing conjure (and other?) output #10

ChrisJefferson opened this issue Jan 22, 2024 · 0 comments

Comments

@ChrisJefferson
Copy link

Conjure tries to cache models when they are generated. However, this code has some significant limitations:

  • Not thread/process safe
  • If you solve a different problem, it over-writes the first problem's cache.

It would be great to have a more general caching framework. This could cache:

  • Generated Essence'
  • Generated SAT / minion / etc models
  • Answers to problems

These caches should be designed from the start to be process and thread safe. I suggest (but open to suggestions!) this cache runs as a seperate program, maybe using sqlite (or similar), where programs can query for cache values, store them, and read them back out.

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

1 participant