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

Make use of multiple cores on user’s machine (currently tool lacks such features). #57

Open
cvvergara opened this issue May 24, 2015 · 0 comments

Comments

@cvvergara
Copy link
Member

To be able to use multiple cores, probably using threads might do the trick, you might want to see how boost::threads works.
http://www.boost.org/doc/libs/1_58_0/doc/html/thread.html
Here are some examples of how to use them:
https://github.com/boostorg/thread/tree/master/example

One thread can be processing data (producer), and another thread (consumer) can be uploading to the database the data that has being finished processing.
So from the examples, you might want to have a more deeper look to the producer-consumer examples.
Difficulty: Unknown, probably from medium to high
Urgent: not so urgent, but if the code is designed in such a way that the two tasks can be performed one after the other, then probably the implementation of making the 2 tasks with threads will be easier.

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

No branches or pull requests

2 participants