I built an faster Notion in Rust
54 points
4 days ago
| 13 comments
| imedadel.com
| HN
xanth
16 minutes ago
[-]
This looks like it has great potential, but what I really want is an open source "notion" with a well considered plugin & schema model. I desperately want to sync back all my data into a single cohesive graph; notes, reading list, messages, exercise activity in a more compute friendly format than MD files.
reply
kgarten
6 minutes ago
[-]
Logseq? (Though it uses md)
reply
bakli
14 minutes ago
[-]
Like Obsidian?
reply
shmoogy
13 minutes ago
[-]
Obsidian isn't open source
reply
nsteel
18 seconds ago
[-]
[delayed]
reply
gman83
11 minutes ago
[-]
AppFlowy ?
reply
Sytten
56 minutes ago
[-]
The prosemirror port would make for a nice OSS library if OP is willing to put it on crates.io.
reply
hresvelgr
1 hour ago
[-]
Looks promising. Where I think Notion really succeeds is letting people easily make attractive live documents. Where they've meandered off imho is trying to shoehorn in an RDBMS. If you can enable people to make pretty pages, and keep your document format simple, you'll be off to a very good start.
reply
sgarland
25 minutes ago
[-]
It certainly looks like the author has given careful thought to making this performant, but I am skeptical about it at scale. While OT means there should be fewer updates than CRDT, you still wind up with a fair amount of them, and you have to periodically rebuild the base document from accumulated steps, which can be quite large.

Assuming your backing store is Postgres, I’d experiment a lot with the various column storage strategies, at various sizes of documents and varying amounts of writes. The TOAST overhead can become a huge bottleneck.

reply
arnaudsm
1 hour ago
[-]
This is great, I wish tech giants focused more on latency.

Gmail, Notion, Facebook, are painfully slow on my high-end laptop with gigabit ethernet. Something is wrong in our modern engineering culture.

reply
DarkNova6
58 minutes ago
[-]
I think the problem is a lack of "engineering culture".
reply
CuriouslyC
24 minutes ago
[-]
Obviously not with Gmail/Facebook, in that case it's just 100% incentive misalignment.

The others, probably, VCs are incentivized to fund the people who allocate the most resources towards growth and marketing, as long as the app isn't actively on fire investors will actively push you away from allocating resources to make your tech good.

reply
umanwizard
13 minutes ago
[-]
You would be surprised at how bad the “engineering culture” is at meta. There are surely people who care about page load latency but they are a tiny minority.
reply
PaulHoule
13 minutes ago
[-]
People experience latency but if you “saw like a corporation” you could only see throughput and never latency.
reply
stu2421
30 minutes ago
[-]
Mono Avalonia Not i on 1 No te
reply
johnisgood
1 hour ago
[-]
Irrelevant, but "a faster", not "an faster".
reply
nicoburns
1 hour ago
[-]
Looks like the original title was "an actually faster" and HN stripped out the "actually"
reply
lagniappe
15 minutes ago
[-]
Automated or not, editing titles is not cool. What an odd double standard.
reply
ls-a
1 hour ago
[-]
It's actually an faster if they used rust
reply
lagniappe
16 minutes ago
[-]
'an' precedes a vowel sound, 'a' precedes a consonant sound.
reply
wjsdj2009
4 minutes ago
[-]
Interesting perspective. Thanks for sharing.
reply
thiago_fm
12 minutes ago
[-]
I see a big amount of naiveness on his post, I tried to view it with a positive mindset, but I can't help myself and think how naive his perspective on that is.

First, lots of server-side code is IO-bound, writing it in Rust vs. Java/C# would barely show any difference in a Monitoring tool, in a real-life scenario.

His authorization system is very limited in scope, of course it can be fast! Get real users and we will see if that will still be fast.

When you are running it in production, even if using Zanzibar's approach of loading everything into memory, you'd still need to handle many aspects he didn't think of, like updates to such permissions, and dealing with sharding etc. Things are always more complex in real life.

And last not but the least, Notion is really fast as it is. I never knew it was slow.

Without bringing any new concept to "Notion", I find it hard to believe this will ever work.

I hope he finds happiness building it though, building is fun!

reply
airstrike
1 hour ago
[-]
Really cool stuff. I will spend some time here digging into the details.

I've built a Cursor for business users in Rust. Spreadsheets, slideshows, and an agentic loop.

If you're up for it, it would be nice to chat and share stories and vision.

Email is andy at inboard dot ai

reply
woile
35 minutes ago
[-]
prosemirror in rust? I'd like to see something like that!
reply
aswegs8
1 hour ago
[-]
Whats your pricing? Will early access be free?
reply
Sekhmet
32 minutes ago
[-]
> Each seat will cost around €/$10. If you see yourself using this product, consider sponsoring Outcrop today for €/$100; you’ll get €/$200 as credits on launch.

From the linked blog.

reply
drcongo
52 minutes ago
[-]
Loved the thought processes in this post, so definitely interested. Notion always feels half-baked.
reply
beswalod
1 hour ago
[-]
Another Notion-like app. But it's already many FOSS alternatives
reply
crashabr
53 minutes ago
[-]
What are they? The thing I value the most is the collaboration and the relational part, allowing to build pages that are essentially views on other data.

The only one I'm looking forward currently is the next version of Logseq which will enable collaboration on their existing block-based authoring model.

reply
jxmesth
39 minutes ago
[-]
reply
theknarf
40 minutes ago
[-]
Have you seen https://anytype.io/?
reply