Skip to content

Getting started

Orges Leka edited this page Nov 30, 2017 · 6 revisions

To get started, git clone the repository and then:

  1. python webserver.py
  2. cd /example_requests/
  3. ./curl_iris.sh to send an example request to the iris model
  4. ./curl_boston.sh to send an example request to the boston model
  5. open http://localhost:8123/stats to see the stats of the requests and which models are actually loaded
  6. ./curl_load_irismodel2.sh to send an example request to load the irismodel2.pkl to the /iris2 url
  7. open http://localhost:8123/stats to see if the irismodel2.pkl was loaded at /iris2 url
  8. ./test_boston.sh to see how much time a request needs (it sends 200 requests)
  9. ./test_iris.sh to see how much time a request for iris needs (it sends 200 requests)

Clone this wiki locally