SeismicData / pyasdf

Python Interface to ASDF based on ObsPy
http://seismicdata.github.io/pyasdf/
BSD 3-Clause "New" or "Revised" License
53 stars 30 forks source link

A non master-slave partition mode in process function #32

Closed wjlei1990 closed 5 years ago

wjlei1990 commented 8 years ago

Hi Lion,

In ASDFDataSet.process(), you used the master-slave working mode. I think you introduce it mainly because of balancing the workload.

I had a discussion with @mpbl about it and we think we should also have another job partition way(the tradition and simple way), which is partition the job prior to job running. For example, if we get 1000 stations and 10 cores, every processors would take 100 and they know which 100 they would take. The advantage of doing that is:

The drawback:

What do you think? Worth adding such a method?

krischer commented 5 years ago

No activity in a while. Closing for now.