home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 747734273

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/461#issuecomment-747734273 https://api.github.com/repos/simonw/datasette/issues/461 747734273 MDEyOklzc3VlQ29tbWVudDc0NzczNDI3Mw== 9599 2020-12-17T22:14:46Z 2020-12-17T22:14:46Z OWNER

I've been thinking about this a bunch. For Datasette to be useful as a private repository of data (Datasette Library, #417) it's crucial that it can handle a much, much larger number of databases.

This makes me worry about how many connections (and open file handles) it makes sense to have open at one time.

I realize now that this is much less of a problem for private instances. Public instances on the internet could get traffic to any database at any time, so connections could easily get out of control. A private instance with only a few users could instead get away with only opening connections to databases in "active use".

This does however make it even more important for Datasette to maintain a cached set of metadata about the tables - which is also needed to power this feature.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
443021509  
Powered by Datasette · Queries took 1.229ms · About: github-to-sqlite