I wondered just how much faster read/write operations could be with Redis (if at all) over the H2 database so I set out to write a little test app to see for myself.
It is an apple-to-apple comparison—both Redis and H2 are in-memory databases. But it is not a comparison of Redis vs H2 performance, but rather a comparison of Grails integration for Redis and H2, Grails object to Redis vs object to relational mapping, Redis and H2 drivers, and only at last of Redis and H2 performance.
You could argue that for real applications that’s what matters and that would be correct. But then the title should be the one I used.
Original title and link: Redis vs H2 Performance in Grails 1.4 (NoSQL database©myNoSQL)