|
|
|
|
|
by tombert
470 days ago
|
|
Yeah I mentioned that, if you need to share stuff between processes or differnet nodes, then maybe Redis might be a fit. But I've seen people use Redis as a glorified "global variable" for stuff like Kafka streaming. The data is already partitioned, it's not going to be used across multiple nodes, and now you've introduced another service to look at and made everything slower because of the network. A global hashmap (or cache library, like previously mentioned) would do the job faster, with less overhead, and the code would be simpler. |
|