interpolation icon indicating copy to clipboard operation
interpolation copied to clipboard

Run Libpostal as child process

Open missinglink opened this issue 4 years ago • 2 comments

This is very much inspired by the PR to use libpostal over an HTTP API and the great thing is it uses the same async/await API. So all methods are interchangeable, be it sync, async, child_process or http.

This PR moves the loading of libpostal to a child module and creates a message bus that can be shared in a multi-threaded environment.

missinglink avatar Mar 11 '20 14:03 missinglink

Interesting! Does this have any advantages over using HTTP?

orangejulius avatar Mar 11 '20 16:03 orangejulius

Yet to be determined, it certainly wasn't the silver bullet I was hoping it would be.

missinglink avatar Mar 11 '20 20:03 missinglink