Skip to content

findAllById generates JSON.GET instetad of JSON.MGET #252

@teddkris

Description

@teddkris

Redis OM Spring: 0.8.2
Springboot: 3.0.2

We did some comparison loading 1000 objects of Set<Long> using findAllById() with JPA findAllByIdIn() (PostgreSQL) and found out that they have similar read time. Checking RedisInsight profiler shows that redis-om-spring is generating

JSON.GET key1 .
JSON.GET key2 .
JSON.GET key3 .
...

instead of JSON.MGET command

is there any way to use the JedisPooled client to manually query the JSON within redis-om-spring?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions