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

slow results in docker #64

Open
philiptolk opened this issue May 2, 2019 · 2 comments
Open

slow results in docker #64

philiptolk opened this issue May 2, 2019 · 2 comments

Comments

@philiptolk
Copy link

I am not sure if this is the right way to do this but I currently created a dockerfile with a web api which receives input writes it to a file.txt then calls parse.sh file.txt however this takes 8 seconds on a 1 cpu 2 gb memory on aws machine, their must be a better way! :)

@philiptolk
Copy link
Author

Is their a way to keep the parser loaded into memory and then invoke the parser while running?

@dmcc
Copy link
Member

dmcc commented May 9, 2019

You might want to try the Python interface. It would be pretty easy to build a server around this (though note that the parser is not thread-safe).

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

No branches or pull requests

2 participants