rayman
rayman

Reputation: 21606

ORM framework for Redis while using Vertx

I am looking for a "spring data Redis" solution.

The thing is that I am using Vertx and I dont want to Inject Spring inside.

Iam looking for annotation solution that will map my objects(aka entities) to Redis.

I could Inject vertx to Spring. and used the eventbus to integrate between the two.

I have two candidate to solution:

  1. Each request I get via the vertx eventbus I am going to send it over kafka and have spring consumer in the other side(this way Spring will handle the "redis" work forme

  2. I am going to use redis straight inside Vertx (using Jedis or any other redis client) and manage all redis layers (dao,dto's) myself

What do you experts think?

Thank you, ray.

Upvotes: 0

Views: 1153

Answers (1)

Matías Fidemraizer
Matías Fidemraizer

Reputation: 64943

Redis is a key-value store. OR/M frameworks are meant to resolve the issue of storing objects in a non-hierarchical data store like a relational database.

Just because OR/M means "object-relational mapping" you can't expect an "OR/M for Redis".

Upvotes: 1

Related Questions