{"by":"kiwicopple","descendants":61,"id":40514089,"kids":[40516659,40516013,40517465,40520107,40519430,40519453,40524778,40517418,40521683,40519153,40515764,40516090,40516704,40516811,40514090],"score":159,"text":"This is a MVP for Serverless Postgres.<p>1&#x2F; It uses Fly.io[0], which can automatically pause your database after all connections are released (and start it again when new connections join).<p>2&#x2F; It uses Oriole[1], a Postgres extension with experimental support for S3 &#x2F; Decoupled Storage[2].<p>3&#x2F; It uses Tigris[3], Globally Distributed S3-Compatible Object Storage. Oriole will automatically backup the data to Tigris using background workers.<p>I wouldn&#x27;t recommend using this in production, but I think it&#x27;s in a good spot to provoke some discussion and ideas. You can get it running on your own machine with the steps provided - connecting to a remote Tigris bucket (can also be an AWS S3 bucket).<p>[0] <a href=\"https:&#x2F;&#x2F;fly.io\">https:&#x2F;&#x2F;fly.io</a><p>[1] <a href=\"https:&#x2F;&#x2F;www.orioledb.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;www.orioledb.com&#x2F;</a><p>[2] Oriole Experiemental s3: <a href=\"https:&#x2F;&#x2F;www.orioledb.com&#x2F;docs&#x2F;usage&#x2F;decoupled-storage\" rel=\"nofollow\">https:&#x2F;&#x2F;www.orioledb.com&#x2F;docs&#x2F;usage&#x2F;decoupled-storage</a><p>[3] Tigris: <a href=\"https:&#x2F;&#x2F;www.tigrisdata.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;www.tigrisdata.com&#x2F;</a>","time":1717001659,"title":"Show HN: Serverless Postgres","type":"story","url":"https://github.com/kiwicopple/serverless-postgres"}