Archive for opensource

[tekwalk] perform performance test using Multi-Mechanize

Posted in Blogroll, tutorial with tags , , , , , , , on June 23, 2013 by abhishekkr [18/May/2013]

What? multi-mechanize is an OpenSource load testing framework written and configurable in Python. So either make calls to any web service or simple import and utilize any python-accessible API/service.
It’s successor of an old Python load testing framework called Pylot.

Developed and maintained @GitHub

Install available through ‘pip’ too as
pip install multi-mechanize
It also requires matplotlib library if you wanna view Graphs in the generated HTML report (or otherwise), BUT it’s not mandatory as the framework would perform all tests fine with an import error for matplotlib.

This also follows a……

… here for full blogpost

[just.few.tuts] Beginner’s Guide to OpenStack : Basics of Nova #Part.2

Posted in Blogroll, tutorial with tags , , , , , , , , , , , , on April 30, 2013 by abhishekkr []

parts of Beginner’s Guide to OpenStack to read before this ~
Part1: Basics

[Part.2 Basics of Nova] Beginner’s Guide to OpenStack

# Nova?
It’s the main fabric controller for IaaS providing Cloud Computing Service by OpenStack. Took its first baby steps in NASA. Contributed to OpenSource and became most important component of OpenStack.
It built of multiple components performing…..

# Components?
Nova stores states of virtual machines in a central database. It’s optimal for…..

# API Style
Interface is mostly RESTful. Routes (python re-implementation of Rails route system) packagesmaps URIs to…..

# Threading Model
Uses Green Thread implementation by design using eventlet and greenlet libraries. This results into single process thread for O.S. with it’s blocking I/O issues. Though…..

# Filtering Scheduler
In short it’s the mechanism used by ‘nova-scheduler’ to choose the worthy nova-compute host for new required virtual machine to be spawned upon. It prepare…..

# Message Queue Usage
Nova components use RPC to communicate each other via Message Broker using PubSub. Nova implements (request/response, API acts as consumer) and rpc.cast (one way, API acts as publisher)…..


…click here to read full post

[just.few.tuts] Beginner’s Guide to OpenStack : Basics #Part.1

Posted in Blogroll, tutorial with tags , , , , , , , , , , , , , , , , , , on April 30, 2013 by abhishekkr [17/Apr/2013]

OpenStack ( is an OpenSource cloud computing platform that can be used to build up a Public and Private cloud. As in weaving of various technological components to provide a capability to…..

# Quick Hands-On
DevStack ( gives you the easiest fastest way to get all OpenStack components installed,…..

# Components?

OpenStack Cloud Platform constitutes of mainly following components:

Message Queue Service is used by most of the OpenStack Compute services to communicate with each other using AMQP (Advanced Message Queue Protocol) supporting async calls and callbacks.

# Weaving of Components

asciigram: openstack ~ evolution mode, how varied components are connected

…click here to read full post

[just.few.tuts] MessQ : message queue for quickly trying any idea

Posted in Blogroll, tutorial with tags , , , , , , , , on April 30, 2013 by abhishekkr [3/Feb/2013]

Past some time while trying up some set-up based on Message Queue at infrastructure… needed a quick to set-up, localhost friendly, network available Message Queue service to try out ideas.
So here is Mess(age)Q(ueue). Something quickly thrown together. Would work later to get it more performance oriented, good to go with smaller projects.


A Quick Tryout

[+] Install
$ gem install messQ –no-ri –no-rdoc
[+] Start Server (starts at on port#5566)

$ messQ –start
[+] Enqueue user-id & home value to the Queue
$ messQ -enq $USER
$ messQ –enqueue $HOME

[+] Dequeue 2 values from Queue

$ messQ -deq
$ messq –dequeue
[+] Stop Server
$ messQ –stop

Via Code….

…click here to read full post

[] FSF Richard Stallman reports Spying Ubuntu; Canonical getting offensive

Posted in AbhishekKr, Uncategorized with tags , , , , , , , , on December 11, 2012 by abhishekkr [10/Dec/2012]

One of the most (the most for some years) popular Debian-based Linux Distro, Ubuntu has been found to be using a user behavior analyzing feature to serve more user need accurate advertisements.

RSM did compared it to a proprietary malware product doing user surveillance for self-profit. As in selling out there users for money which trusted the software because of it’s promotion by various OpenSource promoters and users (at least me and people I know) tried/use it  under the pretenses of it being on the guidelines of Free Software.


There have been a reply to it by few people, one being from Jon Bacon (some Ubuntu Community Manager) which came to my notice from HackerNews Top List.

He calls RSM being Childish on his stand…..

… here to read full post

[justfewtuts] xml-motor ~ what it is; how & why should you use it

Posted in ABK Labs, Blogroll, tutorial with tags , , , , , , , , , , , , , on April 10, 2012 by abhishekkr [5-March-2012]
View As Presentation:

Late 2011, I started with a new rubygem project for parsing xml, html content.
@GitHub     :

Just created it to test out my work at compact, quick & easy xml-parsing algorithm… can see that

So, currently this is a non-native, completely independent less-than-250 ruby-LOC available as a simple rubygem to be require-d and use in an easy freehand notation and match with any node attributes.

… here to read this full original post

[justfewtuts] messQ ~ just a fun little project providing socket-based Queue service

Posted in Uncategorized with tags , , , , , , on April 10, 2012 by abhishekkr [5-March-2012]

messQ is a small project started to implement and improve in the areas of message queue mechanisms.

What it does currently? Just a Network Service to be connect and enqueue/dequeue messages.

What it requires? Ruby, terminal and your fingers 🙂

Git it:           $ git clone git://

Start messQ server:       $ ruby messQ.rb
This starts a message queue server at  port 8888.

Enque new message:
Open a connection at port 8888, then say “enq MESSAGE_TO_BE_QUEUED“.

Deque oldest message:
Open a connection at port 8888, then say “deq“. It returns the dequed message.

… here to read full original post