Replies: 3 comments 5 replies
-
Thanks for for your input and coming forward as #1 🥳
We should keep this conversation open, would love to hear many perspectives. Certainly something I was thinking about. I've used both in the past and liked them both but for different reasons. TrailBase is my love letter trying to marry their strengths.
Performance is certainly highlighted very prominently right now. I think I agree that for most SupaBase users, especially hosted customers, performance might not the highest priority. I do wonder if the average PocketBase users, especially with self-hosting being the default, is a bit more intrigued by performance/footprint 🤷♀️
Could you get into a bit more detail about what you have in mind? When I hear local-first, i'm not thinking about SQLite running on a server but rather on the user's device. You also pointed at TinyBase, which makes me think that you might be thinking of some TrailBase <-> Client-Sqlite sync? |
Beta Was this translation helpful? Give feedback.
-
the thing is, afaik PocketBase already runs light enough to work with the very lowest ~$5 tiers of cloud hosting, so there’s no monetary upside for added performance. There’s an ecological upside, which I for one greatly care about and also use Rust by default in my own projects for that reason, among many others 🦀 ..but ‘eco-friendly’ is usually not a strong enough sell on its own.
Yeah, I’m pointing in that general direction. I’m a product designer, not an engineer, so I’m thinking about this from a use-case perspective. And from my POV there’s a much greater need and breakout-potential for greenfield developments in the local-first space than there is in the traditional cloud-first space. Therefore, I’m thinking maybe the *Base you wanna be measuring yourself against isn’t so much PocketBase but rather TinyBase. I’m openly biased on all this though, as a team of us are working on this category of application as well. We are trying to build what we call agentic software, and local-first capabilities play a central role in that. Our version of a vaguely TinyBase-like app is the app-engine behind weird.one — https://github.com/muni-town/weird Here’s one way to paint the paradigm shift:
Alternatively then we could say Weird should be the TinyBase-like one, while supporting Database Persistence to sqlite via TrailBase. I’m just playing with different framings of this sort now to explore our alignments, since we already have a lot of overlap in our tech stacks. |
Beta Was this translation helpful? Give feedback.
-
That's fair. If you're not maxing out the cheapest offering there's not escape to the bottom. There might be a slight upside in terms of latency but PocketBase is plenty fast.
Hearing that you're a passionate crustacean, you might be selling yourself short.
FWIW, I'm a big fan of local-first, there's a lot of nice properties. I'm also old enough to remember when everything was local first before SaaS became the new "traditional" :)
Maybe. They don't seem mutually exclusive, i.e. TinyBase only handles the web-client side syncing with a separate storage layer. I haven't looked into the details but it should be possible to hook the both together, at least once TrailBase supports change subscriptions to enable 2-way syncing (I'm guessing here). I also wanted to look into https://github.com/vlcn-io/cr-sqlite, which seems very related.
I'm very open.
From a layering point of view, it sounds very reasonable to split the sync layer from the underlying storage. If you wanted to integrate with TrailBase would you need anything beyond change subscriptions? (no strings attached) |
Beta Was this translation helpful? Give feedback.
-
Finally someone’s doing a Rusty take on PocketBase, awesome! 🙌
I’ve been thinking a bit about how such a thing could differentiate itself.
People who are using supabase/pocketbase aren’t using them first and foremost for performance, which is trailblase’s top selling point right now as far as I can tell.
It’s gonna take a very long time to compete with these incumbents directly; they cover a lot of ground. I’m pondering what other niche specializations TB could use to wedge itself into the market, and the one that gets me the most excited is local-first development:
https://localfirstweb.dev/
https://www.localfirst.fm/17
SQLite is already a default coupling for many of these emergent local-first (and by extension dweb) stacks, since SQLite is itself innately local-friendly.
https://turso.tech/local-first
https://docs.expo.dev/guides/local-first/
https://expo.dev/blog/local-first-application-development-with-livestore
https://tinybase.org/
A bunch of us are working on this social-web stuff together here: https://blog.muni.town/muni-town/
Would love to have you around as well!☺️
Beta Was this translation helpful? Give feedback.
All reactions