Questions tagged [redis]

Redis is an open-source, networked, in-memory, key-value data store.

Filter by
Sorted by
Tagged with
3
votes
1answer
92 views

User-logging authentication

I'm little frustrated because I don't know how well I can refactor this script. I wrote the authentication function but it's too complicated, maybe too large in one function, and seems like spaghetti ...
1
vote
1answer
237 views

Using Redis to store word occurences

I am doing a project where I am analyzing a group of Tweets. What I need to do is find the occurrence of each individual word. I am fairly new to Redis, so I am not quite sure that my solution is ...
1
vote
0answers
316 views

Data lookup table with Redis and API call

This class' function is to change a given array's data into an ID. The list is set by a configuration file. I have DI the outer array and objects into the class so that if there are any dependencies - ...
5
votes
3answers
806 views

Chat logger using Redis

I'm developing a Java EE project which uses Redis through the Jedis library. I'm retrieving the chat history of a particular channel from the servlet context and if absent, from Redis. The PMD ...
11
votes
1answer
2k views

Redis rate limiting in Lua

I've implemented a rate limiter for redis in Lua, and I'm wondering if anyone has any suggestions that might improve the performance. An example use: ...
6
votes
1answer
234 views

Iterating over JSON docs

This Lua code runs in redis. It iterates over some JSON docs, and applies some logic based on the user (if any) making the request. I'm sure there's a lot I can improve here. ...
3
votes
1answer
440 views

Model for web applications

I'm developing a model for web applications. The database that I use is Redis. I created special DbField objects like ...