[Serve] Implement metric interface (#5852)

* Implement metric interface

* Address comment: made actor_handles a dict

* Fix iteration

* Lint

* Mark lightweight actors as num_cpus=0 to prevent resource starvation

* Be more explicit about the readiness condition

* Make task_runner non-blocking

* Lint
This commit is contained in:
Simon Mo
2019-10-07 09:29:26 -07:00
committed by GitHub
parent 25dde48607
commit 9bb3633cd9
10 changed files with 347 additions and 12 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ extras = {
],
"debug": ["psutil", "setproctitle", "py-spy >= 0.2.0"],
"dashboard": ["aiohttp", "psutil", "setproctitle"],
"serve": ["uvicorn", "pygments", "werkzeug", "flask"],
"serve": ["uvicorn", "pygments", "werkzeug", "flask", "pandas"],
}