title: persistence database (cache) java
body: <p>I got database warehouse where i store all important data for last year (huge amount of data). Amount of data, which i write to that database, depends on day time. The problem is that during rush hours my application became really slow, because of inserting data to database. My idea is to make a persistencedatabase (or cache) for keeping data, before inserting it to db warehouse. Can you please suggest technologies for this idea? Should i use nosql or cache? (app is written in java, db is mysql)</p>