Measuring Java Object Sizes
0Probably pure coincidence, but I stumbled upon this Estimating Java Object Sizes with Instrumentation blog. Given we just had released Ehcache 2.5 with Automatic Resource Control, aka ARC, I had to read through this. We do, amongst other, use an instance of java.lang.instrument.Instrumentation to measure object sizes ourselves. Yet, we found some shortcomings to that approach:
As the blog mentions, you need an agent to get to that instance. Yet it felt like imposing every Ehcache users wanting to use ARC to add a -javaagent: just wasn’t a More >
Asynchronous Job Execution in the Cloud @ JavaOne
0I’ll be presenting “Asynchronous Job Execution in the Cloud” ( Session ID: 24301) later this week at JavaOne in San Francisco. The session will be held in the Hotel Nikko (Carmel I/II) on Wednesday Oct. 5, at 1pm. I will cover how deployment topologies requires us to rethink how we go about job execution. As we moved from one machine to multiple and now even to ever changing environment, we need better tools to express the requirement of our job so that we can leverage IT infrastructures optimally and keep the throughput of our applications as high as possible. I plan on covering this More >
Quartz Where Screencast
0Here is a small introduction to the new Quartz Where feature that was just released as part of the Terracotta 3.5 Enterprise Edition.
I’ll be posting another screencast with some demo application benefiting from the feature, including the couple of steps required to migrate the application to use Where…
Ehcache BeJUG session
0The presentation I gave at the BeJUG a couple of weeks back is now available on parleys.com.Here is part 1:
You can also find the code to the Raffle application I used to demo a couple features on github.com. For more information, downloads and full documentation on ehcache please visit ehcache.org
Ehcache’s Writer API Screencast
1A common pattern to offloading the database is to use a cache in front of it. Yet, generally, it’s still application code that goes to the underlying system of records for writes. It also then becomes responsible for invalidating or updating cached entries.
Using cache writers can not only automate that aspect, but also enables you to scale your writes. This 5 minute screencast explains how to use Ehcache Writer API to achieve this and what it means to your application code: especially in distributed environments when clustering your caches with Terracotta, the contract becomes looser than More >
To be relational or not to be relational, that’s not the question
0Sergio Bossa and myself gave this presentation at jFokus (Stockholm, Sweden) and Codemotion (Rome, Italy). Here’s the slidedeck
For more information:
Quartz Where!
3One week ago we released the first beta of our Fremantle release, which includes Ehcache 2.4, Terracotta Enterprise Suite 3.5 and at last but not least Quartz 2.0. You have been able to cluster your Quartz Scheduler instances using Terracotta for a while already. Yet, as with a JDBC backed storage, you had no control over what node your job would be executed on. The only guarantee was that your job would be executed once within the cluster. Quartz Where aims at addressing exactly that, and is one of the many new features that are part of this new major release of our product line.
A popular More >
Not quite dead yet…
0Despite not having posted here for almost two years now, I’m not dead yet…It’s been a year now, I joined Terracotta to work on their Hibernate second level cache implementation. A lot as happened since: Terracotta acquired Ehcache and Quartz, which gave the transparency team I joined some work…
My latest work there has been on Ehcache and its JTA support. Ehcache 2.1.0 beta has just been released with a whole bunch of new features. I’m planning on putting a post together on using JTA (and the coherent methods added to this release) with Ehcache in some very near More >
Jazoon Presentation on Distributed Client/Server Persistence
1I’ve presented at this year’s Jazoon conference on Hölchoko, a framework for distributing the persistence of your JPA domain models to multiple clients. While the project itself is not where I would have expected it to be by now, I’ve finished enough of the demos to show what the idea is all about. I’ve uploaded the presentation here. I know the demo still has the encumbrance of IntelliJ Idea forms for parts of the UI. I hope to get enough time to remove these very soon.
I plan on closing the remain tickets and release version 0.9.1 somewhere next week. I know the type system More >
Hudson continuous build full screen monitoring
1I’ve just quickly hacked a fullscreen monitor for our continuous integration server at work. As for my personal projects, we use Hudson, which has a nice restful xml API.This small utility asks for the url of your Hudson server and retrieves all the jobs and their status. You can also provide the url to a view, would you want to only partially monitor your jobs (such as only the continuous integration builds, ignoring nightly builds, or the other way around).
When in full screen mode, the tool will poll the server every 15 seconds for job updates and render a fully red, yellow or blue (and
More >