braidchat / planning

2 stars 0 forks source link

use datascript in client #187

Open braid-sync opened 7 years ago

braid-sync commented 7 years ago

➤ Rafal Dittwald commented: I like the idea of this. My main (and completely uneducated) concern about this is if it will scale to handle the volume demands. How can I get up to speed enough to help render opinions about this? It seems like an important component that might get debated and so I want to make sure any opinion I develop and express is based on fact, not conjecture.

[--- Commented from GitHub.com

commenter pkobrien

---[gh]

braid-sync commented 7 years ago

➤ Rafal Dittwald commented: Datascript would just be client-side; currently it just uses a map in an atom, so I would hope the volume of data there would be reasonable. I'm not sure what the scale issues with datascript are, but we can try to benchmark it. I'm not really sure what the best clojurescript/javascript benchmarking tools are, maybe that would be the place to start investigating?

[--- Commented from GitHub.com

commenter jamesnvc

---[gh]

braid-sync commented 7 years ago

➤ Rafal Dittwald commented: I’ve done two small projects w/ om.next + data script. The top benefit was near identical reader functions on both client and server.

But, it may be less of a good idea for Braid b/c the server doesn’t do any reads (except for fetching relevant conversations on load)… everything else is a push event.

On January 11, 2016 at 11:17:44 AM, James Cash (notifications@github.com) wrote:

Datascript would just be client-side; currently it just uses a map in an atom, so I would hope the volume of data there would be reasonable. I'm not sure what the scale issues with datascript are, but we can try to benchmark it. I'm not really sure what the best clojurescript/javascript benchmarking tools are, maybe that would be the place to start investigating?

— Reply to this email directly or view it on GitHub.

[--- Commented from GitHub.com

commenter rafd

---[gh]

braid-sync commented 7 years ago

➤ Braid Sync Bot commented: Have you looked at tonsky's Rum? I think it is quite elegant. Would be curious to see a pro/con comparison of rum/datascript compared to om.next/datascript.

[--- Commented from GitHub.com

commenter pkobrien

---[gh]

braid-sync commented 7 years ago

➤ Braid Sync Bot commented: Related: https://github.com/mpdairy/posh

[--- Commented from GitHub.com

commenter rafd

---[gh]