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.

Build a serverless app with a serverless database

88 pointsby evanweaverover 8 years ago

14 comments

endymi0nover 8 years ago
2018 will be so awesome when apps start to become clientless as well...
评论 #13611504 未加载
评论 #13611553 未加载
ge96over 8 years ago
I still don&#x27;t get how you can store something without putting it anywhere. It&#x27;s just &quot;in transient&quot; like electricity in a superconductor closed coil? hahaha<p>Not doubting it I just don&#x27;t understand. Unless you&#x27;re storing through &quot;cache&quot; client-side or direct RAM I don&#x27;t know.
评论 #13610469 未加载
评论 #13610377 未加载
evanweaverover 8 years ago
In case you are wondering what fauna is in general, it&#x27;s an object-relational, temporal, geographically distributed, strongly consistent, multi-tenant, QoS-managed operational database. It&#x27;s implemented on the JVM and queried via type-safe embedded DSLs like LINQ.
评论 #13611054 未加载
评论 #13610925 未加载
评论 #13610243 未加载
marknadalover 8 years ago
Somebody else asked this, but the answer got distracted onto (reasonably so) the CAP Theorem.<p>What is the difference between Fauna and DynamoDB? Especially since the article swaps them out (and explains the API differences).<p>DynamoDB is going to be having a replica you can read from within physical milliseconds of your lambda function (serverless is such a bad name, makes me think of P2P, anyways...) while it seems like Fauna is gonna have to make network calls out to your service...<p>Which when you pay per time with lambda, and you want lambda functions to be fast anyways, I don&#x27;t see the point of Fauna? Note: I&#x27;m not saying Fauna is bad, it seems like a cool idea, but I&#x27;m not understanding how it is a superior alternative.<p>So lets say you don&#x27;t want to pay for DynamoDB, it still seems like you&#x27;d be better off running something like a pure NodeJS database like Parse&#x27;s open source server or <a href="https:&#x2F;&#x2F;github.com&#x2F;amark&#x2F;gun" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;amark&#x2F;gun</a> , either inside the lambda function directly or connecting to it (since it&#x27;ll be on a nearby machine in AWS)?
评论 #13612153 未加载
simplifyover 8 years ago
What&#x27;s the difference between &quot;serverless&quot; and &quot;cloud&quot;?
评论 #13610762 未加载
评论 #13610592 未加载
评论 #13610609 未加载
评论 #13610603 未加载
falcolasover 8 years ago
What&#x27;s the difference between this and AWS&#x27; DynamoDB, or Aurora if you prefer RDBMS? A HTTP endpoint as the DB API? Seems like a lot of extra overhead, unless you&#x27;re hosting a &quot;client-only&quot; webapp (which would previously have used Firebase, IIRC).<p>Also, this confuses me:<p>&gt; FaunaDB can tolerate the loss of a minority of physical datacenters in a cluster without interruption. According to the CAP theorem, FaunaDB is a CP system.<p>CP means that consistency is favored over availability, yet &quot;without interruption&quot; tells me they favor availability over consistency during a partition.
评论 #13610858 未加载
评论 #13610883 未加载
评论 #13611736 未加载
评论 #13611737 未加载
jchrisaover 8 years ago
If you want to skip directly to running code, these instructions (linked from the article) should get you to hello world. <a href="https:&#x2F;&#x2F;github.com&#x2F;fauna&#x2F;serverless-crud#installation" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fauna&#x2F;serverless-crud#installation</a>
RubyPinchover 8 years ago
I really wonder what possesses people to use pullquotes<p><pre><code> WHAT POSSESSES PEOPLE TO USE PULLQUOTES </code></pre> Its like they don&#x27;t trust you to read a couple of sentences or something
评论 #13610396 未加载
评论 #13610854 未加载
评论 #13610618 未加载
Gysover 8 years ago
I understood that Lamda just freezes the code between calls. So any connection to a database just continues when the next call comes in. Only problem might be the server time-out for the connection if the time between calls is longer.<p>I never tried (yet) but if I need something like Fauna then my assumption was wrong ?
poweraover 8 years ago
This is a prime example of where &quot;serverless&quot; means &quot;someone else&#x27;s server&quot;.
评论 #13610850 未加载
mankash666over 8 years ago
Is this DB ACID compliant? This is a major omission from the article, as I was considering this as a replacemnt for PostGres SQL As-A-Service offerings.
评论 #13611713 未加载
评论 #13611714 未加载
nathancahillover 8 years ago
Sounds awfully like a server to me.
brilliantcodeover 8 years ago
I was initially overly excited by AWS Lambda + API Gateway but now looking at the costs it&#x27;s <i>cheaper</i> and less overhead to just run a highly available boxes.<p>For large organizations, I can see the benefit of moving to serverless particularly doing away with server ops for more slower and less frequent tasks..<p>but for fast response and cost effectiveness, unless AWS Lambda dramatically reduces costs to match a $5 &#x2F; month digitalocean instance that will respond instantly and can take quite a beating for lighter requests, I&#x27;d be more wary-AWS bills can rack up very fast.
评论 #13610958 未加载
评论 #13611260 未加载
评论 #13610634 未加载
GiorgioGover 8 years ago
Meh - led by a couple of ex-Twitter infrastructure guys. No thanks.
评论 #13610342 未加载