The support for WINCACHE has been added into Sugar Community Edition 6.0 Beta bits. The latest bits which supports WINCACHE out of the box can be downloaded from http://www.sugarforge.org/frs/?group_id=6. Remember Sugar 6.0 bits available there are still in Beta. However it is so good to know that we have WINCACHE support right out of the box in Sugar. A big thanks to Sugar developers. Sugar also released an add-on package for WINCACHE user cache for prior version of Sugar (version 5.2 and version 5.5). John blogged about it at http://developers.sugarcrm.com/wordpress/2010/05/15/wincache-support-for-sugar/.
This is a very common problem which most of us has studied in our academic days. This we learn as part of process synchronization or concurrency. For the sake of this discussion let’s assume we have multiple process accessing common data in a shared memory (ideally a common shared resource is available). While some processes will read from the shared memory, all others may write to it. While we can allow multiple readers to read from shared memory as it does not harm, there can be no time where more than one writer can have access to shared memory or a writer as well as a reader can have access to shared memory simultaneously.
As you all know we did a Beta2 release of WINCACHE 1.1 few days back. This is a very important release with lots of bug fixes and new features. I would encourage all current users of WINCACHE to upgrade to Beta2 latest build.