Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
28586317
Commit
28586317
authored
Jan 16, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a9bb4f67
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
go/NOTES-go
go/NOTES-go
+0
-2
go/neo/nodetab.go
go/neo/nodetab.go
+3
-3
go/neo/notes.txt
go/neo/notes.txt
+3
-1
No files found.
go/NOTES-go
View file @
28586317
? IStorage.Load -> per storage connection
? random access -> mmap
? random access -> mmap
- scheduler won't use free P if a G is taking time and other Gs are queued after it on the same P:
- scheduler won't use free P if a G is taking time and other Gs are queued after it on the same P:
...
...
go/neo/nodetab.go
View file @
28586317
...
@@ -270,12 +270,12 @@ func (nt *NodeTable) SubscribeBuffered() (ch chan []NodeInfo, unsubscribe func()
...
@@ -270,12 +270,12 @@ func (nt *NodeTable) SubscribeBuffered() (ch chan []NodeInfo, unsubscribe func()
// TODO review peer link dialing / setting / accepting.
// TODO review peer link dialing / setting / accepting.
//
//
// Keep in mind that in NEO in general case it is not client/server but peer-to-pe
r
r
// Keep in mind that in NEO in general case it is not client/server but peer-to-pe
e
r
// e.g. when two S establish a link in between then to exchange/sync data.
// e.g. when two S establish a link in between then to exchange/sync data.
//
//
// Also the distinction be
e
tween S and M should go away as every S should
// Also the distinction between S and M should go away as every S should
// be taught to also become M (and thus separate M nodes go away
// be taught to also become M (and thus separate M nodes go away
// completely) with constant reelection being happen
ning
in the background
// completely) with constant reelection being happen
ing
in the background
// like in raft.
// like in raft.
// SetLink sets link to peer node.
// SetLink sets link to peer node.
...
...
go/neo/notes.txt
View file @
28586317
...
@@ -23,8 +23,10 @@ would be deadlock.
...
@@ -23,8 +23,10 @@ would be deadlock.
Conflict:
Conflict:
oid1 S1 C1 C2
oid1 S1 C1 C2
(?) (S1 replies to C2 that C1 already "stored" oid1)
oid1 S2 C2 C1
oid1 S2 C2 C1
oid2 S1 C2 C1
oid2 S2 C1 C2
who wins?
who wins?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment