-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
Orges Leka edited this page Nov 30, 2017
·
6 revisions
To get started, git clone the repository and then:
- python webserver.py
- cd /example_requests/
- ./curl_iris.sh to send an example request to the iris model
- ./curl_boston.sh to send an example request to the boston model
- open http://localhost:8123/stats to see the stats of the requests and which models are actually loaded
- ./curl_load_irismodel2.sh to send an example request to load the irismodel2.pkl to the /iris2 url
- open http://localhost:8123/stats to see if the irismodel2.pkl was loaded at /iris2 url
- ./test_boston.sh to see how much time a request needs (it sends 200 requests)
- ./test_iris.sh to see how much time a request for iris needs (it sends 200 requests)