This repository was archived by the owner on Jan 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
[WIP] Introduce Firenest.ReplicatedState #21
Open
michalmuskala
wants to merge
40
commits into
master
Choose a base branch
from
mm/pg
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e49ceab
Introduce Firenest.PG
michalmuskala aac1383
Remove race condition from PG.multicall
michalmuskala 32ea17f
Implement basic local tracking
michalmuskala 87ebdc8
More basic functions for local tracker
michalmuskala 46051ca
All local elements of PG work correctly
michalmuskala fb5b530
Fix start_supervised! only in 1.7
michalmuskala d5efd6e
formatter
michalmuskala 6d9ff1a
Add specs to pg
michalmuskala e46a07f
Fix bug in SyncedServer where hello was not always sent
michalmuskala ab0bea3
Add handshake_data callback to SyncedServer
michalmuskala 84dbf51
First implementation of remote data transfer for PG
michalmuskala c474be8
Remove key from PG
michalmuskala d9e2b61
Add up/down/up test to PG
michalmuskala 53890e9
Rename PG to ReplicatedState
michalmuskala 0421ca9
Docs for the replicated state server
michalmuskala ccd107c
Doc updates
michalmuskala 2b333d9
Update docs for ReplicatedState
michalmuskala 6e9b92c
Change how deleyed_update and delete work
michalmuskala 5ff41b7
Local replicated state tests
michalmuskala 94aa7cb
Initial delta returned again in init/1
michalmuskala cb87326
Move ReplicatedState.Server to its own file
michalmuskala 935373a
wip
michalmuskala 7461cd9
Extract handler code from ReplicatedState.Server
michalmuskala bfc0218
wip remote replicated state
michalmuskala 0182baf
First remote implementation for replicatedstate
michalmuskala 9352787
Properly handle broadcasts in remote server
michalmuskala 055b900
Fix tests
michalmuskala b87a6ff
Formatter and remove old code
michalmuskala 906e6d9
Add ReplicatedState.Store tests
michalmuskala 451ef3e
Move remote changes to handler return
michalmuskala c75d98a
Poor man's bounded queue for last deltas in remote
michalmuskala 61792d4
Some remote unit tests
michalmuskala 3270773
Update replicated state docs
michalmuskala 853e808
Refactor ReplicatedState.multicall
michalmuskala 6741955
Address code review feedback
michalmuskala 37f8df4
More tests for ReplicatedState.Remote
michalmuskala 802bcf9
Distributed tests for ReplicatedState
michalmuskala 445b771
Don't pass funs between processes
michalmuskala 68710f6
Format & minor refactor
michalmuskala 1c8ef25
Documentation typos
michalmuskala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just came across this, cool project! Doesn't look like there has been much movement recently so I figured I'd just point out that the tests are failing due to this line,
ceil/1
doesn't exist, perhaps you meant to leave it asFloat.ceil/1
.