You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some time ago, an issue was raised: #1921, followed by a subsequent pull request: #1954.
The issue we aimed to address was selectively retrieving data from shared memory (shm) and deserializing it only if the version of the key in shm differed from what was stored in the least recently used (lru) cache or a local Lua variable. This feature could prove immensely useful for swiftly and accurately updating configuration changes while maintaining a cached copy in each worker for efficiency (which is validated upon request).
@agentzh, the original issue became somewhat complex due to the inclusion of both compare-or-get (cog) and compare-and-swap (cas) operations, as well as incorporating the original value into the get API. Could you or someone else reconsider this and possibly streamline it, for instance, into a function like get_conditional(key, flags?) returning value, flags, flags_match, where value and flags are returned only if flags_match is false?
The text was updated successfully, but these errors were encountered:
Some time ago, an issue was raised: #1921, followed by a subsequent pull request: #1954.
The issue we aimed to address was selectively retrieving data from shared memory (shm) and deserializing it only if the version of the key in shm differed from what was stored in the least recently used (lru) cache or a local Lua variable. This feature could prove immensely useful for swiftly and accurately updating configuration changes while maintaining a cached copy in each worker for efficiency (which is validated upon request).
@agentzh, the original issue became somewhat complex due to the inclusion of both compare-or-get (cog) and compare-and-swap (cas) operations, as well as incorporating the original value into the get API. Could you or someone else reconsider this and possibly streamline it, for instance, into a function like get_conditional(key, flags?) returning value, flags, flags_match, where value and flags are returned only if flags_match is false?
The text was updated successfully, but these errors were encountered: