Questions tagged [shared-cache]
23 questions
6
votes
1 answer
JPA shared cache / second level cache in WildFly
I'm using WildFly 8.1 so JPA 2.1 and Hibernate 4.3.5
I want to use JPA shared cache / second level cache in WildFly
I follow the WildFly documentation:…

kwisatz
- 1,266
- 3
- 16
- 36
6
votes
1 answer
SQLite SharedCache MultiThread Reads
I am developing a multi-threaded sqlite database application on an Ubuntu virtual machine that has 4 processors allocated to it. I am using sqlite version 3.7.13. I created a test to verify that multiple threads/connections can read from the…

Eric Sum
- 61
- 2
5
votes
3 answers
Cache is closed causing an exception while running test suite
I'm experiencing a problem similar to the described in this question.
I have a test suite that runs fine in development environment. One of the tests fails when executed in Bitbucket Pipelines with the following…

naXa stands with Ukraine
- 35,493
- 19
- 190
- 259
3
votes
1 answer
Share Redis Db among many users
If I store some data on my redis cache on my machine. Then is that data accessible to other people on their machines or the redis db is limited to one user only.

Abdul Hannan
- 73
- 6
3
votes
1 answer
Unexpected EclipseLink shared cache behavior with java.util.Date fields
I'm kicking the tires on EclipseLink(2.3.0) and found something that seems severely wrong. The net of my problem is that when an Entity is returned from a shared cache hit, java.util.Date(and perhaps others) aren't copied as I would expect. This has…

user1738358
- 33
- 2
2
votes
1 answer
asp.net cache sharing between main site add its applications/virtual directories (using iis 7.5)
My solution contains 4 projects: Core, Data (libraries), Admin, Client (MVC 3 sites).
Admin and Client communicate with DB with Data project's repositories.
I want to cache data in Data project using HttpContext.Current.Cache for both Admin and…

donRumatta
- 836
- 2
- 9
- 22
2
votes
1 answer
Setting expiration on cached entities with SharedCache and Nhibernate
I have an MVC webapp that I'm putting together now. A second app publishes data to a database which my webapp reads from.
I am using SharedCache as a cache provider for my NHibernate and I wish to assign "expirations" to my entities (so I can…

diarmo
- 103
- 6
2
votes
1 answer
Configure azure shared cache locally and on the cloud
I'm at a complete loss with getting the shared caching to work.
Locally, I've got an mvc4 site running and I created a cloud project from this. I enabled caching on the role and set this to be co-located. All fine so far.
I added the Windows Azure…

Phil Cooper
- 3,083
- 39
- 63
2
votes
3 answers
JPA 2.0 vs. javax.persistence.sharedCache.mode
Using Spring 3.2.0, Eclipselink 2.5.0-M9
When persistence.xml contains:
ENABLE_SELECTIVE
Then if I examine the EntityManagerFactory during runtime, via emf.getProperties(), this property is not set.
However,…

Nayan Hajratwala
- 350
- 1
- 4
- 11
1
vote
1 answer
Please help convert NLog v1.1 to NLog v2.0
I would like to use Sharedcache (sharedcache.codeplex.com) in our Silverlight v4.0 project. However, we are using NLog v2.0 for the client logging. SharedCache currently release only support NLog v1.1 which will collide with NLog v2.0 on our web…

tonyjy
- 1,359
- 3
- 12
- 24
1
vote
1 answer
SQLite Shared Cache Database
I had created a shared in-memory database using the following code, but the problem is, even I close the connection or restart the machine, the data is still available.
I didn't understand how the data is persistent and where it is physically…

Munna Extreme
- 390
- 1
- 13
1
vote
0 answers
JPA 2.0 shared Cache issue for DuplicateKeys
This post is regarding a persistence issue with JPA. The JPA provider used is Oracle Toplink provided by weblogic 12c and is built using EclipseLink.
The user makes 'n' number of interactions/transactions and the app writes each transaction to the…

user3491141
- 53
- 8
1
vote
1 answer
Windows Azure in-role caching vs shared cache
We have a website in Azure and we want to cache the content on the website. The app that will update the content will be outside Azure. We got this scenario working with Shared Cache. Shared caching however is considered a legacy feature and so we…

maddog
- 184
- 2
- 13
1
vote
1 answer
DataCache operation - validate success
in Windows Azure Shared Cache:
suppose I do the following:
try
{
mCache.Remove(key);
Trace.WriteLine("removed successfully from Azure Shared Cache");
}
catch (DataCacheException e)
{
WorkerRole.log.Info(e.ToString());
}
is it right to say…

socksocket
- 4,271
- 11
- 45
- 70
1
vote
1 answer
Is DataCache.Increment available with WindowsAzure shared caching?
I'm trying to use WindowsAzure shared cache and the Increment operator of the DataCache class documented here: http://msdn.microsoft.com/en-us/library/windowsazure/jj160018.aspx.
The Microsoft.ApplicationServer.Caching.Client.dll I'm using came from…

Evan
- 5,925
- 6
- 33
- 35