filecoin-station / zinnia

Runtime for worker nodes executing modules in a resource-limited sandbox
https://crates.io/crates/zinnia
Other
17 stars 2 forks source link

feat: new Zinnia API deploymentType #526

Closed PatrickNercessian closed 4 months ago

PatrickNercessian commented 4 months ago

Links: https://github.com/filecoin-station/zinnia/pull/526

PatrickNercessian commented 4 months ago

I wasn't sure which way we wanted to do it, as core -> zinnia -> module, or some other method. So I just started on this while the Station team wasn't avaliable.

Would you instead propose something like: https://github.com/filecoin-station/core/pull/411

juliangruber commented 4 months ago

Yes I think so. Let's sync on this overall: How is data submitted to the platform?

bajtos commented 4 months ago

Since the deployment type will not change over time, we should not record it in every measurement - that would be very wasteful.

Instead, I'd like to record information about the station instance (instance type, RAM size, etc.) using a different mechanism and then find a way how to link measurements to station instance information using the station_id field.

bajtos commented 4 months ago

Instead, I'd like to record information about the station instance (instance type, RAM size, etc.) using a different mechanism and then find a way how to link measurements to station instance information using the station_id field.

E.g. using an approach similar to https://github.com/filecoin-station/core/pull/411