Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.07 KB

File metadata and controls

40 lines (24 loc) · 1.07 KB

by me

добавить ссылки на код, или дать примеры

  1. обход индекса
  2. транзакция

by Tonsky

Я бы как-то так организовал

Front-end database that syncs storage segments on demand from the server.

  • Server-side dabases are usually quite large. It’s not practical to sync the entire DB to the client
  • Local-first DBs have great DX: optimistic updates, transparent background sync

Can we make local-first DB that only mirrors a relevant part of server-side state and fetches new data when required?

This is a proof-of-concept that works on top of DataScript <ссылка>

… (тут всякие детали реализации, типа b-tree, async generators, browser cache и прочее)

… (we only implement seek and datoms) … (что можно прикрутить в будущем и примерно как) … (про access control)

… (тут объеденить Run и Dev части)