+ All Categories
Home > Business > [Paris merge world tour] Perforce Server Update

[Paris merge world tour] Perforce Server Update

Date post: 27-Jun-2015
Category:
Upload: perforce
View: 373 times
Download: 0 times
Share this document with a friend
Description:
Presentation from Perforce at the Paris Merge World Tour - Perforce Server Update
Popular Tags:
31
1 Distributed Development Roadmap John Palmer Product Specialist
Transcript
Page 1: [Paris   merge world tour] Perforce Server Update

1  

Distributed Development Roadmap

John Palmer Product Specialist

Page 2: [Paris   merge world tour] Perforce Server Update

2  

Perforce Today Current Solutions

Page 3: [Paris   merge world tour] Perforce Server Update

3  

13.1 Update

§  Filtered Replication §  Task Streams §  Unshelve to Branch §  Submit Shelf Directly

Page 4: [Paris   merge world tour] Perforce Server Update

4  

13.1 Server

Task  Streams  

• Alleviates  branch  metadata  problem  

• Can  be  used  with  streams  or  normal  branches  

• Fits  with  task  branching  /  conAnuous  delivery  

Shelving  

• Lightweight  code  review  

• Lightweight  task  management  

• Unshelve  to  Branch  • Submit  Shelf  

Git  Fusion  

• Maintain  big  picture  branch  model  in  Perforce  

• Mirror  the  model  to  Git,  rebase  if  desired  

• Use  Git  for  task  branches  

Page 5: [Paris   merge world tour] Perforce Server Update

5  

Branching with Task Streams

Page 6: [Paris   merge world tour] Perforce Server Update

6  

Task Streams

§  Use p4 populate to put data into a task stream. §  (This command is the best way to put data into any new branch or stream.)

§  Task streams cannot be re-parented. §  They're tied tightly to the original source.

§  Task streams cannot have children of their own. §  Multiple users per Task Stream. §  Task streams can be converted to regular §  Task streams parented to another stream follow the rules!

§  merge-down copy-up.

Page 7: [Paris   merge world tour] Perforce Server Update

7  

13.1 Server - Replication Filtered  ReplicaAon  

• Only  take  what  you  need  at  each  site  

• Reduce  bandwidth    • Faster  setup  

Chained  Replicas  

• Have  one  replica  feed  others  

• Easily  support  a  larger  build  farm  or  several  satellite  offices  

• Only  once  “across  the  ocean”  

Git  ReplicaAon  

• Fast  local  data  access  

• Consistent  push/pull  

• Consistent  security  • Trusted  HA/DR  

And of course you can use regular proxies and replicas…

Page 8: [Paris   merge world tour] Perforce Server Update

8  

Perforce Today Current Solutions

Page 9: [Paris   merge world tour] Perforce Server Update

The Problem is…

9  

§  Remote sites

§  Large teams

§  Automation

§  Git mirrors

Supporting

Page 10: [Paris   merge world tour] Perforce Server Update

Versioning Service

Proxy

Proxy

Replication Service

Page 11: [Paris   merge world tour] Perforce Server Update

11  

Road Map New Solutions

Page 12: [Paris   merge world tour] Perforce Server Update

12  

“100X” Initiative

“100X”  

Data Centre

Dis

trib

uted

Today

Page 13: [Paris   merge world tour] Perforce Server Update

13  

100X Includes…

Failover Distributed optimization

Reduced

network load

Horizontal scaling

Concurrency

Page 14: [Paris   merge world tour] Perforce Server Update

14  

The Road to 100X

Proxy

Replicas

Filtered / Chained

Commit / Edge

Clustering

14  

Page 15: [Paris   merge world tour] Perforce Server Update

15  

100X: Advanced Replication

DO NOT DISTRIBUTE 15  

Filtered Replication

Chained Replicas

Git Replication

Available Now

Page 16: [Paris   merge world tour] Perforce Server Update

16  

100X: Remote Site Support

16  

Eliminate  WAN  traffic  for  many  

opera9ons  

Reduce  data  transfer  

