HackerTrans
TopNewTrendsCommentsPastAskShowJobs

freels

no profile record

Submissions

Behind Monty Hall's Doors: Puzzle, Debate and Answer? (1991)

nytimes.com
1 points·by freels·vorig jaar·0 comments

Show HN: We added TypeScript-like schema enforcement to Fauna

docs.fauna.com
1 points·by freels·2 jaar geleden·0 comments

Supercharge Your DevOps Workflow with Fauna Schema Language and GitHub Actions

fauna.com
4 points·by freels·3 jaar geleden·0 comments

Beyond SQL: A relational database for modern applications

fauna.com
59 points·by freels·3 jaar geleden·57 comments

comments

freels
·2 jaar geleden·discuss
Thanks for the shoutout. At some point if you find yourself with some spare time you can check out our new FQL version. It's closer to JS in terms of syntax now, but still a small, relatively functional language.
freels
·2 jaar geleden·discuss
One might say uncomfortably slow.
freels
·3 jaar geleden·discuss
The NoSQL movement overstated how important the A in CAP was. Relatively few systems need _all_ nodes to be available, compared to those that benefit from strong consistency, especially those that live primarily in datacenters/the cloud.

But this strict notion of Availability (all nodes must be available), was conflated with being available at all, leading to CP systems being disfavored.

When we introduced Fauna, it took quite some time (and a Jepsen report) to convince others that building a CP system without exotic hardware was possible, and that in practice, access to multi-region strongly consistent replication is a far better availability experience than the typical single region deployment topology which is still most common today.
freels
·3 jaar geleden·discuss
I'm clearly biased, but at least in my experience, while this is technically true, you're still dealing with XML (and now JSON) shoehorned into a tuple-based context. In other words, there is still a (lossy) translation layer, it just happens to be in the RDBMS rather than in-app.

Fauna's advantage here is that this way of structuring queries is deeply integrated with the language (and underlying wire protocol) itself. For example, Fauna's response format supports returning independently iterable result sets (supported by cursor-based pagination under the hood), allowing you to lazily populate the result graph in your app based on further user interaction.
freels
·3 jaar geleden·discuss
If your current stack is working for you, that's great. The main advantages of Fauna vs say MySQL are going to be:

- Fauna is distributed and multi-region and therefore more resilient to hardware or regional outages (for example we barely noticed the last AWS us-east outage, except for the fact that it affected customer traffic to Fauna).

- You gain a lot of flexibility in terms of where and how you deploy your compute layer. Fauna works very well in concert with serverless platforms or edge-based compute like Cloudflare Workers. It's also possible to connect directly from your client/front-end, using Fauna to enforce end-user permissions.

- Even if you know SQL, it's worth checking out FQL. Simple queries in SQL are also easy in FQL, but more importantly, FQL gives you much greater control over the shape your query result, meaning you don't need an ORM to reconstruct your object graph. If you have ever used GraphQL, the experience is similar. Or you can see a few examples and comparisons with SQL on our FQL product page: https://fauna.com/fql
freels
·3 jaar geleden·discuss
Getting the best of both worlds is what we're trying to achieve with Fauna, at least for OLTP use-cases. I'd be curious to hear what challenges with you ran into with other NoSQL databases, though.
freels
·3 jaar geleden·discuss
While, making it easy (and possible in the first place) to write procedural code directly in a transaction is a core part of FQL's design, it is certainly possible to implement safe read-modify-write via FQL, it's just less efficient.
freels
·4 jaar geleden·discuss
They don’t bother and just use search: https://futurism.com/the-byte/gen-z-kids-file-systems