Live data from Hacker News

SurrealDB: Distributed document-graph database for the realtime web

github.com

61–70 of 74 posts

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

#61
post #7

Business source license. Free for personal or commercial use. But service providers have to pay if they offer this database as a service.

The term `FOSS` should be removed from the title

It is now removed.

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

#62

This sounds like great work; been playing with graph dbs lately and it makes things easier. I was hoping though that there would be an effortless offline component to it though; maybe I missed it but there seems to be none? We have been trying to find a replacement for couch/pouch which gives the same convenience as that combo (besides setting up the right filters and permissions, everything works automatically). I s…

+1 here. I have already seen some videos with people toying with surrealdb and it looks amazing. But I need a offline-first (local-first) solution. Recently, TinyDB was posted here at HN. I also heard of InstantDB (react only).

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

#63
cool project, reminds me a bit of arangoDB, but here even more logic can be built into SQL, allowing to develop (almost) the whole backend logic into the DB. The main problem with this kind of technology is that you move logic from established programming languages (java, C#, go, ...) to something more exotic which only a few programmers know. The other problem is lock-in, if the project dies you have to rewrite all your backend.

I wish you success though, to the point where those issues I mentioned are no longer true.

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

#64

This sounds like great work; been playing with graph dbs lately and it makes things easier. I was hoping though that there would be an effortless offline component to it though; maybe I missed it but there seems to be none? We have been trying to find a replacement for couch/pouch which gives the same convenience as that combo (besides setting up the right filters and permissions, everything works automatically). I s…

+1 here. I have already seen some videos with people toying with surrealdb and it looks amazing. But I need a offline-first (local-first) solution. Recently, TinyDB was posted here at HN. I also heard of InstantDB (react only).

Take a look at RxDB https://rxdb.info/

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

#65

This sounds like great work; been playing with graph dbs lately and it makes things easier. I was hoping though that there would be an effortless offline component to it though; maybe I missed it but there seems to be none? We have been trying to find a replacement for couch/pouch which gives the same convenience as that combo (besides setting up the right filters and permissions, everything works automatically). I s…

After many experiments we found that it makes a lot of sense to handle these things at the data access layer and not make your project depend on some special kind of data store.

Orbitjs looks interesting for this approach https://orbitjs.com/.

Not sure if there are many different tools following this model.

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

#67

Earlier quoted context omitted.

I think TiKV is pure Rust no?

TiKV is written in rust but then it depends on crates which use C and libc. Rust complements C, it is not an alternative to C, just another alternative to C++. May be 20-30 years down the line, if it stays may be enough OS and libraries are built in native Rust without C then it might displace it, but at the moment Rust depends on C.

Rust is absolutely an alternative to C. The fact that Rust currently depends on C libc on some platforms is a pure implementation detail, and I believe there is ongoing work to remove that dependency.

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

#68
post #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=C7W…

Gotta admit, for a 2 person team, the project codebase and the marketing around it (website/community) are very well done

Wish you all the best as the project grows! \m/

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

#70

Earlier quoted context omitted.

> Many,many smart people… True and if you look inside the code you can see the stated features are a result of underlying engine from those smart people (TiKV [0] in C and rust from pingcap). Surrealdb is standing on shoulders of giants at present, they are TiKV, FoundationDB and rocksdb. The feature set they mentioned mostly coming from TiKV at present. [0] https://tikv.org/

I think TiKV is pure Rust no?

It does use RocksDB which is c++. But the result would probably be less stable if that had to be Rust as well.
Post reply on HN