Commit  

Edge   Edge  

Page 17: [Paris   merge world tour] Perforce Server Update

17  

Reduced Activity on Commit Instance

17  

Replica   Master   Edge   Master  

Page 18: [Paris   merge world tour] Perforce Server Update

18  

Remote Sites: Just Faster

56.6  

8.7  

61  

9.8  

0.9   0.7   1.8   0.2  0  

10  

20  

30  

40  

50  

60  

70  

Sync   Revert   Integrate   Edit  

COMMON  OPERATIONS  WITH  128MS  LATENCY  BETWEEN    CLIENT  AND  P4D  

Direct   Edge  

Page 19: [Paris   merge world tour] Perforce Server Update

19  

100X: 2014

Horizontal scaling (read ops) High availability (failover)

Concurrency

Page 20: [Paris   merge world tour] Perforce Server Update

20  

Nuts and Bolts Details, details, details…

Page 21: [Paris   merge world tour] Perforce Server Update

21  

100X

Failover Commit/edge

Chain replicas

Horizontal scaling

Concurrency

Filter replicas

Page 22: [Paris   merge world tour] Perforce Server Update

22  

Chaining Replicas

22  

p4  configure  set  replicaSingapore#P4TARGET=master:1666 p4  configure  set  replicaHK#P4TARGET=replicaSingapore:1666

Configuration

Use common sense

Ask for help when necessary

Master Repository(California)

Read-Only Replica(Singapore)

Read-Only Replica(Hong Kong)

Read-Only Replica(Singapore)

Read-Only Replica(Singapore)

Page 23: [Paris   merge world tour] Perforce Server Update

23  

Filtering Replicas

Configure in server spec and pull commands

23  

>  p4  server  repl      ServerID:              repl      RevisionDataFilter:                  //gui/...      >  p4  configure  set  "repl#startup.1=pull  -­‐i  1  -­‐P  repl"  

Singapore Replica

Estonia Replica

Toronto Replica 20 TB

500 GB

50 GB

Master Repository(US)

500 TB

Page 24: [Paris   merge world tour] Perforce Server Update

24  

Git Replication

24  

Configuration •  Set P4PORT in Git Fusion

configuration to proxy, broker, or replica

Access control •  Set IP-based rules on Git Fusion

account

FAQ •  Commits are identical across all Git

Fusion instances

Page 25: [Paris   merge world tour] Perforce Server Update

Upgrading to commit / edge

DR Replica

Build Server Replica

Versioning Service

Small Remote Office

Large Remote Office

Proxy Service

Forwarding Replica Git Fusion

Main Office

Page 26: [Paris   merge world tour] Perforce Server Update

Upgrading to commit / edge

DR Replica

Edge Server (for Build Farm)

Versioning Service

Small Remote Office

Large Remote Office

Proxy Service

Edge Server Git Fusion

Main Office

Edge Server (for Users)

Page 27: [Paris   merge world tour] Perforce Server Update

27  

2014: Horizontal Scaling of Read Operations

Write  Node  

Read  Node  

Read  Node  

Read  Node  

Journal  Service  

Coordinator

Read Node

Page 28: [Paris   merge world tour] Perforce Server Update

28  

Write  Node  

Read  Node  

Read  Node  

Read  Node  

Coordinator  

Journal  Service  

2014: High Availability and Failover

Page 29: [Paris   merge world tour] Perforce Server Update

29  

2014: Improved Replication Throughput

Write  Node  

Read  Node  

Read  Node  

Read  Node  

Coordinator  

Journal  Service  

Durable  write  

Page 30: [Paris   merge world tour] Perforce Server Update

30  

100X

Advanced  replicaAon   Remote  Sites   Scaling,  failover,  

and  concurrency  

Perforce  

Git  

Page 31: [Paris   merge world tour] Perforce Server Update

31  

Questions? See Git Fusion in the Demo Area

Follow us Randy DeFauw: [email protected], @rdefauw Charlie McLouth: [email protected]

P4Ideax   Forums  


Recommended