Category Archives: technology
Performance testing, slow clients, and how to simulate slow connections.
In general, performance testing is a set of methods, tools, and metrics with a target goal of knowing of how our service performs under the load. Managers come to the performance testers saying, guys we developed a pretty fast performed … Continue reading
Filed under technology
Installing and configuring rsync server on CentOS 5 and use rsync client.
Sometimes you need to copy some files to one or number of the remote hosts and keep them updated with the latest version. In my example, I will be running performance tests and want to make sure each agent has … Continue reading
Filed under technology
Using Sinatra inside the Ruby Class and keep configuration data separately
Sinatra, http://www.sinatrarb.com is the very useful framework in Ruby if you need to build a web-service processing various requests – I suggest to use it to every team as a Mock QA environment where you can SIMPLY generate any type … Continue reading
Filed under technology
Sample of using log4r with Ruby classes, local and global loggers.
That is a very popular family of the loggers, people use when they develop a code in various languages like log4j for Java,. Today we will be talking about log4r, logger for Ruby, and I will show you of how … Continue reading
Filed under technology
Simple connection pool for MySQL implemented in Ruby
I needed a simple mysql connection pool in Ruby supporting get/release connection from/to pool and delete a connection pool on the end. That is the code, together with unit tests – samples of the usage, and test runner #!/usr/bin/env ruby … Continue reading
Filed under technology
Linux equivalent of prstat
I was intently used prstat Unix command on Sun Solaris trying to gather the information of number of the threads per process trying to audit the software fired threads per request to perform an action (need to skip details of … Continue reading
Filed under technology
Grinder, a Java Load Testing Framework. Using custom headers, cookies and payload in GET, PUT, POST, DELETE, OPTIONS HTTP methods
Adding headers, cookies, and payload for various HTTP methods in Grinder, a Java Load Testing Framework, is unfortunately, is not intuitively clear. So the following sample should make life much easier: we specify custom header, cookies, and payload for the … Continue reading
Filed under technology
Installing Ruby, RVM, JRuby on CentOS 5
Ruby RVM, or Ruby Version Manager is a very convenient way of running multiple versions of ruby/jruby on the same machine without install/uninstall it every time. It also applies with using different ruby gem verionsets. You should be aware, that … Continue reading
Filed under technology
Native Data class in Ruby 1.8 is much slower than Date::Performance – class Data, partially re-written to C
http://blog.pluron.com/2009/04/ruby-date-class.html https://github.com/rtomayko/date-performance Unfortunately, it is for 1.8 only. It will not compile on 1.9 rtomayko commented January 15, 2010 Oh, now that I think about it, it’s going to take a lot of work to get date-performance running under 1.9. … Continue reading
Filed under technology
Running Grinder console on EC2 cloud or fixing “java.lang.Error: Probable fatal error:No fonts found”
I was trying to run Grinder console on EC2 cloud, and that is my log of what happened. 1. Yes, I setup the “X” forwarding, and you can read it here of how it was setup. 2. However, trying to … Continue reading
Filed under technology