{"action":"closed","issue":{"url":"https://api.github.com/repos/hmslincs/hmslincs/issues/389","labels_url":"https://api.github.com/repos/hmslincs/hmslincs/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/hmslincs/hmslincs/issues/389/comments","events_url":"https://api.github.com/repos/hmslincs/hmslincs/issues/389/events","html_url":"https://github.com/hmslincs/hmslincs/issues/389","id":107297134,"number":389,"title":"db: dataset result downloads take a long time","user":{"login":"seanderickson","id":1074001,"avatar_url":"https://avatars.githubusercontent.com/u/1074001?v=3","gravatar_id":"","url":"https://api.github.com/users/seanderickson","html_url":"https://github.com/seanderickson","followers_url":"https://api.github.com/users/seanderickson/followers","following_url":"https://api.github.com/users/seanderickson/following{/other_user}","gists_url":"https://api.github.com/users/seanderickson/gists{/gist_id}","starred_url":"https://api.github.com/users/seanderickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanderickson/subscriptions","organizations_url":"https://api.github.com/users/seanderickson/orgs","repos_url":"https://api.github.com/users/seanderickson/repos","events_url":"https://api.github.com/users/seanderickson/events{/privacy}","received_events_url":"https://api.github.com/users/seanderickson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-18T23:55:11Z","updated_at":"2015-10-01T21:15:01Z","closed_at":"2015-10-01T21:15:01Z","body":"* specifically, for the new 'large' dataset http://lincs.hms.harvard.edu/db/datasets/20236/results\r\n* the process could be sped up, I believe, if we wrote the output file to a temp directory on disk before streaming through the HTTP response: here https://github.com/hmslincs/hmslincs/blob/master/django/db/views.py#L2371\r\n* also, caching the download could be useful "}}