online-ml / chantilly

🍦 Deployment tool for online machine learning models
BSD 3-Clause "New" or "Revised" License
97 stars 17 forks source link

Websocket implementation #5

Closed MaxHalford closed 2 years ago

MaxHalford commented 4 years ago

The best way to make multiple predictions and model updates with a single connection is to use a websocket. This will provide a bidirectional route to send model updates and receive predictions. When done we can provide an example using Python's websocket-client library, as well as in JavaScript.