d3c310f40877f55186bf43c1b5b164713d76ab1c,python/ray/serve/api.py,,create_backend,#Any#Any#,240
Before Change
// set the backend config inside the router
// particularly for max-batch-size
router = global_state.get_router()
ray.get(router.set_backend_config.remote(backend_tag, backend_config_dict))
_scale(backend_tag, backend_config_dict["num_replicas"])
After Change
type(func_or_class)))
ray.get(
global_state.master_actor.create_backend.remote(
backend_tag, creator, backend_config, arg_list) )
@_ensure_connected
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: ray-project/ray
Commit Name: d3c310f40877f55186bf43c1b5b164713d76ab1c
Time: 2020-04-07
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: create_backend
Project Name: ray-project/ray
Commit Name: 1be87c7fbb5ea91834c6eb8e90ad41205110f203
Time: 2020-04-07
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: get_handle
Project Name: ray-project/ray
Commit Name: d8f5b522655f2b848ba20817dd18d6e4aefb8a42
Time: 2020-04-10
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/master.py
Class Name: ServeMaster
Method Name: _start_backend_replica