PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

Send small variables to storage without blob storage

Open khoaguin opened this issue 1 year ago • 1 comments

Issue: https://github.com/OpenMined/Heartbeat/issues/1274

  • [x] Only save ActionObject to blob storage if it is bigger than a min_size variable (e.g. 16 MB)
  • [x] The min size can be set with an environment variable (e.g. MIN_SIZE_BLOB_STORAGE_MB) so it can be configured when we change database implementations
  • [x] Add tests for 2 cases: ActionObject bigger than MIN_SIZE_BLOB_STORAGE_MB and smaller than MIN_SIZE_BLOB_STORAGE_MB

khoaguin avatar Jun 11 '24 03:06 khoaguin

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.52%. Comparing base (f115f2c) to head (113ffed).

Additional details and impacted files
Flag Coverage Δ
activemq ?
azure_iot_edge 82.08% <ø> (ø)
cassandra ?
hive ?
hivemq ?
hudi ?
ignite ?
jboss_wildfly ?
kafka ?
presto ?
solr ?

Flags with carried forward coverage won't be shown. Click here to find out more.

codecov[bot] avatar Jun 13 '24 21:06 codecov[bot]