TBD54566975 / ftl

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

Include module name in artifact path #3055

Open jonathanj-square opened 6 hours ago

jonathanj-square commented 6 hours 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 4 hours 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.