orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
518 stars 220 forks source link

Separate caches for what needs to be sent to e.g. Redis vs. not #6555

Open avernet opened 1 month ago

avernet commented 1 month ago

Should not be sent to Redis:

See #6554

avernet commented 1 month ago

Discussed:

ebruchez commented 1 month ago

We also access Ehcache 3 via JCache, so we need to add support for multiple JCache providers.

avernet commented 1 month ago

@ebruchez If it is simpler, for the caches that always remain local (form-runner.persistence.form-definition and form-runner.persistence.form-metadata, and more to come), we can also hardcode the use of Ehcache3 (through JCache or not), as we don't need (or want) users to be able to configure what cache is used for those.

ebruchez commented 4 weeks ago

Looking for a good name to differentiate the two categories of caches. Differences:

After discussion, leaning towards adding store properties:

If a store property is missing, use the corresponding cache property.

ebruchez commented 4 weeks ago
ebruchez commented 4 weeks ago

Difficulties I encountered:

ebruchez commented 3 weeks ago

I think we delayed backporting to 2023.1-pe until we have feedback.

ebruchez commented 2 weeks ago

RESOLUTION: We don't include this on 2023.1.x. This will be a 2024.1 feature.