Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Improve asynchronous metrics posting module #40

Open
liehe opened this issue Aug 17, 2018 · 1 comment
Open

Improve asynchronous metrics posting module #40

liehe opened this issue Aug 17, 2018 · 1 comment

Comments

@liehe
Copy link
Member

liehe commented Aug 17, 2018

For the moment, in mlbench/refimpls/utils/log.py subprocesses are used to post information asynchronously. This is however need to be improved using native Kubernetes modules.

A possible solution is connect_post_namespaced_service_proxy in CoreV1API. But it is not optimal as it does not accept body argument.

@Panaetius
Copy link
Member

In the backlog for now. If the python client ever supports proper post requests, this makes sense again.

The biggest use case is if we have multiple api/dashboard nodes with loadbalancing (if the dashboard ever becomes the limiting factor, e.g. with 1000 Nodes), then we need to sue the kubernetes API with its Load Balancer.

For now it's of little importance, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants