https://github.com/pmorie/scaling-demo-update-repl
https://github.com/pmorie/scaling-demo-update-repl
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pmorie/scaling-demo-update-repl
- Owner: pmorie
- Created: 2014-04-10T05:15:29.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-10T21:06:44.000Z (about 12 years ago)
- Last Synced: 2025-02-17T19:16:34.094Z (over 1 year ago)
- Language: JavaScript
- Size: 738 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Scaling on OpenShift
=====================
This application helps to visualize what is occurring on your scaled
OpenShift application. It is an EE6 application that queues and writes
a count of the traffic it is receiving to a Mongo database. When you
access the application, it uses the d3 javascript libraries to render
a force layout view of your application and the connected gears as
well as the traffic they have served.
Creating your Own
=====================
If you want to create your own copy of this application, just run the
following command:
rhc app-create scaleapp jbosseap mongodb-2 -s --from-code https://github.com/matthicksj/scaling-demo.git
Then, to add 'hits' to your application, hit the following URL:
http://YOUR_APP/rest/add
To drive some simple traffic, you can run something like:
for i in {1..10000}; do curl -s http://YOUR_APP/rest/add > /dev/null; usleep 50000; done