joto / osmium

C++/Javascript framework for working with OSM files.
http://wiki.openstreetmap.org/wiki/Osmium
GNU General Public License v3.0
123 stars 31 forks source link

multicore #96

Closed missinglink closed 9 years ago

missinglink commented 9 years ago

heya, I've been playing with node-osmium and it seems to run on a single core. Is there a setting I'm missing or a plan to implement a multi-core architecture?

It should be relatively simple to decode the pbf headers on a single core and then send them along with a single block to be decompress and extracted on another available core?

alex85k commented 9 years ago

As far as I know, the new libosmium does exactly this: https://github.com/osmcode/libosmium

joto commented 9 years ago

This repository here is about the "old" Osmium which is single-threaded. But it seems you are using 'node-osmium' which is build on 'libosmium' a.k.a. the "new" Osmium. See https://github.com/osmcode/node-osmium/issues/30.