Re: [p4] Mirroring a server with P4V
Sambwise <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Sambwise'. I think what you probably want is a forwarding replica: https://www.perforce.com/perforce/r17.1/manuals/p4dist/Content/P4Dist/DB5-81153.html This isn't *exactly* what you're asking for because the replica only handles read-only commands and forwards write commands to the master server (you'll probably want the master to be whichever site is submitting more data). Since most operations are reads, you end up with overall better performance than you'd get by connecting to the remote server directly, but writes will always be at remote speeds. Another option would be to build something around the DVCS "fetch" and "push" commands, but if you're all working on the same files then you have to deal with resolving conflicts (which isn't quite as graceful when you're pushing between servers as it is when you're all effectively on the same server that can act as a single source of truth). IMO just using the forwarding replica setup, where every read is guaranteed consistent, and having submits take a little longer is better than dealing with that extra complexity in your workflow. -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5527-mirroring-a-server-with-p4v _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user