#290  High availability of OneDev server
Open
Robin Shen opened 4 weeks ago
No comment
bufferUnderrun commented 4 weeks ago

What do you mean ?

Robin Shen commented 4 weeks ago
bufferUnderrun commented 4 weeks ago

i mean, technically : multiple instances of onedev with sync... ?

Robin Shen commented 4 weeks ago

Create a cluster with multiple OneDev servers to achieve scalability and reliability.

Artur commented 3 weeks ago

For the start, like a basic, first version it would be good to have multiple instances of OneDev front end connected to one database (maybe in cluster mode) and store code repository in shared file system, like NFS or something like this.

Artur commented 3 weeks ago

I think, one way to have kind of simplified HA setup would be to have 2 independent installations and set projects in kind of mirror mode on one system to periodically update source code and issues from another system. This would be acceptable HA setup for many cases.

It seems relatively simple to implement.

And if the mirroring is done on the project level it would allow for a "smart" setup. Let's say you have a team in the US and a team in the EU. You could have 2 OneDev systems running, one in the US and one in the EU.

Then, the team in the EU would use EU system to work, and their projects would be mirrored on the US server and then the team from the US would connect to the US server and their projects would be mirrored on the EU server. If one server fails, both teams cold just switch over to the working server.

Robin Shen commented 3 weeks ago

You may prototype this if interested. I have not got time to think about it yet.

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Milestone
No milestone
Issue Votes (1)
Watchers (3)
Reference
issue onedev-server#290
Please wait...
Page is in error, reload to recover