How to automate JMeter tests with Maven and Jenkins (Hudson)

How to automate JMeter tests with Maven and Jenkins (Hudson)

Here is a post by a blogger who goes by the name of jribble in his blog Ribble’s Code. He gives a nice and easy to follow tutorial on how to automate JMeter (with the Maven plugin) with Jenkins (a branch of Hudson). He first starts up a default local Jenkins instance and adds a performance plugin (and if necessary a git plugin to pull projects from GitHub). Then he creates a new job in Jenkins. He goes on to give some required build steps to work with Maven and builds the project. 

This post has some nice tips to get Jenkins and JMeter Maven working smoothly together and includes many screenshots.

He also has a previous post for making JMeter tests run in Maven which is definitely worth checking out as well.

Advertisements
Tagged with: , , , , ,
Posted in Uncategorized

Learn Git Branching Visually

Learn Git Branching is a great way to learn Git branching, merging and collaboration command through a nice interactive web application. The author (Peter Cottle) deserves a hats off for the innovative learning experience. There is a quick demo for those who want to quickly refresh their memory.

Tagged with: , , , ,
Posted in reference, visualization

Benchmarks of Python WSGI Servers

Benchmarks of Python WSGI Servers

Here is a nice post by Nicholas Piel. He has created a benchmark for Python WSGI Servers using web sockets. Here different frameworks will be used to handle asynchronous and non-blocking connections on a web socket. Multiple requests will be fired over a single connection with both HTTP 1.0 and HTTP 1.1 (using keepalive whenever possible). 

The Contestants

Name Version http 1.1 Flavour Repo. Blog Community
Gunicorn 0.6.4 No processor/thread GIT ? #gunicorn
uWSGI Trunk (253) Yes processor/thread repo ? Mailing List
FAPWS3 0.3.1 No processor/thread GIT William Os4y Google Groups
Aspen 0.8 No processor/thread SVN Chad Whitacre Google Groups
Mod_WSGI 3.1 Yes processor/thread SVN Graham Dumpleton Google Groups
wsgiref Py 2.6.4 No processor/thread SVN None Mailing List
CherryPy 3.1.2 Yes processor/thread SVN Planet CherryPy Planet, IRC
Magnum Py 0.2 No processor/thread SVN Matt Gattis Google Groups
Twisted 10.0.0 Yes processor/thread SVN Planet Twisted Community
Cogen 0.2.1 Yes callback/generator SVN Maries Ionel Google Groups
GEvent 0.12.2 Yes lightweight threads Mercurial Denis Bilenko Google Groups
Tornado 0.2 Yes callback/generator GIT Facebook Google Groups
Eventlet 0.9.6 Yes lightweight threads Mercurial Eventlet Mailinglist
Concurrence tip Yes lightweight threads GIT None Google Groups

The results are charted by:

  • Reply Rate ( reply time / number of requests )
  • Response Time ( response time / number of requests )
  • Error Rate ( number of Errors / number of requests )
  • Memory Usage
  • And more!

This post has a lot of insight on what frameworks are out there and how they perform with today’s demanding load with the use of HTML5 web socket.

Tagged with: , , , , , ,
Posted in Uncategorized

The Art of Data Visualization – PBS

Humans have a powerful capacity to process visual information, skills that date far back in our evolutionary lineage. And since the advent of science, we have employed intricate visual strategies to communicate data, often utilizing design principles that draw on these basic cognitive skills. In a modern world where we have far more data than we can process, the practice of data visualization has gained even more importance. From scientific visualization to pop infographics, designers are increasingly tasked with incorporating data into the media experience. Data has emerged as such a critical part of modern life that it has entered into the realm of art, where data-driven visual experiences challenge viewers to find personal meaning from a sea of information, a task that is increasingly present in every aspect of our information-infused lives.

Tagged with: , ,
Posted in visualization

Choosing the Right EC2 Instance Type for Your Application

The Amazon Web Services Blog has an article on how to choose the right EC2 Instance Type for your Application.

AWS allows you to choose from 10 different instance types that are grouped into 6 instance families.

Instance Families:

  1. General-Purpose – Provide a balance of CPU, memory, and network resources
    • M1 – Moderate CPU performance, low overall price
    • M3 – Demanding CPU Requirements
  2. Compute-Optimized – Geared towards applications that benefit from high compute power
    • C1 – Ideal for massively scaled-out applications
    • CC2 – Lowest cost for CPU performance, Intel Xeon E5-2670 processors; high core count (32 vCPUs); and support for cluster networking
  3. Memory-Optimized – Designed for memory-intensive applications
    • M2 – Available in smaller sizes, and are an excellent option for many memory-bound applications
    • CR1 – Provide more memory (244 GiB), faster CPU (Intel Xeon E5-2670) compared to M2 instances
  4. Storage-Optimized – Provides you with direct-attached storage options optimized for applications with specific disk I/O and storage capacity requirements
    • HI1 – Optimized for very high random I/O performance and low cost per IOPS
    • HS1 – Optimized for very high storage density, low storage cost, and high sequential I/O performance
  5. Micro Instances – Very low-cost instance option providing a small amount of CPU resources
    • T1 – Well suited for lower throughput applications
  6. GPU Instances – Allows you to take advantage of the parallel performance of NVidia Tesla GPUs using the CUDA or OpenCL programming models for GPGPU computing
    • CG1
Tagged with: , ,
Posted in architecture, cloud, technology

ChartsNThings

ChartsNThings

Here is a blog containing data sketches from the New York TimesGraphics Department.

It provides many useful techniques and images for visualizing data that are currently in use by the New York Times today! Most of the recent posts are about visualizing data from statistics in sports, but these ideas are certainly portable to other application as well.

Tagged with: , , , , , ,
Posted in analytics, data science, visualization

Your one stop “shop” for D3 demos and exmaples.

Your one stop “shop” for D3 demos and exmaples.

D3 has been getting a lot of attention recently and there have been many great examples and tutorials created to help anyone get started ( or learn more of what this tool can do ). If you are just starting out with D3 you will appreciate the well organized API docs and really great tutorials and cheat sheets but there is nothing like seeing a demo with code. This site has gathered links for over 1,000 examples with demo code and tutorials into one consolidated area. All the links are appropriately named and easy to search. Although the title says “one stop shop”, everything here is completely free. All in all, not only will this save the time spent in searching for an example, but it also provides an image of the example when you hover over the link.

Tagged with: , , , , ,
Posted in javascript, library, visualization