Java+Redis vs plain Java efficiency for data intensive applications?

后端 未结 1 1729
谎友^
谎友^ 2021-01-18 17:20

Does it help to use Redis with Java to develop data intensive applications (e.g. data-mining) in Java?

Does it work faster or consume less memory comparing to plain

相关标签:
1条回答
  • 2021-01-18 17:35

    Redis will definitely not be faster that native Java on a single machine. It would allow you to distribute processing, but if the chunks of data really are large, they're not likely to fit into memory anyway. Without knowing more about what you're doing, I would suggest storing the data on disk. When you get multiple machines, you can network mount the partition and share the data that way. Alternatively, Hadoop with MapReduce sounds like the right sort of thing for what you're doing.

    0 讨论(0)
提交回复
热议问题