Skip to content

Conversation

@Snapple49
Copy link

This is a more autonomous setup of the HIO framework with some features I've implemented as part of my thesis and some small improvements here and there for general "niceness". A more detailed list of specific changes and new features is provided in a release tag I made for the master: https://github.com/Snapple49/HarmonicIO/releases

Both me and Salman have been testing this for some time and it seems to be robust and handle things nicely, and I've added some defaults to places where my new features require additional inputs. Fingers crossed it doesn't break anything...



def start_gc_thread():
carbage_collector = GarbageCollector(10)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed!

Setting.__master_addr = cfg[Definition.get_str_master_addr()].strip()
Setting.__master_port = cfg[Definition.get_str_master_port()]
Setting.__node_external_addr = cfg[Definition.get_str_node_external_addr()].strip().lower()
Setting.__container_idle_timeout = cfg[Definition.get_str_container_idle_timeout()] * 60 # convert idle time from minute to seconds
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just use seconds in the config file? simpler?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, I fixed it. My reasoning was that you might want a span of potentially hours, so I thought seconds might be a bit large, but it's no big deal

@Snapple49
Copy link
Author

Autoscaling can now be configured in the master configuration.json file, fairly self-explanatory but I'll mention it in the readme.

Cleared up my additions a bit, added note about autoscaling enable/disable
@benblamey
Copy link
Member

benblamey commented Jan 28, 2019

@Snapple49 I've added some tests to HarmonicIO. You need to merge the changes from master into your branch (resolve the conflicts), and then run the tests locally.

Copy link
Member

@benblamey benblamey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to resolve conflicts, and ensure new tests run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants