yep, so the awesome thing with Redis is an ability to pipe commands,
so the solution to my problem was collecting cache keys to invalidate and then in separate call
making a pipe command to redis to invalidate them in bulk.
pipe ftw :D
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.