Skip to content

Implement distribution of worker threads across multiple instances of the servers#52

Open
julie-is-late wants to merge 55 commits into
testfrom
distribution
Open

Implement distribution of worker threads across multiple instances of the servers#52
julie-is-late wants to merge 55 commits into
testfrom
distribution

Conversation

@julie-is-late

Copy link
Copy Markdown
Member

wow this was a lot, haha

return []dhClosure{toSenderClosure{msg: messages.NewEmptyResponse(messages.StatusUnauthorized, f.Tag)}}, nil
}

ack() // ack just before appending so if it fails in the middle it doesn't re-enqueue it

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should still ack after, since CPAppendFileChange returns an error for CAS mismatches, doesn't it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah you're right that it does. hmm, i guess I'm more concerned about it getting stuck than I am about it failing the cas check

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. sounds good. Could we add a todo to verify that this works after deployment

Comment thread modules/handlers/wsmanager.go Outdated
})
// I don't know what to do with this error, it can only happen if we disconnect from rabbit,
// so it means we have bigger issues
// FIXME: is this fatal?

@ObsessiveOrange ObsessiveOrange Mar 15, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think this is fatal. Since the server is now in a potentially un-recoverable state, let's just kill it. The daemon can restart it if needed.

julie-is-late and others added 17 commits March 15, 2017 14:38
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
…ke a single string

Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
ObsessiveOrange and others added 25 commits April 2, 2017 20:51
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Added patch consolidation, rebuilt OT to use streaming
ensure no connections between components
rework of rabbitmq connections to separate them from websocket connections
restructure datahandling to not be tied to websockets
…fied across severs

switch from ECDSA to RSA keys
refactor loading to come from config
Signed-off-by: Benedict Wong <bennydictwong@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants