Ehcache-1.2.4 has been released. It contains four feature and fifteen bug fixes received in the three months since ehcache-1.2.3 was released. See the changelog for details. Eight of the changes in this release are scalability improvements contributed by users running very large ehcache deployments. The distributed caching changes stem from a user who is using… Continue reading ehcache-1.2.4 released
Category: Java
SEDA, NIO and Grizzly/Glassfish
SEDA, or staged event driven architecture was all the rage about four years ago. (http://www.eecs.harvard.edu/~mdw/proj/seda/). Java 1.4 added the NIO, or “new IO” package inspired by it. The logical next step was a Java web server using the approach. I spent some time last week tuning our Glassfish application server for production. The default is… Continue reading SEDA, NIO and Grizzly/Glassfish
Tuning Memory Use in ehcache
In ehcache-1.2 the DiskStore asynchronous spooling was reworked and made much faster. It is now possible to fill the spool very quickly. This gives great cache performance but creates a new problem, temporary memory consumption in the spool thread. The problem has arisen because data is hitting the spool so fast now that the actual… Continue reading Tuning Memory Use in ehcache
How We Solved our Garbage Collection Pausing Problem
I had our main J2EE app at work with 9 second pauses. These would happen on average every 50 seconds. Needless to say this was a huge performance problem. Pauses are caused by major garbage collections. Minor garbage collections do not cause pausing. Pausing means nothing, absolutley nothing, gets done in your app. 9 seconds… Continue reading How We Solved our Garbage Collection Pausing Problem
yDoc ant target and maven plugin config
yDoc (http://www.yworks.com/en/products_ydoc.htm) is a JavaDoc doclet that adds wonderful, clickable UML diagrams to your JavaDoc. I have been pestering these guys for a few years for an open source license which they gave me today. As part payback I thought I would document my configuration of yDoc in my javadoc ant target and my maven… Continue reading yDoc ant target and maven plugin config
Weighing in on the Gosling flame war over scripting languages
I want to way in on this flame war that James Gosling has triggered with his mild criticism of scripting languages. I think it is unfair and unhelpful. Here is my two cents worth. I am still feeling my way on Ruby and Ruby on Rails. I spent a half day with Prag Dave, have… Continue reading Weighing in on the Gosling flame war over scripting languages
ehcache-1.2 beta 5 released
Today I released ehcache-1.2 beta 5. Quite a few people have been playing with the new features. I think the whole listener area has been very well road tested now. Ditto with the DiskStore performance redesign. I am also very happy that people are playing with the distributed cache stuff. Fixed a couple of bugs… Continue reading ehcache-1.2 beta 5 released
Comparative Cache Performance Numbers
Some guys have created a java cache test tool called cache4j_perfomance_tester. The results for ehcache-1.1 and ehcache-1.2 follow. According to their test methodology both versions of ehcache are the fastest for all three scenarios. Compared with oscache, ehcache was 4 times faster for two of the scenarios and twice as fast for one. I find… Continue reading Comparative Cache Performance Numbers
Developing a project site with Maven 2.0
The last week or so I have been developing a new version of the http://ehcache.sf.net project web site with Maven 2.0. Why? The old site featured a couple of toilet roll web pages, the longest of which was 2026 lines. That’s a long toilet roll. With the upcoming release of 1.2 and a lot more… Continue reading Developing a project site with Maven 2.0
Java vs Ruby: the keystroke effect of good IDEs
Years ago I used to use vi for all of my programming. I also used JEdit for a while. I remember being in a Sun conference about 7 years ago when the speaker asked for a show of hands as to whether the assembed programmers were using text editors or IDEs. About 90% were using… Continue reading Java vs Ruby: the keystroke effect of good IDEs