Emmanuel Keller retweeted
Building a SaaS app or AI agents? Give each customer or agent its own isolated database on SurrealDB Earth. Each database starts on its first query and scales to zero when idle.
Here’s how it works. 👉 sdb.li/4C8NVPk
Emmanuel Keller retweeted
Stream #38: A closer look at SurrealDB 4 teapawt.org/i/broadcasts/2BlPLYkrr…
Emmanuel Keller retweeted
In case you missed it, we took a closer look at @SurrealDB 4 and SurrealDB Earth on the stream today.
Watch it back 👇
Stream #38: A closer look at SurrealDB 4 teapawt.org/i/broadcasts/2BlPLYkrr…
Emmanuel Keller retweeted
Want to try SurrealDB Earth? One command deploys an instance, creates a token and opens a SQL shell:
surreal cloud instance sql --deploy --yes
Free to start, no card required.
Here’s the quickstart. 🔗 sdb.li/4BRjSeK
Build real-time apps for users anywhere in the world with Live Queries on @SurrealDB Earth, powered by @Cloudflare.
Try now for FREE: surrealdb.com/earth
Emmanuel Keller retweeted
What would you build with SurrealDB 4?
@tobiemh shows what you can build, with the queries and results, and what’s coming next.
A database for each customer. Memory for an AI agent. Different ways to build with @SurrealDB 4.
I’ve put together a walkthrough with real queries and what they return. 🔗 sdb.li/4k3DfLi
Emmanuel Keller retweeted
The SurrealDB Startups Programme: $5,000 in credits for Agent Memory, Earth on @Cloudflare, Cloud or Enterprise.
Plus:
- A Solutions Engineer to help design and build
- A support plan
- Launch partnering and co-promotion
Apply. 🔗 sdb.li/3UHrIXS
SurrealDB Startups Programme
Emmanuel Keller retweeted
A database for each customer. Memory for an AI agent. Different ways to build with @SurrealDB 4.
I’ve put together a walkthrough with real queries and what they return. 🔗 sdb.li/4k3DfLi
Emmanuel Keller retweeted
SurrealDB 4, SurrealDB Earth, SurrealDS, SQL drivers for JavaScript, SurrealDB Cloud CLI 1.1.0, JavaScript SDK 2.2.1 & 2.2.2, Python SDK 3.0.0, Java SDK 2.2.0, Go SDK 2.0.0, SurrealKit rc.1 supports SurrealDB 4. Still shipping.
Weekly Changelog
- SurrealDB v4: the database and memory for every agent, with PostgreSQL and MySQL SQL support
- SurrealDB Earth (beta): serverless SurrealDB on Cloudflare, with a database for each agent, user or customer
- SurrealDS, fault-tolerant distributed storage for SurrealDB Cloud Scale and Enterprise
- SQL drivers for JavaScript: @surrealdb/pg and @surrealdb/mysql, compatible with Drizzle, Kysely and Prisma
- SurrealDB Cloud CLI v1.1.0: deploy Earth instances and connect in one command
- JavaScript SDK v2.2.1 & v2.2.2, with SurrealDB v4 support
- Python SDK v3.0.0: live queries, auto-reconnect, transactions and a query builder
- Java SDK v2.2.0: RocksDB and gRPC connections, and live query diffs
- Go SDK v2.0.0, with SurrealDB v4 support
- SurrealKit rc.1 supports SurrealDB v4
- New explore pages and agent skills in SurrealDB Labs.
Emmanuel Keller retweeted
One agent is manageable. But a fleet of agents is where the hard problems start. Join us in London with @mastra on November 24 for talks and live demos on shared state, agent identity, and coordination.
Register now. 👉 sdb.li/4AgFAHC
Emmanuel Keller retweeted
This is what serverless should mean for a database. Scale up. Scale down. Zero effort.
Most databases are sized for their busiest hour and paid for every other hour too.
SurrealDB Earth is sized for this second. Its cells on @Cloudflare follow the load, from 100,000 transactions per second to zero.
Scale up. Scale down. Zero effort.
🔗 sdb.li/4sIMEu5
Emmanuel Keller retweeted
Most databases are sized for their busiest hour and paid for every other hour too.
SurrealDB Earth is sized for this second. Its cells on @Cloudflare follow the load, from 100,000 transactions per second to zero.
Scale up. Scale down. Zero effort.
🔗 sdb.li/4sIMEu5
Emmanuel Keller retweeted
Great to see @Discord embracing Rust. With memory getting more expensive and demand for faster, more efficient compute growing, we're truly entering the Rust era. 🦀
We've been early adopters of Rust since 2018 and a lot of our infra, voice tech, and even some of the current client is already Rust, the holy grail was getting the whole client there. That means Electron goes away, and so does React Native, mobile keeps native UI but shares app code with desktop via Rust. We hope to get it into testing with users soon™. (And it's not Tauri, it's GPUI, so good guess everyone.)
Alright, back to staring at the WoW Forever login screen.
Emmanuel Keller retweeted
A database for every agent, and one that scales out when it needs to. @drewonfinal shows how SurrealDB Earth reaches 10+ billion peak rows per second, fully transactional. 👇
Serverless databases have a reputation for being the small, convenient option, not the fast one. I wanted to see how far I could push that.
This week we launched @SurrealDB Earth, serverless SurrealDB on @Cloudflare. It starts when a query arrives and scales to zero when nobody is using it. So I pointed it at 5 billion rows and asked it to count them.
In a single second, it read more than 4.5 billion of them. That is over 90% of the table, more than 350 GB of data, in one second. Every number here is from a real run, not a projection.
There was no cluster to provision and nothing to size. The parallelism appeared the moment the query needed it and was gone the moment it finished. And it is the full SurrealDB engine, with ACID transactions.
It is not perfect yet. 99.6% of the work finishes fast, but the slowest 0.4% still drags the full count out to several seconds. I know why, and my target is the entire query in under 2 seconds.
Honestly, I still find it hard to believe. I am convinced this design has orders of magnitude left in it, on reads, on writes, and in places I have not talked about yet. I will be recording a video soon with much bigger numbers.
The small, convenient option just got very fast.
I am really proud of what this team has built 🌍
Emmanuel Keller retweeted
SurrealDB 4 is here. The database and memory for every agent. And with it, SurrealDB Earth. Serverless SurrealDB, built on @Cloudflare, that scales to as many agents and users as you need, wherever they are.
Start free on Earth, no card needed. 👉 sdb.li/4sHnxYH
Introducing SurrealDB 4 and SurrealDB Earth
Emmanuel Keller retweeted
Weekly Changelog
- SurrealDB v4.0.0-beta.1, the first public beta of SurrealDB 4
- SurrealDB v3.3.5
- SurrealDB CLI 1.1: install extensions separately from the database
- JavaScript SDK v2.2.0, with Standard Schema validation for run() and api()
- Agent Memory x Gradium Phonon: an open-source research agent demo
- Surform, a declarative schema language for SurrealQL, now in SurrealDB Labs
Emmanuel Keller retweeted
Two new engines at 1.0. 28.3x the point reads of RocksDB in memory, 21.5M reads a second. 7.95x on disk with synchronous durability, 6.8M reads a second.
Agent Memory live at 77.2% on BEAM, 57.1% on full marks only. Every number published.
CLI 1.0, surreal-lsp, Studio 1.9 and 1.10, LangGraph.js docs, v3.3.4.
Next week: SurrealDB 4, SurrealFS, SurrealDB Earth, and more. Still shipping.
Weekly Changelog
- New in-memory storage engine, 1.0: 28.3x the point reads of RocksDB, both in memory. 21.5M reads a second
- New persistent storage engine, 1.0: 7.95x the point reads of RocksDB with synchronous durability. 6.8M reads a second. Encryption at rest on by default
- SurrealDB Agent Memory: 77.2% on BEAM at 1M tokens, 57.1% counting only full marks. Every number published
- SurrealDB CLI 1.0: one launcher for the database, Agent Memory, Cloud, extensions, and the language server
- SurrealDB Studio: support for accountless access and Agent Memory context management
- New LangGraph.js docs for Agent Memory
- SurrealDB v3.3.4
Emmanuel Keller retweeted
SurrealDB Agent Memory is live.
Every fact keeps its source, history, and permissions.
BEAM: 77.2% headline. 57.1% strict (fully correct only).
Same strict count on every vendor with public per-question files.
Judges named. 700 answers published.
surrealdb.com/agent-memory/b…
Emmanuel Keller retweeted
Replying to @petermattis
Thanks @petermattis. Really good analysis - yes there are definitely tradeoffs alongside the benefits to our design. Like you, using RocksDB within SurrealDB meant we had to cross that C boundary all the time ... different memory allocation, the inability to use blocking calls only when talking to disk (and not when the memory resides in memory), and the configuration was significant and complex.
We created github.com/surrealdb/affinit… for this exact reason (because there were some limitations and performance improvements over spawn_blocking concurrency - benchmarks on the README), and we actually use this internally within SurrealKV when the reads touch the disk (we'll add io_uring in the future).
We used to have affinitypool being used for the blocking calls in crud-bench, but for the benchmarks which can reside in memory, it didn't actually have much effect - but I'll add it back in to compare. Ultimately though, it's because of that barrier between C and Rust that was the greatest limitation.
As a side note, both benchmarks are run on a completely idle machine (no other services running, and all background tasks disabled), and the load is 0.00, 0.00, 0.00 when the benchmarks are started.
Also the benchmark was actually 3 bench runs for each key-value store. I think it says otherwise somewhere (will fix), but that is not correct.
We'll do a larger run with just RocksDB and SurrealKV shortly - and of course, there is still much to improve!
Emmanuel Keller retweeted
In-memory or persistent? Yes.
Our new in-memory storage engine: 28.3x faster than RocksDB and 17.5x faster than LMDB for reads, both in memory. Lock-free. Embedded, in the browser or on a server.
Run it yourself.
Stop choosing.
sdb.li/4zqT3Mt













