Quick guide to Websphere MQ

It is the Messaging style of communication the communication takes place between Queue Managers. Firstly the application program writes to the some name queue then the queue manager determines the location of those queues and handles all of the communication. MCA ( Message channel agent ) is the Queue Manager program to perform the network […]

Putty and Plink command line options

Putty can be used as remote ssh client tool. However today I learn few tricks on it. It can be used as command line tool to execute script on remote server. command prompt > putty.exe -t -ssh -l user -pw passwd -m C:\Users\irfan\Documents\run.txt host  *Replace user, passwd and host with actuals. Carate run.txt file in your documents […]

The Financial Information eXchange (FIX) Protocol

It is a series of messaging specifications for the electronic communication of trade-related messages. Example of FIX message (Tag Value pair) 8=FIX.4.1^9=0235^35=D^34=10^43=N^49=VENDOR^50=CUSTOME^56=BROKER^52=19980930-09:25:28^1=XQCCFUND^11=10^21=1^55=EK^48=277461109^22=1^54=1^38=10000^40=2^44=76.750000^59=0^10=165 Fix message divided into 3 main category Header Fix version sender receiver type of message Body order type symbol qty price Footer checksum – used to avoid the transmission error Let us now understand above example […]

Upgrade Perl modules using cpan autobundle

It’s become bi weekly task to keep updated your Perl distro. To achieve it I use following commands Above command will generate a snapshot pm file. This file will include list of modules require upgrade. Example Snapshot_2012_05_01_01.pm You can recheck the file and list of module with respective version. You have a facility to remove […]

Perl6 rakodu on Mac OS X version 10.7.3

download rakudo perl6 src from git https://github.com/downloads/rakudo/star/rakudo-star-2012.04.tar.gz perl Configure.pl –prefix=<DIR> –gen-nqp –gen-parrot <DIR> directory where you want to push the binaries of perl6 It will avoid clash with existing Perl version running in system After command executed successfully check prefix dir, it should show following dir’s drwxr-xr-x 3 root staff 102 Apr 29 23:06 share […]

MySQL processes slowing down host server

Site is overloading the server MySQL InnoDB database with approx 2gb data. Quite a few sleeping MySQL processes that could be the cause. Before drilling down in code I would like to make few tweaks to mysql db configuration.Reduce the MySQL wait_timeout value to 3 seconds and increasing the number of allowed connections.Apparently, persistent connections […]