Heng Pan

Results 45 issues of Heng Pan

- Replaced `GrpcDriver` with `Driver` in `start_driver()` - Replaced `GrpcDriver` with `Driver` in `DriverClientProxy` - Removed sync lock - Added `ref_exit_flag = [False]`, which is used to "kill" the thread...

- Added a sync lock for Driver API calls in the `Driver` class to prevent potential thread conflicts - Wrapped all Driver API calls within `RetryInvoker`. - Added new unit...

- Added `insecure` arg to `start_server`. - Added `sys.exit` when both `insecure` and `certificates` are set.

# Now: ![image](https://github.com/adap/flower/assets/134433891/72d1fc6a-2df0-425b-bc5e-0272ca49dce0) # Previous: ![image](https://github.com/adap/flower/assets/134433891/a9179cd8-22bf-474b-9536-d8d44c99a42a)

In simulation mode, In`MemoryDriver` and `vce_api.py` must periodically check for new `TaskIns`/`TaskRes` in the `InMemoryState`. Due to performance concerns, we now have `State.get_task_res` called by `InMemoryDriver` every 3 seconds and...

- Call `get_run` and pass `fab_id` & `fab_version` to `load_client_app_fn` in the `_start_client_internal` function. - Implement the `run_supernode` - Merge common logic of `run_client_app` and `run_supernode` > The `load_client_app_fn` function...