|
|
@ -1,4 +1,4 @@ |
|
|
|
# Hastic-server-analytics |
|
|
|
# Hastic analytics |
|
|
|
|
|
|
|
|
|
|
|
Python service which gets tasks from [hastic-server-node](https://github.com/hastic/hastic-server/tree/master/server) like |
|
|
|
Python service which gets tasks from [hastic-server-node](https://github.com/hastic/hastic-server/tree/master/server) like |
|
|
|
|
|
|
|
|
|
|
@ -7,6 +7,7 @@ Python service which gets tasks from [hastic-server-node](https://github.com/has |
|
|
|
|
|
|
|
|
|
|
|
## Arhitecture |
|
|
|
## Arhitecture |
|
|
|
|
|
|
|
|
|
|
|
The service uses [asyncio](https://docs.python.org/3/library/asyncio.html), |
|
|
|
Analytics gets tasks by websockets tasks asynchoriously, then launches threads in actors with zmq messaging. |
|
|
|
[concurrency](https://docs.python.org/3.6/library/concurrent.futures.html#module-concurrent.futures), |
|
|
|
* [asyncio](https://docs.python.org/3/library/asyncio.html), |
|
|
|
[pyzmq](https://pyzmq.readthedocs.io/en/latest/) and websockets |
|
|
|
* [concurrency](https://docs.python.org/3.6/library/concurrent.futures.html#module-concurrent.futures) |
|
|
|
|
|
|
|
* [pyzmq](https://pyzmq.readthedocs.io/en/latest/). |
|
|
|