m-ld-js icon indicating copy to clipboard operation
m-ld-js copied to clipboard

List performance

Open gsvarovsky opened this issue 4 years ago • 2 comments

Lists are not fast enough to cope with typing speed in the browser if every character is a transaction.

(The demo currently does a text merge on conflict, which works well enough.)

UPDATE: being replaced by a text CRDT in #151

  • [x] Single-valued constraint should run one query for all slots
  • [x] Pseudo-LSEQ position Ids should be allocated uniformly for a known number of items
  • [ ] Index maintenance should start from the first affected index
  • [ ] Index maintenance should skip unaffected tail #67
  • [ ] Index maintenance could be optional

Quadstore query expression optimisation use-cases RDF/JS query spec draft

gsvarovsky avatar Feb 08 '21 11:02 gsvarovsky

Note https://www.w3.org/2014/data-shapes/wiki/Rdf:List_Stresstest

gsvarovsky avatar Mar 10 '21 09:03 gsvarovsky

loading-list-text-messages.json.zip

Performance profile loading a demo message board with characters as list items.

gsvarovsky avatar Apr 07 '21 18:04 gsvarovsky