ReJson Module performance compared to other json libraries ?

20 views
Skip to first unread message

sohi mankotia

unread,
Aug 10, 2017, 2:07:07 AM8/10/17
to Redis DB
Hi ,

Exploring through ReJson module  . Got one doubt : Which is better ? ReJson v Gson  v Message Pack when using with Java Client ?


Thanks and Regards
Sohanvir Singh

Danni Moiseyev

unread,
Aug 10, 2017, 6:15:04 AM8/10/17
to redi...@googlegroups.com
Those are different things:
ReJson - is a redis module to allow to manipulate and query json data structures in redis
Gson/MsgPack - are json serialization framework for java

It really depends what kind of queries you are performing.
If are read heavy and query the whole json key every read, you will probably use Gson any way to deserialize the data to a java structure.

Also, note that ReJson can work with Gson (or any other json framework).


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages