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.

Show HN: Xata, serverless database on top of PostgreSQL and Elasticsearch

47 pointsby kvch_over 2 years ago
Hi!<p>Xata was on HackerNews once before (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28590816" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28590816</a>) a bit over a year ago, when we were at the beginning of our development. We&#x27;ve promised we&#x27;re going to do a Show HN page when we come out of Private Beta, and this just happened today.<p>Xata is a product in the serverless database space. We know that the space is fairly crowded now, with lots of great companies started recently. We&#x27;re happy to see a fresh wave of database products, that are focused more on the developer experience, rather than a race to the bottom on performance and cost.<p>We are part of this wave, but we also think our offering is quite differentiated:<p>- First, out of all the options out there, we&#x27;re aiming to be the easiest to get started with and the easiest to use. We are cloud-only and our product feels more like a SaaS-like experience than an IaaS experience. If you&#x27;ve hacked together an app with data stored in Airtable or GitHub, you should try Xata next time. It&#x27;s just as easy to use but has constraints, data integrity, type-safe clients, etc.<p>- We offer functionality from multiple data stores. Today, the source of truth for the data is in PostgreSQL and we also replicate it in Elasticsearch. This means that we can offer free-text-search and aggregation functionality that goes beyond what&#x27;s possible in PostgreSQL. In the future, we&#x27;ll add more functionality around in-memory caching, queues, etc, so all data patterns that you need are available via a single, serverless, consistent API. This sounds complex (and it is), but the complexity is entirely on our side. Your application can just reap the benefits.<p>- It is vertically integrated and focused on developer workflows: we provide a nice web UI, a TypeScript&#x2F;JavaScript SDK, and VS Code extension, all working together with minimal friction. The TypeScript SDK is somewhat similar with Prisma, because it gives you type safety for both the parameters and the return types. However, it is different because it is a pure-TypeScript implementation, which means it is more lightweight and can run in Cloudflare Workers, Deno Deploy, etc.<p>Some more links, if you want to dig into the details:<p>- For examples of the API, see our API Guide: <a href="https:&#x2F;&#x2F;xata.io&#x2F;docs&#x2F;api-guide&#x2F;insert" rel="nofollow">https:&#x2F;&#x2F;xata.io&#x2F;docs&#x2F;api-guide&#x2F;insert</a><p>- For technical details about the inner workings of Xata, see our fairly long How it Works guide: <a href="https:&#x2F;&#x2F;xata.io&#x2F;docs&#x2F;intro&#x2F;how-it-works" rel="nofollow">https:&#x2F;&#x2F;xata.io&#x2F;docs&#x2F;intro&#x2F;how-it-works</a><p>- We think this approach is new and gave it a name: Serverless Data Platform, which is explained here: <a href="https:&#x2F;&#x2F;xata.io&#x2F;docs&#x2F;intro&#x2F;serverless-data-platfrom" rel="nofollow">https:&#x2F;&#x2F;xata.io&#x2F;docs&#x2F;intro&#x2F;serverless-data-platfrom</a><p>- For a high-level overview of the features available, see: <a href="https:&#x2F;&#x2F;xata.io&#x2F;features" rel="nofollow">https:&#x2F;&#x2F;xata.io&#x2F;features</a><p>We would really love your feedback!

3 comments

rangunaover 2 years ago
This looks awesome!<p>I&#x27;m going to put this on my list of serverless sql DBs alongside neon and cockroach for sure.<p>Although I&#x27;m a bit bummed out because all sql syntax has been striped out, which makes sense, since we are no longer dealing with just sql here.<p>I got one question though, I see the api calls for migrations, but is there a step by step guide on how we can actually do a migration?
评论 #33432964 未加载
rangunaover 2 years ago
@tudorg sorry to ask another question after so long, but is there support for stored procedures and triggers?
subnub46over 2 years ago
Differentiated by being a rip off of Airtable or PlanetScale and Neon?
评论 #33436912 未加载