Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Libpostal as child process #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

missinglink
Copy link
Member

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 missinglink force-pushed the libpostal_child_process branch from d91a0ed to 3eca6ea Compare March 11, 2020 14:14
@missinglink missinglink force-pushed the libpostal_child_process branch from 3eca6ea to 39d4dc7 Compare March 11, 2020 14:15
@orangejulius
Copy link
Member

Interesting! Does this have any advantages over using HTTP?

@missinglink
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants