[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"project-40514089":3},{"id":4,"name":5,"line":5,"line_source":6,"title":7,"url":8,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":43,"post_text":44,"what":45,"said":77,"maker_in_thread":157,"shape":169,"grid":174,"attempts":336,"same_week":337,"maker_shows":328,"maker_hidden":367,"reader_version":368,"card":369},"40514089","Serverless Postgres","title","Show HN: Serverless Postgres","https:\u002F\u002Fgithub.com\u002Fkiwicopple\u002Fserverless-postgres","github.com","kiwicopple",1717001659,2024,159,61,527,3515,15,"notable","data","serverless postgres","other",[20,23,24,25,26],"postgres","scale to zero","s3 storage","orioledb","curious",-0.12,{"positive":30,"neutral":31,"mixed":32,"critical":33},3,17,0,8,28,{"idea":36,"pricing":38,"execution":40,"design":41,"performance":42},{"positive":30,"critical":37},5,{"positive":32,"critical":39},1,{"positive":32,"critical":39},{"positive":32,"critical":32},{"positive":32,"critical":39},[39,30,39,30,32,39,32,30,32,32,32,32,32,30,30,39,32,32,32,30,30,32,39,32,30,39,32,39,32,32,32,32,30,32,37,39,30,37,37,32],"This is a MVP for Serverless Postgres.\n\n1\u002F It uses Fly.io[0], which can automatically pause your database after all connections are released (and start it again when new connections join).\n\n2\u002F It uses Oriole[1], a Postgres extension with experimental support for S3 \u002F Decoupled Storage[2].\n\n3\u002F It uses Tigris[3], Globally Distributed S3-Compatible Object Storage. Oriole will automatically backup the data to Tigris using background workers.\n\nI wouldn't recommend using this in production, but I think it's in a good spot to provoke some discussion and ideas. You can get it running on your own machi",{"problem":46,"audience":52,"pricing":52,"motivation":53,"time_to_build":52,"stack":57,"openness":74,"stage":75,"team_size":76},{"value":47,"source":48,"evidence":49},"Running Postgres that scales to zero and stores data in object storage","maker",[50],{"id":51},"post",null,{"value":54,"source":48,"evidence":55},"Provoke discussion and ideas with an MVP; not for production",[56],{"id":51},[58,62,66,70],{"value":59,"source":48,"evidence":60},"Fly.io",[61],{"id":51},{"value":63,"source":48,"evidence":64},"OrioleDB",[65],{"id":51},{"value":67,"source":48,"evidence":68},"Tigris",[69],{"id":51},{"value":71,"source":48,"evidence":72},"Postgres",[73],{"id":51},"open_source","prototype","unknown",{"praise":78,"objections":94,"requests":117,"questions":118,"alternatives":133},[79,87],{"value":80,"source":81,"evidence":82},"Nifty idea conceptually","commenter",[83],{"id":84,"by":85,"text":86},"40516659","justinclift","This seems more like \"PostgreSQL using remote storage for the database\" rather than \"Serverless\"? It seems like it still needs memory\u002Fcpu resources locally (sized properly) to…",{"value":88,"source":81,"evidence":89},"Good for infrequent access and cheap database-per-tenant",[90],{"id":91,"by":92,"text":93},"40518141","AgharaShyam","In addition to infrequent access type use-cases, the ability to trivially create new DBs without incurring significant costs is the killer feature. This makes it feasible to…",[95,106,110],{"value":96,"source":81,"evidence":97},"Not truly serverless by common definition",[98,102],{"id":99,"by":100,"text":101},"40520553","chipdart","> I guess the term “Serverless” is pretty ambiguous, (...) I don't this is the case though. The core principle of serverless computing is that a cloud provider supplies a managed…",{"id":103,"by":104,"text":105},"40521552","davedx","I use Fly.io, it’s not serverless at all, it’s a PaaS that manages your servers for you via its own automations and cli. Fly also already supports postgres (I use this too) so…",{"value":107,"source":81,"evidence":108},"Risk of large egress bills on AWS",[109],{"id":84,"by":85,"text":86},{"value":111,"source":81,"evidence":112},"Single node only; not horizontally scalable",[113],{"id":114,"by":115,"text":116},"40525461","yencabulator","Neon has a consensus cluster of >=3 WAL storage servers using local storage that is not scale-to-zero. Only with multitenancy can you amortize it to scale-down-to-not-much. It's…",[],[119,126],{"value":120,"source":81,"evidence":121},"How does it compare to Neon?",[122],{"id":123,"by":124,"text":125},"40516013","sea-gold","How does this compare to Neon[1], Crunchy PostgreSQL for Kubernetes[2], and Citus[3]? [1] https:\u002F\u002Fneon.tech \u002F https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fneon [2]…",{"value":127,"source":81,"evidence":128},"Can it run on AWS Lambda?",[129],{"id":130,"by":131,"text":132},"40519430","irjustin","Can this run on AWS Lambda with a EBS Blockstore? Mentally this is the cheapest w\u002Fo all those egress costs, but I'm not sure. Combine that with we don't like managing resources…",[134,142,146,150],{"value":135,"source":81,"evidence":136},"Neon",[137,138],{"id":123,"by":124,"text":125},{"id":139,"by":140,"text":141},"40520241","paulddraper","I think the only relevant comparison here is Neon.",{"value":143,"source":81,"evidence":144},"Crunchy Postgres for Kubernetes",[145],{"id":123,"by":124,"text":125},{"value":147,"source":81,"evidence":148},"Citus",[149],{"id":123,"by":124,"text":125},{"value":151,"source":81,"evidence":152},"PGlite",[153],{"id":154,"by":155,"text":156},"40520363","avinassh","check pglite project: https:\u002F\u002Fgithub.com\u002Felectric-sql\u002Fpglite",{"comments":158,"answered":158,"key":159},4,[160,163,166],{"id":161,"text":162},"40516860","I guess the term “Serverless” is pretty ambiguous, but since this originated from AWS Lambda (firecracker) and that’s the same primitive as Fly.io then it seemed fitting. You can…",{"id":164,"text":165},"40519833","Since this is dockerized, the best AWS primitive would be Fargate or ECS As far as I know you can’t mount a file system like EBS to Lambda, and tbh even if you could the…",{"id":167,"text":168},"40515865","The “scale to zero” aspects mean that it’s useful for very infrequently accessed applications Once I have experimented with Tigris’ global data replication then it could be…",{"commenters":170,"max_depth":171,"maker_replies":158,"first_comment_mins":172,"lifespan_hours":173},39,6,145,150,[175,177,179,182,183,187,191,194,195,198,200,202,205,207,211,213,216,218,220,223,224,227,230,231,233,237,240,243,245,247,249,251,254,256,259,262,265,268,271,274,278,281,284,287,291,294,296,298,299,303,306,307,309,312,315,319,322,326,329,331,333],[84,32,39,176,85,32],"project\u002Fcritical\u002Fidea",[161,32,32,178,10,39],"maker\u002Fneutral\u002Fidea",[180,32,30,181,85,32],"40517075","project\u002Fneutral\u002Fpricing",[99,32,39,176,100,32],[184,32,32,185,186,32],"40520696","commenter\u002Fneutral\u002Fnone","biorach",[188,32,30,189,190,32],"40525061","project\u002Fneutral\u002Fidea","mrkurt",[192,32,32,185,193,32],"40530824","inhumantsar",[103,32,39,176,104,32],[196,32,32,185,197,32],"40521867","wolletd",[199,32,32,185,104,32],"40522033",[201,32,30,189,190,32],"40525069",[203,32,30,189,204,32],"40519112","rohan_",[206,32,32,185,85,32],"40520570",[208,32,32,209,210,32],"40522755","other\u002Fneutral\u002Fnone","ssousa666",[212,32,32,185,100,32],"40520583",[214,32,32,185,215,32],"40520794","smt88",[217,32,32,185,100,32],"40521645",[219,32,32,185,215,32],"40524324",[221,32,32,185,222,32],"40533043","joshstrange",[123,39,30,189,124,32],[225,39,30,189,226,32],"40516177","craigkerstiens",[228,39,30,189,229,32],"40516790","scirob",[139,39,30,189,140,32],[114,39,39,232,115,32],"project\u002Fcritical\u002Fexecution",[234,235,32,209,236,32],"40517465",2,"tmountain",[238,235,32,209,239,32],"40518206","sgarland",[241,30,32,209,242,32],"40520107","fulafel",[244,30,32,209,222,32],"40533061",[130,158,30,246,131,32],"project\u002Fneutral\u002Fexecution",[164,158,32,248,10,39],"maker\u002Fneutral\u002Fexecution",[250,158,30,246,131,32],"40520138",[252,158,30,253,242,32],"40520094","project\u002Fneutral\u002Fdesign",[255,158,32,185,131,32],"40520128",[257,158,39,258,140,32],"40520248","project\u002Fcritical\u002Fperformance",[260,158,30,261,242,32],"40520624","project\u002Fneutral\u002Fperformance",[263,37,32,209,264,32],"40519453","nijuashi",[266,171,30,189,267,32],"40524778","broner",[269,171,30,189,270,32],"40533160","ajc23",[272,171,39,273,267,32],"40579846","project\u002Fcritical\u002Fpricing",[275,276,32,209,277,32],"40517418",7,"BurnGpuBurn",[279,276,32,185,280,32],"40517739","INTPenis",[282,33,39,176,283,32],"40521683","dzan",[285,33,32,185,286,32],"40529757","ovaistariq",[288,289,32,209,290,32],"40519153",9,"xarope",[292,289,32,209,293,32],"40519878","sverhagen",[295,289,32,209,290,32],"40520069",[297,289,32,209,190,32],"40525113",[154,289,32,209,155,32],[300,301,30,189,302,32],"40515764",10,"thomasfromcdnjs",[304,301,32,209,305,32],"40515813","cowboylowrez",[167,301,32,178,10,39],[91,301,37,308,92,32],"project\u002Fpositive\u002Fidea",[310,301,30,189,311,32],"40517894","internet101010",[313,301,39,176,314,32],"40518186","slt2021",[316,317,30,246,318,32],"40516090",11,"canadiantim",[320,317,32,321,10,39],"40517058","maker\u002Fneutral\u002Fnone",[323,324,37,308,325,32],"40516704",12,"victorbjorklund",[327,328,37,308,229,32],"40516811",13,[330,328,32,209,229,32],"40516842",[332,328,32,209,229,32],"40516862",[334,328,32,185,335,32],"40517611","re-thc",[],[338,342,347,352,357,362],{"id":339,"name":340,"points":341,"category":19},"40456236","Dataherald",464,{"id":343,"name":344,"points":345,"category":346},"40501021","Grooved",452,"hardware",{"id":348,"name":349,"points":350,"category":351},"40455478","PaperTalk",319,"productivity",{"id":353,"name":354,"points":355,"category":356},"40502956","Openkoda",318,"web_saas",{"id":358,"name":359,"points":360,"category":361},"40469592","Spot",309,"dev_tools",{"id":363,"name":364,"points":365,"category":366},"40456959","Porter Cloud",258,"infrastructure",false,"v2",{"id":370,"name":5,"line":5,"ai":367,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":28,"top":17,"kw":371,"maker":10,"domain":9,"tier":18,"attempts":32,"strip":372,"url":8,"mix":373,"praise":80,"objection":96,"sub":20},40514089,[20,23,24,25,26],"1313010300000331000330103101000030513550",[30,31,32,33],1794036655501]