avalanche-cli icon indicating copy to clipboard operation
avalanche-cli copied to clipboard

docker compose POC feedback

Open arturrez opened this issue 1 year ago • 2 comments

ref: https://github.com/ava-labs/avalanche-cli/issues/1786

  • LONG RUN: test AMI
  • loadtest performance ( NOOP)
  • build avalanchego from source into container ( BREAKER)
  • gcp support( BREAKER)
  • folders to be created by docker compose (NOOP)

arturrez avatar Apr 30 '24 17:04 arturrez

@sukantoraymond, i don't think it's possible to make docker to create shared folders for us based on https://github.com/docker/compose/issues/2781#issuecomment-509987146. It will be able to error out in case folder doesn't exists VS creating folder with root owner, but it's not possible to make docker create folders under user owner.

arturrez avatar Apr 30 '24 17:04 arturrez

RE: loadtest performance.

based on https://stackoverflow.com/questions/21889053/what-is-the-runtime-performance-cost-of-a-docker-container and https://unix.stackexchange.com/questions/604405/do-docker-container-cause-slow-disk-os-performance#:~:text=If%20you%20use%20a%20bind,performance%20overhead%20is%20near%20zero.

there should be no noticeable performance impact for disk as CPU/mem/network

arturrez avatar Apr 30 '24 17:04 arturrez