-
Notifications
You must be signed in to change notification settings - Fork 0
Analytics Server
This merge includes a
- bug fix to the correlation computation
- some Clojure tests
- a speed up of about 100x
- implementation of the signals page v2 with infinite scrolling, sort-by- and noise/signal filters.
To run the Clojure servers:
su - curious
cd curious/src/clojure/analytics
Copy profiles-sample.clj to profiles.clj, add a production setup, set the database parameters
lein with-profile production trampoline run -p 8090 & lein with-profile production trampoline run -p 8091 &
curl -X POST localhost:8080/analyticsTask/processUsers
or go to
http://localhost:8080/analyticsTask/index
and click on "Run on all users."
The admin page is still anemic, but it will show you the user id of the last user processed.
NB: try not to click on "Run on all users" while a job is still running. Nothing too bad will happen but I think maybe both servers won't be used. Not sure. I still have to go in and write some code to manage the interruption of the processes.