opentraffic / reporter

OTv2: distributed service that matches raw GPS probe data to OSMLR segments and sends anonymized speeds to Datastore
GNU Lesser General Public License v3.0
13 stars 16 forks source link

forget about using threads processes are way faster #114

Closed kevinkreiser closed 7 years ago

kevinkreiser commented 7 years ago

ok so the original code took 10m0s. ive now changed it from using threads with work queues to using processes with the work divided up into chunks per process. this runs in 1m35sec and top seems to report that the machine is actually being taxed.