Findwise/Hydra — pull request #136 by jwestberg (2012-12-02 01:24:55+00:00)
Title: Implemented a cache for the DatabaseConnector

This is a big one. Sorry guys!

We've implemented CachingDatabaseConnector which will use a MemoryConnector to serve documents to stages, while using MongoDB as the backing storage.

There were _a lot_ of things changed that are not directly related to this, but became necessary: For instance, we needed to configure a Hydra Core to use this cache, and Guice became an obstacle. So we removed Guice.

Hydra is, after this merge, roughly 40% faster n our tests (a 11-stage pipeline, dropping from 30 minutes to complete to 19).