-
Notifications
You must be signed in to change notification settings - Fork 76
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
shared memory for multiple processes on same machine. #8
Comments
Not without re-architecting a few parts of libpostal. In any case, reducing memory should be relatively easy to accomplish at the application level by designating one process per machine to load libpostal and communicate with other processes through a named pipe, a TCP socket, something like ZeroMQ, Redis, etc. |
is it possible to share the libpostal memory between two different nodejs processes calling
require('node-postal')
on the same machine?calling
require('node-postal')
uses a fair chunk of RAM so having two different services on the same machine using node-postal consumes more RAM than maybe it needs to?I'm assuming that the memory is read-only so would it be possible to share that memory between processes?
The text was updated successfully, but these errors were encountered: