I am trying to implement a read heavy operation in Redis. I have loaded a function in redis server to read all the data. Now when I compare the performance of reading data by calling the function vs using lettuce library, the library gives better performance. Can someone help me understand why.