{"html_url": "https://github.com/simonw/datasette/issues/899#issuecomment-667430790", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/899", "id": 667430790, "node_id": "MDEyOklzc3VlQ29tbWVudDY2NzQzMDc5MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-07-31T23:54:40Z", "updated_at": "2020-07-31T23:54:40Z", "author_association": "OWNER", "body": "There's no mechanism that can do this at the moment.\r\n\r\nYou could absolutely support this with a plugin, probably using the `asgi_wrapper` plugin hook. There's an existing package at https://pypi.org/project/asgi-ratelimit/ which may be usable for this - it may even be possible to configure that using https://github.com/simonw/datasette-configure-asgi rather than using it to write a custom plugin.\r\n\r\nUsing a separate revers proxy would also be a good way to solve this. It depends which option would work best in your environment.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 660827546, "label": "How to setup a request limit per user"}, "performed_via_github_app": null}