Live data from Hacker News

SurrealDB: Distributed document-graph database for the realtime web

github.com

21–30 of 74 posts

Re: SurrealDB: Distributed document-graph database for the realtime web

#22
The websocket aspect they are working on is actually the only feature that really interests me. Direct notification from the DB on updates is insanely useful. Think of how easy it would be to build a real time app like a chat. No more long polling. No more websocket layer that polls the database.

Re: SurrealDB: Distributed document-graph database for the realtime web

#23
post #18

I've been down this road multiple times with Arango DB, and Orient DB and IDK how many others. Doing too much of everything usually means not good at everything. I will stick to doing one job good, and battle tested tools.

Indeed. At this point if I'm building an app, I don't want surprises in the technology side. If I hit a problem, I'm more likely to find a solution had I used Postgres than had I used the database du jour, SurrealDB in this case. I'd much rather go through composing building blocks together (Apollo GraphQL with Postgres) than depending on one tool to do them all well, because if one part sucks, at least I can swap it out.

Keep your technology boring and make your app interesting, as they say [0]. Given only three innovation tokens, I don't want to burn all my tokens on something the end user won't even see.

[0] https://mcfunley.com/choose-boring-technology

Re: SurrealDB: Distributed document-graph database for the realtime web

#24

The websocket aspect they are working on is actually the only feature that really interests me. Direct notification from the DB on updates is insanely useful. Think of how easy it would be to build a real time app like a chat. No more long polling. No more websocket layer that polls the database.

I like this project ... but the functionality you are describing sounds like something that Postgres LISTEN/NOTIFY offers.

Re: SurrealDB: Distributed document-graph database for the realtime web

#25
Noob here - how do people usually assess DBs to one another? Why should I use this say over DynamoDB?

Given concrete requirements or use cases it would be easier to compare given DB solutions, but when people are scoping something for say a new project, or a personal project (flexible requirements / motivation), how does that usually go down? If anyone has first hand experience on this :)

Re: SurrealDB: Distributed document-graph database for the realtime web

#26

This is really perfect ORM layer i'm looking for (mostly because of scalability and embeded JS capability). Thanks! Wish postgresql could push embeded JS to the extreme.

To be honest I haven't used it, but I've extensively used pl/pgsql and a little pl/ruby, and know that https://plv8.github.io/ exists - it might be what you're looking for and it's on my list of things to play with

Re: SurrealDB: Distributed document-graph database for the realtime web

#27
Thanks for posting this dragonsh! I am Jaime, Founder of SurrealDB with my brother Tobie. Just the two of us at the moment but we have some some really big things planned for the database. Any feedback is really welcome!

More info and can be found on a previous Hacker News post here https://news.ycombinator.com/item?id=32550543

Fireship has made two fantastic videos about SurrealDB https://www.youtube.com/watch?v=C7WFwgDRStM https://www.youtube.com/watch?v=LCAIkx1p1k0

Alternatively join us on Discord to ask any questions you have on our database https://surrealdb.com/community

Thank you and have a great day/night!

Re: SurrealDB: Distributed document-graph database for the realtime web

#28
post #18

I've been down this road multiple times with Arango DB, and Orient DB and IDK how many others. Doing too much of everything usually means not good at everything. I will stick to doing one job good, and battle tested tools.

How has your experience been with arango? I haven't had any major issues with it. It runs exceptionally well in kubernetes too.

Re: SurrealDB: Distributed document-graph database for the realtime web

#29

The websocket aspect they are working on is actually the only feature that really interests me. Direct notification from the DB on updates is insanely useful. Think of how easy it would be to build a real time app like a chat. No more long polling. No more websocket layer that polls the database.

Stores like Redis and message queues have had pubsub updates for ages…
Post reply on HN