On 19/06/2014 11:19, Zsolt Kúti wrote:
> Blitz JavaSpaces once or twice, which takes some doing...).
> While we are at it, can you shed some light on what was the driving
> force to use Blitz instead of the default?
Persistent Outrigger rapidly slowed down to a crawl and crashed with our
data volumes.
In-memory Outrigger handled it fine, but these are long-running
processes (something weeks) where we could not afford to lose the
process state.
The issue was not, I think, the overall size (around 4GB), but the fact
that our entries were very large / complex domain objects - sometimes up
to 1MB each. One could argue that our design was not ideal for what
Outrigger caters for, but I wanted to go for a pure space-based
solution, as opposed to storing the larger objects in some other storage
medium.
Some people use JavaSpaces either as a cache, or as a means to
distribute requests to manage workload. In our case, we are using it to
represent the state of some complex, long-running processes, so
durability of that state is important to us. Blitz certainly slows down
badly when you hit 10GB or so (and has a startup time of several minutes
to load that state from disk), but since this is just "active" process
state (we're not using it as a historical database, which really goes
against the idea of JavaSpaces) we will deal with that problem when we
hit those volumes.
What you are you building with JavaSpaces, if you don't mind sharing?
kind regards,
Dawid Loubser