资 源 简 介
Introduction
Using jvmpart, you can process data in multi processes not only multi threads in java, which will give you more stable and more seperated memory...
Imaging, if you are processing a big data, you may partition it into several rangs and start multi-threads.For multi threads, you need to consider the thread safe, also it may crash sometime unexpected(e.g. OutOfMemoryException) and all the threads aborted.If you process using jvmpart, one crash never affect to the others, all JVM processes are running seperted and parallel with its own memory.
In jvmpart, there are two stuff, one called Partitioner and the other is Processor. I call its "Double-P":) When you using jvmpart to process your data in multi JVMs, you just need to implement "Double-P".The partitioner is on duty to partition your data as parameters, and decide how man