Friday, August 09, 2013

SpringOne 2GX 2013

SpringOne 2GX 2013 is coming up fast! I'll be co-presenting at the event this year, which is in Santa Clara CA. My presentation, creatively titled "Apache Tomcat 8 Preview", will discuss and demonstrate the new features available in the next major release of Tomcat. Topics the talk will touch on include: the new features of Servlet 3.1 like the new Non-blocking IO and upgrade support, improvements coming with EL 3.0 like lambdas and the stream API and, of course, WebSocket support.

The conference runs from Sept 9th to Sept 12th, with my talk scheduled for the last day at 8:30 AM. If you're planning to come, register soon as early bird registration ends today, August 9th!

Thursday, July 04, 2013

CloudFoundry & PHP

Update:  This article is out-of-date.  Please see this updated article instead.

As a part of my job, I get to work on the support team for Pivotal's commercial offering of CloudFoundry. For those who don't know, CloudFoundry is an OpenSource PaaS (Platform as a Service) project that allows a developer to run his or her application without having to worry about managing and administering the back-end servers to run it.
For the past year and a half, CloudFoundry has been running as a free service for developers to test. In the last month, the service was updated to v2 or the second generation of the service. In addition to readying the service for production use, this update is a nice refinement of the system and adds some awesome new functionality in the system.
One of the nice new features is that users now have the ability to run any arbitrary applications on the system, regardless of CloudFoundry "officially" supporting that development stack. Borrowing a good idea from Heroku, CloudFoundry has added support for build packs. Build packs are a way that end users can customize the deployment environment for their applications. Out-of-the-box CloudFoundry provides build packs for Ruby, the JVM (Servlet, Spring, Grails, Play, Lift, etc...) and Node JS, but it does not end there. Users can specify an arbitrary build pack by specifying the "--buildpack" argument as they push their application to CloudFoundry. By using this argument, a user will indicate that a custom build pack should be used to build and deploy their application.
In an effort to learn more about the build pack system, I've created a new build pack for CloudFoundry to run PHP based applications. The build pack is hosted on Github here and instructions for using it can be found in the README.
With the PHP build pack, a user can push anything from a custom PHP application to phpMyAdmin or even Wordpress.
I encourage PHP developers to give it a shot, see how it works for them and post feedback to the Github project!

Saturday, November 19, 2011

TomcatExpert Articles

I recently wrote a series of two articles for the website TomcatExpert.com. The first of the two articles was published on 11/16. It is an introduction to tuning garbage collection in the JVM when running Tomcat, and discusses how to measure the performance of garbage collection.

Here's a link.

http://www.tomcatexpert.com/blog/2011/11/16/setting-measurement-garbage-collection-apache-tomcat


**Update**

The second part to my article was published on 11/22. This part talks about the commonly used JVM options and has an introduction to selecting a collector.

Here's a link.

http://www.tomcatexpert.com/blog/2011/11/22/performance-tuning-jvm-running-tomcat

Saturday, July 16, 2011

Packt Publishing Summer Deal

If anyone is interested, Packt is running a summer deal on some of their best selling titles. Looks like a couple good Python books in the mix.

Here's a link

http://www.packtpub.com/article/packts-best-selling-open-source-books-offer