TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Select ’Hello, World’: Serverless Postgres Built for the Cloud

253 pointsby mxstbralmost 3 years ago

24 comments

Scorpiionalmost 3 years ago
Very interesting, tempted to apply to the company as this sounds very promising and fun to work on...<p>I&#x27;m curious about the business side of things, to give some context, some open source models that startups use today are:<p>1. The &quot;open core&quot; model, Gitlab being a good example. They try to split features that are open or closed&#x2F;enterprise depending on the buyer.<p>2. The AGPL model, Mongodb used to do this, today a popular example is Grafana and their collection of products.<p>3. The Apache + cloud backend model, the core being standalone working with Apache license while building a value added managed service. I think this is what Synadia is doing with NATS.<p>4. The &quot;source available&quot; model, not really open source, but worth mentioning as it&#x27;s very popular recently. Examples Mongodb, Elastic, Cochroachdb and TimescaleDB. This is often combined with open source such that some parts are open source, others source available.<p>With this as a reference Nikita, how would you explain how Neon thinks in regards to licensing and eventually building a healthy business? It&#x27;s obvious a managed database service is the money maker, but how do you think around compeditors taking the project and building managed services without or with minimal code contributions? I&#x27;m sure you guys have thought a lot about this, would be interesting to hear some thoughts and reasoning for or against different options.<p>(Note: This is not meant to be an extensive explanation of these business models just a high level overview. If I have miscategorized some company above feel free to correct me in a comment.)
评论 #31756487 未加载
andrewbarbaalmost 3 years ago
Are there plans to release an HTTP API to make it easier to use with services like Fastly Compute@Edge and Cloudflare Workers? And if so would the API be global or region specific?<p>One thing I haven&#x27;t seen with &quot;serverless&quot; databases is an easy way to dictate where data is stored. Mongo has a pretty clever mechanism in their global clusters to specify which regions&#x2F;nodes&#x2F;tags a document is stored in, and then you simply specify you want to connect to nearest cluster. Assuming your compute is only dealing with documents in the same region as the incoming request, this ends up working really well where you have a single, multi-region db, but in practice reads&#x2F;writes go to the nearest node if the data model is planned accordingly.<p>A real world example of how I am using this in Mongo today: I run automated trading software that is deployed to many AWS regions, in order to trade as close to the respective exchange as possible. I tag each order, trade, position, etc. with the exchange region that it belongs to and I get really fast reads and writes because those documents are going to the closest node in same AWS region. The big win here is this is a single cluster, so my admin dashboard can still easily just connect to one cluster and query across all of these regions without changing any application code. Of course these admin&#x2F;analytics queries are slower but absolutely worth the trade off.
评论 #31755275 未加载
评论 #31764713 未加载
metadatalmost 3 years ago
Looks like it&#x27;s already released as FOSS. Stellar!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;neondatabase&#x2F;neon" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;neondatabase&#x2F;neon</a>
评论 #31759605 未加载
agaceraalmost 3 years ago
Depending on the cost per database, a service like this could allow one to build SAAS apps with Single Tenant model [1] in a really simple and elegant way.<p>I always liked this model since it gives the best isolation and not having to code with multi-tenant in mind really simplifies development and security. But maintaing an infra for this is hard and costly.<p>[1] <a href="https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;azure&#x2F;architecture&#x2F;isv&#x2F;application-tenancy#single-tenant" rel="nofollow">https:&#x2F;&#x2F;docs.microsoft.com&#x2F;en-us&#x2F;azure&#x2F;architecture&#x2F;isv&#x2F;appl...</a>
评论 #31756535 未加载
评论 #31758195 未加载
scosmanalmost 3 years ago
Looks awesome.<p>How does the memory cache work? The architecture looks great, but so much of PG efficiency is cache hit rate. Do the pageservers have a distribution plan? Plans to add something like DynamoDB Accelerator?
评论 #31762982 未加载
uzochiapaalmost 3 years ago
Can the storage be switched from s3 to Cloudflare or R2 or Azure Blob?
评论 #31755037 未加载
nikitaalmost 3 years ago
Neon CEO here. Happy to answer any questions about Neon technology
评论 #31762437 未加载
评论 #31755405 未加载
评论 #31757179 未加载
评论 #31756671 未加载
评论 #31754607 未加载
评论 #31755279 未加载
评论 #31757834 未加载
评论 #31758293 未加载
评论 #31756618 未加载
j16sdizalmost 3 years ago
S3 is not particularly good in latency. I guess there are lots of cache on pageserver? Must be lots of engineering work to keep it robust.
评论 #31758367 未加载
ratherlongnamealmost 3 years ago
How does this compare to a traditional Postgres deployment in terms of performance? Time-to-response for queries, latency and so on.
评论 #31757467 未加载
Lightbodyalmost 3 years ago
We are using AWS Aurora (non serverless) and getting crushed by IOPS charges. We do very little caching in our app, which makes the architecture simple, but the downside is we end up relying on DB-level caching implicitly. And so when the DB instance has enough memory, IOPS are modest. But once we outgrown it, we have to scale compute up just to get more RAM or else we get destroyed on IOPS.<p>Seems like from a cost standpoint Neon does a good job of avoiding EBS entirely and thus this particular problem would be sidestepped. Is that right?
评论 #31761494 未加载
dmw_ngalmost 3 years ago
Sounds very exciting, but curious about performance. Of course there will be downsides, it would be nice if this could be characterized somehow as part of the docs or site.
评论 #31759194 未加载
gunnarmorlingalmost 3 years ago
Congrats on the launch! Does it support logical decoding plug-ins? I.e. could I use for instance Debezium for streaming changes out of Neon to Kafka etc.?
评论 #31759698 未加载
moltaralmost 3 years ago
When will it be possible to self host this? Thank you.
评论 #31759744 未加载
评论 #31759590 未加载
unravelleralmost 3 years ago
&gt;EBS volumes are very expensive, AWS throttle your throughput unless you pay for provisioned IOPs<p>How does using local SSD instead of default EBS help achieve higher throughput though? I get it&#x27;s cheaper and lower latency but I fail to see how the rebalance magic solves the throughput tradeoff for all unless they throw more ram at it.
评论 #31763000 未加载
mister_gooalmost 3 years ago
I&#x27;m not familiar with postgres or cloud architectures and I have a few dumb questions. Is the pageserver act as a page cache for s3? Does the postgres compute also have an internal cache? If so, this looks like multiple levels of memory cache connected by networks.
评论 #31755484 未加载
ledgerdevalmost 3 years ago
What sort cold start times do you hope to achieve? If it&#x27;s serverless and no cost while not using(aka scale to zero), you can&#x27;t run those containers all the time. For comparison the serverless version of sql azure takes ~50 seconds to cold start.
评论 #31760060 未加载
moltaralmost 3 years ago
Would be great to combine that with EdgeDB. Would be a dream!
评论 #31759013 未加载
melonyalmost 3 years ago
How long before we get public access? I signed up for the beta a few weeks ago but I haven&#x27;t heard back aside from having to fill in a bunch of surveys.
评论 #31759704 未加载
ksecalmost 3 years ago
So this is the PlanetScale version of Postgres?
评论 #31755068 未加载
7952almost 3 years ago
Looks cool!. Any support for PostGIS?
评论 #31756488 未加载
speedgoosealmost 3 years ago
What is the consistency model?
评论 #31758965 未加载
ranyefetalmost 3 years ago
I’m very excited about Neon, can’t wait to use it in production :)
评论 #31756549 未加载
endisneighalmost 3 years ago
How much will this cost?
评论 #31756587 未加载
allaaloealmost 3 years ago
Unbelievable! Great news, congrats!
评论 #31755099 未加载