wanted_modules icon indicating copy to clipboard operation
wanted_modules copied to clipboard

Pocketbase-like application

Open DaveTJones opened this issue 2 years ago • 0 comments

Pocketbase is gaining popularity as a quick and easy backend for one person teams and 'side-hustles'.

Some pros of Pocketbase:

  • Real-time subscriptions to database state
  • Integrated Auth
  • Allows for extension using event hooks/JavaScript
  • Contained in a single file, making deployment/self-hosting easy
  • Highly intuitive client side SDK

Some cons:

  • JavaScript performance in the provided runtime is comparatively poor
  • Cannot easily embed more performant languages for heavy workloads eg ML/NLP
  • Running multiple instances of pb and synchronising state between them is not officially supported, and can lead to inconsistent real-time behaviour. Constrained to a single instance.

Given that Deno KV now exists, a Pocketbase-like API built around it would be brilliant. Deno deploy provides a great developer experience, Deno KV can be easily self hosted, and globally available low-latency realtime would be available by default, providing all of the pros listed above with none of the cons.

DaveTJones avatar Jan 23 '24 14:01 DaveTJones