Friday, January 28, 2011

funpiper.com - Plan Events and Parties, Broadcast and Share

I am pondering upon funpiper.com, an event management platform to take to next level with GroupOn.com like concept..anyone interested to invest!

Imagine an automated engine helping you to meet your friends with you making very little effort like answering yesy/no for a couple of times!!! Let me know if it sounds interesting to you. Write me at ajitesh at @ at gmail dot com

My Two Cents on SOA & Startups

An organization needs to spend a lot (COST) to achieve a true SOA based architecture just because SOA is not only limited to Service and their interactions. Following are areas which needs to be considered for achieving an “Agile SOA” platform:

- Service

- Governance

- Architecture

- Process

- People

- Engagement & Delivery Operation

Trust me, really speaking, it would not be very SMART & INTELLIGENT if we tell to our clients that we offer SOA based solutions. WE COULD SIMPLY BE CAUGHT UNAWARE! Simply because if we get an SOA expert across the table, we would simply find ourselves struggling with some real tough questions on SOA governance, process, service discovery, Delivery & Operations Management (ITIL) aspects of SOA. So, we rather should take caution (MAKE RIGHT CHOICE OF WORDS) when we speak to our clients that we offer SOA-based solution as it could simply backfire!

And, this is very natural that an organization cannot achieve “Agile SOA” status in first few years as no organization (especially start-ups) could IGNORE COST-EFFECTIVENESS of the solutions. Or, it will simply be DEAD!

Its very natural that in the initial years, organization would want to be happy with SOA based solution rated as “Ad-hoc SOA” status. That said, pl feel free to ask for various transitions for SOA and roadmap that an organization need to take to transition from “Ad-hoc SOA” to “Agile SOA” status.

Tuesday, January 25, 2011

Is the Java Dynasty Seeing the Beginning of the End?

This is very interesting to see that various blogs, articles have started writing about Java and its end. Well, as they say, ALL Good Things come to an end. Would this be applied to Java? I don't want to agree. But, In my past experience, I have found myself moving from C, C++ to Java and then adopt PHP and then started exploring fairly recent JVM languages such as Groovy, Scala, JRuby etc.

Tuesday, January 18, 2011

JBoss AS 6 out with JEE 6 Web Profile Specs

Following are some of key highlights of JBoss AS 6:

1. JEE 6 Web Profile Spec (JSP, EJB3, JPA, JSF, CDI). CDI stands for Contexts and Dependency Injection (JSR 299)

2. RESTEasy 2.1.0, an implementation of JAX-RS 1.1

3. Hornet 2.1.2

4. JBoss Web Services CXF

Also, Infinispan is integrated with JBoss AS 6 and is default distributed cache provider. Cache is JSR 107 compliant.

Also is delivered Mod_Cluster which dynamically discover and register to front-end apache http servers.

Monday, January 17, 2011

Performance management and Monitoring strategy for SOA

Following can be performance management and monitoring strategy that an SOA based solution architecture could adopt. Please share your thoughts.

Performance Management

- Continual performance evaluation (in TPS) of various services by making use of different stress scenarios such as following:
  1. Simple strategy: The Simple Strategy runs the specified number of requests with the specified delay between each run to simulate a "breathing space" for the server.
  2. Fixed rate strategy: Fixed rate strategy guarantees a fixed number of requests in a given time period.
  3. Variable load strategy: This strategy related to vary the load. Following are key strategies for variable load:
  • Variance: This varies the number of requests over time in a “sawtooth” manner as configured; set the Interval to the desired value and the Variance to the how much the number of requests should decrease and increase.
  • Burst: this strategy is specifically designed for Recovery Testing and takes variance to its extreme; it does nothing for the configured Burst Delay, then runs the configured number of requests for the “Burst Duration” and goes back to sleep.
  • Thread: This lets you linearly change the number of requests from one level to another over the run of the stress test. It’s main purpose is as a means to identify at which level certain statistics change or events occur, for example to find at which request count, the maximum TPS or BPS can be achieved or to find at which request count, at which functional testing errors start occurring.
  • Grid: this strategy allows to specifically configure the relative change in number of requests over time, its main use for this is more advanced scenario and recovery testing, where you need to see the services behaviour under varying loads and load changes.
  • Script: the script strategy is the ultimate customization possibility; the script you specify is called regularly and should return the desired number of requests at that current time.
- Tools such as SOAP-UI, GRINDER or Apache JMeter could be used for implementing above stress strategies.
- Java code instrumentation using custom logging framework for collecting timing for various IO (Disk/Network) tasks in any APIs.
- Distributed agents-collector based architecture to store performance metrics on a cluster of centralized log servers. This could make use of framework such as Flume (Cloudera) or Scribe (Facebook) or NIO based SocketServer implementations on centralized log server for log aggregation.
- Integration with monitoring tool such as NAGIOS for active monitoring on service performance, degradation etc.
- Web services to expose the performance metrics to internal and external consumers.
- Usage of performance metrics data for business intelligence. An ETL tool would be used for transferring data from log servers to BI server.

Monitoring

- Performance metrics monitoring based on log messages arriving in centralized log servers. This could make use of framework such as Flume (Cloudera) or Scribe (Facebook) or NIO based SocketServer implementations on centralized log server for log aggregation.
- Services and Server configuration monitoring for tracking configuration changes.
- Custom alerts for sending notifications for scenarios such as configuration changes , service degradation based on performance metrics etc.
- Web services to expose the monitoring information to internal and external consumers
- Integration with monitoring tool such as NAGIOS for active monitoring on service performance, degradation etc.
- Usage of monitoring information for business intelligence. An ETL tool would be used for transferring data from log servers to BI server.

Sunday, January 16, 2011

Top five scripting languages on the JVM

1. Groovy -- Powerful, high-level, enterprise-friendly
2. JRuby -- a better Ruby than Ruby?
3: Scala -- fast, multiparadigm programming
4: Fantom -- Java and .Net plus performance
5: Jython -- Python for the JVM

Top five scripting languages on the JVM | Developer World - InfoWorld

Some cool features of Tomcat 7

1. Configuration management for Web applications in which not everything needs to reside anymore in web.xml. One could use annotation and break config instructions in multiple files.
2. Benefits of servlet 3.0 which includes cookie management and asynchronous thread support that should increase the number of connections Tomcat can handle

Tomcat 7 finalized - JavaWorld