SurrealDB wants to be the future of SQL

Out with the old geezer SQL. In the new way to use a database.

Move aside SQL!

$> surreal start memory
  • Authorization can be bound to records in the database, and can be scoped to tables, rows and fields, and actions (like updates or deletions).
  • It exposes an HTTP REST endpoint and WebSockets (currently not documented but I can infer how it works nonetheless).
  • Combine that with a frontend app and a browser can directly query the database without risks.
  • You can define “events” on tables, that can see the value before and after the change of a row when a condition triggers it.
  • There is a lot of functions available at query time, from simple time and validation to geolocation and HTTP requests for easy Webhooks. You can even embed Javascript functions inside any statement.
  • Let me repeat that: You can even embed Javascript functions inside any statement.

1. It’s not battle-tested

2. There is no migration path

3. There are no performance metrics

4. Tools are not there, yet

SurrealDB is interesting, but still miles ahead

  • Tools for common frameworks
  • Migration paths from old SQL databases
  • Same or better performance than standard SQL engines.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Italo Baeza Cabrera

Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor. https://italobc.com