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

Multithreading #17

Open
frbl opened this issue Sep 7, 2015 · 0 comments
Open

Multithreading #17

frbl opened this issue Sep 7, 2015 · 0 comments
Milestone

Comments

@frbl
Copy link
Contributor

frbl commented Sep 7, 2015

Currently, all calls to the external services are done sequentially. If a user would have both a fitbit and a google fit account, this can easily result into 8 calls to the two services. It could be much faster if these calls could be done asynchronously, e.g.

Thread.new do
    data[:activities] = data_aggregator.activities(from, to)
end

although using a library for this is preferred (e.g. sidekiq)

@frbl frbl added this to the Icebox milestone Sep 7, 2015
@frbl frbl changed the title Mutlithreading Multithreading Sep 7, 2015
@frbl frbl modified the milestones: Icebox, Inbox Oct 7, 2015
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

1 participant