Java

Ehcache size configuration

Since Ehcache 2.5, you've got Automatic Resource Control (ARC), which help you to easily tune your cache. When you think that software is constantly changing, let's say you have a class that takes 1Kb when instantiated, then you put 1000000 elements in a cache, it takes 1Gb. After a few releases, the class has been… Continue reading Ehcache size configuration

Java

Plan a scalable architecture through fault-injection

I have been doing a lot of testing on scalable architectures since last year and at some point, Steve Harris pointed out the principles of fault injection in a discussion (Thanks Steve for making me think about this). When I started to look at it more closely, I realized a couple of things: - Unit… Continue reading Plan a scalable architecture through fault-injection