Giter Site home page Giter Site logo

dunglas / sse-perf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matthiasn/sse-perf

0.0 2.0 0.0 312 KB

Load testing for Server Sent Event streams (or other HTTP connections that deliver information in chunks) using Play Framework 2.1 -- this project needs an upgrade to the latest Play version. Anyone interested in submitting a PULL REQUEST?

Home Page: http://matthiasnehlsen.com

Scala 45.49% JavaScript 30.29% HTML 19.22% CSS 5.00%

sse-perf's Introduction

#sse-perf

This is a web application using Play Framework for load testing Server Sent Events (SSE) streams. It will establish concurrent connections to a server and measure and display the combined throughput and number of chunks received per second. The results will then be shown using animated bar charts. Ramping can be used to add a specified amount of additional connections at the specified time interval.

Internally, Akka actors are used to handle the connections and Concurrent.broadcast from Play Iteratee API is used to deliver the information into the Server Sent Events (SSE) stream.

Screenshot

You can see this application in action. I use it to put a constant load of a few hundred concurrent client connections on my BirdWatch application.

Please Check out my Blog for more information about this project.

###Setup There is not much to the setup if you have a working installation of Play Framework on your computer. All you need to do is play run in your shell or play "run 9001" for example if you are already using port 9000 for the application you want to test. Then you need to open http://localhost:9001, or whatever port you chose for this application.

Licence

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2013 Matthias Nehlsen.

sse-perf's People

Contributors

matthiasn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.