0

I need to process a high amount of incoming datasets. The data is that simple I can abstract it into a datastructure like

HashMap<String, DataClass>

Someone knowing a Database that is suitable for the follwing requirements:

  1. High performance fetching of the associated value-object by given key
  2. Automatic persistence to hard drive (on insert/update)
  3. Not affected by the GBC through program life cycle.
  4. Not required but cool if so, lightweight

I searched for some in-memory solutions like apache ignite, but can't decide which to take.

Sp0tlight
  • 409
  • 1
  • 4
  • 18
  • How about Guava's MultiMap? – Anurag Joshi Dec 16 '16 at 16:39
  • 1
    https://stackoverflow.com/questions/15600780/java-which-database-technologie-to-use-for-a-huge-amount-of-high-frequently-ch?rq=1 ? –  Dec 16 '16 at 16:45
  • 1
    or https://stackoverflow.com/questions/9772058/which-embedded-db-written-in-java-for-a-simple-key-value-store?rq=1? –  Dec 16 '16 at 16:45

2 Answers2

1

Hazelcast?

It seems you are looking for a distributed hashtable.

Jimmy Wong
  • 492
  • 4
  • 5
1

Try looking into EHCache - it can be deployed in-process or separately if your requirements change. http://www.ehcache.org/

kjp
  • 3,086
  • 22
  • 30