{"html_url": "https://github.com/simonw/datasette/issues/285#issuecomment-392297508", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/285", "id": 392297508, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MjI5NzUwOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-27T00:53:35Z", "updated_at": "2018-05-27T00:53:35Z", "author_association": "OWNER", "body": "Documentation: http://datasette.readthedocs.io/en/latest/config.html#num-sql-threads", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 326189744, "label": "num_threads and cache_max_age should be --config options"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/285#issuecomment-392297392", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/285", "id": 392297392, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MjI5NzM5Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-27T00:50:27Z", "updated_at": "2018-05-27T00:50:27Z", "author_association": "OWNER", "body": "I ran a very rough micro-benchmark on the new `num_sql_threads` config option.\r\n\r\n datasette --config num_sql_threads:1 fivethirtyeight.db\r\n\r\nThen\r\n\r\n ab -n 100 -c 10 'http://127.0.0.1:8011/fivethirtyeight-2628db9/twitter-ratio%2Fsenators'\r\n\r\n| Number of threads | Requests/second |\r\n|---|---|\r\n| 1 | 4.57 |\r\n| 3 | 9.77 |\r\n| 10 | 13.53 |\r\n| 20 | 15.24 \r\n| 50 | 8.21 | \r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 326189744, "label": "num_threads and cache_max_age should be --config options"}, "performed_via_github_app": null}