Set EFS to provisioned mode
Under load JGit cannot cope with burstable mode.
Switching to provisioned mode with max throughput.
Change-Id: I6d6416f645cc65efed3589f32952dea84f301c18
diff --git a/dual-master/README.md b/dual-master/README.md
index 7c5cfe4..09fbf03 100644
--- a/dual-master/README.md
+++ b/dual-master/README.md
@@ -33,7 +33,15 @@
* EBS volumes for:
* Indexes
* Caches
- * Data
+ * Logs
+* EFS volume:
+ * Share Git repositories between masters
+ * Share Web sessions between masters
+
+*NOTE*: This stack uses EFS in provisioned mode, which is a better setting for large repos
+(> 1GB uncompressed) since it provides a lower latency compared to the burst mode.
+However, it has some [costs associated](https://aws.amazon.com/efs/pricing/).
+If you are dealing with small repos, you can switch to burst mode.
### Deployment type
diff --git a/dual-master/cf-cluster.yml b/dual-master/cf-cluster.yml
index 49530ce..411c369 100644
--- a/dual-master/cf-cluster.yml
+++ b/dual-master/cf-cluster.yml
@@ -280,6 +280,8 @@
FileSystem:
Type: AWS::EFS::FileSystem
Properties:
+ ThroughputMode: provisioned
+ ProvisionedThroughputInMibps: 1024
FileSystemTags:
- Key: Name
Value: "multi-master-git-repo"