BLOG.TIGABEATS.COM

A shrine where thoughts, ideas and random stuff is preserved

XMPP (Openfire) Scalability requirements

Following document was deleted along with the original source, hence to prevent it from disappearing i am reposting this here. MINIMUM REQUIREMENTS Database with a JDBC driver, or use the embedded pure Java database. Java 5: because Openfire (formerly Wildfire) is a pure Java application, it will run on any platform where Java 5 (JDK 1.5 or [...]

Extend Apache log to allow session tracking and response time logging

I used the following Configuration for httpd.conf to start logging Sessionkeys, Response times in seconds and also in microseconds, because if you are measuring performance then just seconds are not enough, however you will still need to do some work if you need to convert microseconds to milliseconds. # # The following directives define some [...]

Spring 3.0 – Getting Started

Spring 3.0 is a framework which makes it easier to create J2EE Applications by means of DI and AOP,where DI stands for Dependency Injection, also known as Inversion of Control or IoC. Dependency Injection/Inversion of Control Dependencies are given to POJO (plain old java objects) rather than that they are aware of the dependencies and get them [...]

Unix timestamp Conversion

Simple one liner Amsterdam time date -d “1970-01-01 1098181096 sec GMT1″ GMT Time date -d “1970-01-01 1098181096 sec GMT”

Automated Code review

PMD eclipse plugin, which one can extend with custom rules. There is also a Maven plugin for this: http://maven.apache.org/plugins/maven-pmd-plugin/ and Bamboo plugin: https://plugins.atlassian.com/5987 Automated html reports can be generated using the maven plugin  or Bamboo plugin during each build in bamboo in continuous manner,. and have the reports available to everyone who has access to bamboo. however PMD [...]

ATG: Tuning Apache + Tomcat

I did some tuning on Apache which vastly decreased response times. The tests show increase vast decrease in response. (see table below) which is due to the following improvements made effective by the tuning (Increased maxclients, KeepAlive on. KeepAliveTimeout etc): 1) Reusable connections to handle multiple requests from the same client, which in return causes [...]

Spring 3.0 – BeanFactory vs ApplicationContext

ApplicationContext is much the same as a BeanFactory. Both load bean definitions, wire beans together, and dispense beans upon request. But there are differences, ApplicationContext extends BeanFactory by providing additional features, see below the differences. BeanFactory: An Interface that implements Factory-Pattern A bean factory “lazily loads” all beans, deferring bean creation until the getBean() method is called. [...]

In Agra

Location: Agra I am once again writing from my hotel room, which i must share looks great!. in the morning morning i woke up at 8 and had a quick shower and got dressed quickly to be downstairs at 9am, the plan was to leave at 9 from hotel and eat somewhere outside before moving [...]

Recover IPhone contacts / AddressBook from ITunes backup

Imagine that your iphone is frozen like mine, and all your contacts are gone along with it! if you are a impatient person like me and dont want to wait any longer then keep reading and we will get your contacts for you  as long you have synched your iphone contacts atleast once with itunes. [...]

Configuring Munin-node and Munin Server

Munin is an free, efficient, lightweight and easily extendable Monitoring tool. Its consists of ‘server’ and ‘node’ packages. You can install server in a single machine and node in all other machines and then view all information/statistical data via a web interface on the server machine. This quick copy and paste howto explains steps needed [...]

Previous Posts Next posts