Class var and class inst var caches in libraries
Posted by
GLASS mailing list on
Oct 04, 2016; 6:50pm
URL: https://forum.world.st/Class-var-and-class-inst-var-caches-in-libraries-tp4918063.html
Lots of libraries use caches stored in class vars and class isnt vars that are either explicitly or lazily initialized. But with multiple Gems accessing the same repo, this can produce write-write conflicts. In fact, simply sending #initialize to the same class from different Gems can cause them. What are the best ways to implement these caches in GS? Write-locks seem like overkill, so I'm interested in simple ways of making them non-persistent.
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass