3 ms·
Great project. There is only one angle that I feel is missing: multiple requests for the same resource could cause duplicated work, especially if the value gene
by kristoff_it 7y ago
Great project. There is only one angle that I feel is missing: multiple requests for the same resource could cause duplicated work, especially if the value generating function is slow.
I wrote a sample solution to that problem, feel free to reach out if you ever consider adding a similar feature, I'd be happy to contribute. (fyi: the current implementation is in Go)
https://github.com/kristoff-it/redis-memolock https://github.com/kristoff-it/redis-memolock
- youknowone 7y agoActually it is common requests from the users but it wasn't solved yet. I will check the project, thanks!