TBD54566975 / ftl

FTL - Towards a 𝝺-calculus for large-scale systems
https://tbd54566975.github.io/ftl/
Apache License 2.0
23 stars 7 forks source link

Include module name in artifact path #3055

Open jonathanj-square opened 1 month ago

jonathanj-square commented 1 month ago

Module artifacts stored in the OCI registry using the following path convention: /ftl/modules/<module-digest> but the desired path is /ftl/modules/<module-name>/<module-digest>. When artefact blobs are uploaded to the controller their names are not included (the artefacts table doesn't make use of them).

The change involves:

stuartwdouglas commented 1 month ago

This will not be great for the JVM, as JVM apps share many common Jars. The current addressing scheme allows these jars to be shared between all modules and significantly reduces the amount of data sent over the wire.

wesbillman commented 1 month ago

@jonathanj-square to capture some thoughts in a 1-pager.