Replies: 5 comments 21 replies
-
Just to make I understand the loom videos correctly, the new changes are that the client db must now wait until the server acknowledges the previous transaction before sending new transactions. This is sort of like an |
Beta Was this translation helpful? Give feedback.
-
This (v2) is more responsive than v1! Did some stress testing with the newest commits on backend (https://github.com/athensresearch/athens-backend/pull/2/commits/260e54477f9eee4e2e6d8dbb13c6b3312acbf141) and frontend (ec83342). I know frontend and backend latest updates are both drafts, but there are still sync issues. Demo: https://www.loom.com/share/3f5aa016d830472da966a40e4f94dab0 I remember @neotyk said a single transactor was the way to go. Doesn't seem like we are doing that right now. Any reason to not try that for now? Will be slower but consistency seems more important for an MVP. |
Beta Was this translation helpful? Give feedback.
-
Setup a remote EC2 instance. Anyone can connect with the following credentials: address: A less powerful server (and further networking) seems to make it easier for clients/db to get out of sync. |
Beta Was this translation helpful? Give feedback.
-
Synced up with @neotyk. Notes from our call. Problems
Other Notesthe problem is that each tx expects the current state of datascript to be correct how do we construct tx-data? is it possible to send context-independent, declarative transactions? then let backend resolve "side effects" "side effects"
|
Beta Was this translation helpful? Give feedback.
-
server: 45.79.158.23:3010 Running with most minimal setup(need some testing and rtc sync testing here -- server in NJ -- expect delays not bugs). Please record loom/some info that can help debug issues. This will help productionize RTC faster Note: please check front end from dev https://github.com/athensresearch/athens/pull/1075/files |
Beta Was this translation helpful? Give feedback.
-
I will position this close to the problem statement of real-time collaboration than anything else.
Setting up context, the first part of rtc that you are seeing in athens-backend and app is a way to stream transactions. We used
But the current one won't cut it. More specifically the data flow is not enough to ensure data durability and consistency.
I'll talk about it in the loom
PR backend: https://github.com/athensresearch/athens-backend/pull/2
PR athens app: #1075
Let me know if I couldn't get the ideas out correctly or if something feels fragmented.
Beta Was this translation helpful? Give feedback.
All reactions