Set docker volumes to cache consistency mode (#4838)
(Only applies to OS X) boulder is, typically, not a long lived docker container, and we don't really care about synchronous consistency between the host fs and container fs. cached provides the best performance for read-heavy workloads, which is what is typically slowest on container startup (at least from my experience). This change provides a 30-40% speedup on OS X.
This commit is contained in:
parent
86ac3d9e6b
commit
348b13f693
|
|
@ -13,8 +13,8 @@ services:
|
||||||
# non-ASCII to stdout.
|
# non-ASCII to stdout.
|
||||||
PYTHONIOENCODING: "utf-8"
|
PYTHONIOENCODING: "utf-8"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/go/src/github.com/letsencrypt/boulder
|
- .:/go/src/github.com/letsencrypt/boulder:cached
|
||||||
- ./.gocache:/root/.cache/go-build
|
- ./.gocache:/root/.cache/go-build:cached
|
||||||
networks:
|
networks:
|
||||||
bluenet:
|
bluenet:
|
||||||
ipv4_address: 10.77.77.77
|
ipv4_address: 10.77.77.77
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue