News for hackers. Stuff that matters.
Re:Serverless SQLite by picardo on Wednesday January 20, 2021 @08:06AM (#25845933)
Thanks for making Datasette! I've been using it to build a project to make US ranked choice election results more accessible. It's very intuitive and easy to use. The main difficulty for me is how to get around the limitation that the sqlite files have to be colocated on the same server. These datasets can get pretty large, and I can't host them on Github, and since I can't put the datasette db on an S3 bucket, I've been exploring mounting AWS Elastic File System to the Docker container. Is there a better way?
Re:Serverless SQLite by simonw on Sunday January 24, 2021 @10:45AM (#25892925)
Google Cloud Run works well with database files up to a couple of GBs. Beyond that the best solution at the moment is to run a VPS - I've had good results with DigitalOcean droplets.
Re:Serverless SQLite by justsomeuser on Wednesday January 20, 2021 @08:52AM (#25846408)
Why don't you place them onto an AWS disk and attach it to the VM instance running Datasette?
Re:Serverless SQLite by picardo on Wednesday January 20, 2021 @09:04AM (#25846541)
Yep, that's probably what I'll end up doing.
Re:Serverless SQLite by sorenbs on Wednesday January 20, 2021 @08:39AM (#25846259)
Hi Picardo!

We are toying around with the idea of launching a Cloud SQLite product targeting this exact use case.

How large are your data sets?

Would you be interested in a quick call to discuss your needs in more detail?

Re:Serverless SQLite by lasean on Wednesday January 20, 2021 @07:17PM (#25853695)
FYI, I'm using Google Cloud Run for this at the moment. Scales to zero, issues the SSL cert and provides the HTTPS endpoint. That's what I'd be benchmarking your service against. Let me know if you actually do something in this space.
Re:Serverless SQLite by picardo on Wednesday January 20, 2021 @09:01AM (#25846505)
hey, thanks. That sounds interesting, but this is a volunteer project. I'm donating my time, so I don't think I can justify a service like that right now. The datasets are around 200MB each, just over the 100MB limit of Github.
Re:Serverless SQLite by sorenbs on Wednesday January 20, 2021 @09:44AM (#25846981)
Thanks for the details!

We would price such a service to be competitive with the obvious alternative of using a long-running VPS or ec2 instance.