thelastpickle / tlp-stress

A workload-centric stress tool for Apache Cassandra. Designed for simplicity, no math degree required.
http://thelastpickle.com/tlp-stress/
Other
55 stars 27 forks source link

daemon mode #38

Open rustyrazorblade opened 5 years ago

rustyrazorblade commented 5 years ago

We need a daemon mode for remote control, I think this is best done with gRPC.

http://rustyrazorblade.com/post/2017/2017-10-09-working-with-grpc-kotlin-gradle/

Only need to handle a few remote commands initially. 1 to start a workload, 1 to get the status of the current workload.

When a workload is started it should kick off the job in a separate thread and return immediately.

rustyrazorblade commented 5 years ago

I've got an open branch for this here: https://github.com/thelastpickle/tlp-stress/tree/daemon_mode.

I've brought in gRPC and set up a streaming server which will be able to return status updates.