Questions tagged [oscache]

15 questions
22
votes
2 answers

How to view DNS cache in OSX?

To list the entries of DNS cache in OSX 10.11.6, I tried dscacheutil -statistics but that didn't work. $ sudo dscacheutil -statistics Unable to get details from the cache node How can I just print what is there in the DNS cache without flushing it?
Praseetha KR
  • 549
  • 1
  • 3
  • 9
19
votes
10 answers

OSCache vs. EHCache

Never used a cache like this before. The problem is that I want to load 500,000 + records out of a database and do some selecting/filtering wicked fast. I'm thinking about using a cache, and preliminarily found EHCache and OSCache, any opinions?
bmw0128
  • 1,545
  • 6
  • 24
  • 30
3
votes
0 answers

Do containers use the same OS disk cache?

When running multiple containers on single server, does each container have its own OS disk cache? Or is the OS disk cache shared between all containers? Is the answer different when there are multiple physical disks, and any one disk is only used…
rwfbc
  • 600
  • 5
  • 18
3
votes
1 answer

Caching Pattern: What do you call (and how do you replace) OpenSymphony OsCache "group" paradigm

A caching issue for you cache gurus. Context We have used OpenSymphony's OsCache for several years and consider moving to a better/stronger/faster/actively-developed caching product. Problem We have used OsCache's "group entry" feature and have not…
user331465
  • 2,864
  • 11
  • 42
  • 67
2
votes
2 answers

How to control logging by 3rd-party components in webapp in Tomcat 5.5?

We are using Tomcat 5.5 on Linux. Our webapp uses log4j for its logging (functionally-based and not many loggers), and intentionally sets the additivity of the loggers to false. Our loggers log to our own logfile. None of them log to the…
QuantumMechanic
  • 13,239
  • 3
  • 38
  • 65
2
votes
2 answers

When to go for Caching/Second level cache? Any practical scenario with specifics?

I'm working on a web based application that belongs to an automobil manufacturer, developed in Spring-Hibernate with MS SQL Server 2005 database. Through this application, end users can request for creating a Car, Bus, Truck etc through web based…
Vicky
  • 4,980
  • 17
  • 52
  • 78
1
vote
1 answer

Clearing OS cache from mem-mapped files without file handle

I need to force OS to purge the pages used for a mapped file. I don't have the file descriptor, so posix_fadvise cannot be used. Our application caches a lot of files by mapping them into memory. After the file has been mapped (i.e. we've got the…
me76
  • 79
  • 7
1
vote
1 answer

Issue about Using Struts2 Include Tag in Freemarker File

Here is my scene: 1、In action the variable id is declear like blow(TestAction.java): … private Integer id; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } … 2、Configuration in…
Qiuzi
  • 11
  • 3
1
vote
1 answer

Hibernate's cluster aware caches in conjunction with WebSphere Application Server

The title comes from the following link: Using Spring and Hibernate with WebSphere Application Server Wonder if that is still a true statement? I am interested in moving the application from using IBM DistributedMap and DistributedObjectCache to…
boyd4715
  • 2,563
  • 7
  • 46
  • 75
1
vote
1 answer

Specifying global EhCache capacity

I am trying to migrate my project code from OSCache to EhCache. We have used OSCache not only as a second-level Hibernate cache provider but also to store other objects of a different nature. They all happily shared the same cache instance without…
mindas
  • 25,644
  • 13
  • 93
  • 149
1
vote
1 answer

Setting refresh-policies in Ehcache

Is there any to specify a data refresh policy in Ehcache? I am currently migrating an application from OSCache to Ehcache and I can't seem to find any way to specify when an element needs refreshing, besides setting timeToIdle and timeToLive. What…
Alex Ciminian
  • 10,837
  • 14
  • 57
  • 92
0
votes
1 answer

Is OSCache under development or it has been discontinued?

Does anyone know if OSCache is underdevelopment or not? I know that OpenSymphony is no longer under development, but some of its projects still live on ( like Quartz ). I wasn't able to find anything relevant about OSCache that wasn't at least two…
pmanolov
  • 623
  • 1
  • 6
  • 19
0
votes
1 answer

OSCache jsp tag to first return from cache and then clear

I am using OSCache on my jsps with tags. To improve performance, I am caching some of the jsp using the oscache jsp tags. I would like the cache to always return the cached result and then rebuild the cahce. This way my users do not wait for the…
Assafn
  • 177
  • 1
  • 9
0
votes
2 answers

How do I set an cache time for objects in OSCache using spring-modules?

I have an application in need of some caching, and for some of the semi-static data, I want them to stay in the cache a maximum amount of time (for instance 10 minutes) before being refreshed. My system merely retrieves data, never updates it, so I…
John Croft
0
votes
1 answer

how to config grails1.2 with oscache?

I do this : DataSource.groovy: hibernate { cache.use_second_level_cache=true cache.use_query_cache=true cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider' } and in BuildConfig.groovy: inherits( "global" ) { …
user340017
  • 53
  • 1
  • 7