tag:blogger.com,1999:blog-225593582024-03-06T03:18:25.302-05:00mikusa.comThe journal of a software developer.Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.comBlogger59125tag:blogger.com,1999:blog-22559358.post-45526979540227595992021-11-12T14:34:00.004-05:002021-11-12T14:34:45.619-05:00Bootiful Podcast Appearance I recently got the opportunity to talk with the amazing Josh Long on his podcast, Bootiful Podcast. It was a great time and a fun conversation. We started from the beginning and talked about all things containers, Docker, Buildpacks, Paketo, and of course, Spring & Native Images.If you're new to buildpacks or looking to give them a test run, this is a great place to start. We covered a Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-37793171911968633492021-09-03T15:20:00.004-04:002021-09-03T15:20:43.593-04:00Recent HappeningsI have over the years done a lot of work with buildpacks. Both on Cloud Foundry and now with Cloud Native Buildpacks. This year I've been fortunate enough to start a job at VMware working on them full time, which I'm pretty excited about.I am primarily working to develop the Java-related Paketo buildpacks, as well as contribute to the Buildpacks project & to also maintain the Java Cloud Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-40901739020470342642020-04-24T12:31:00.002-04:002020-04-24T12:31:37.185-04:00PHP Cloud Native Buildpack UpdatesIt's been a little while since I've posted an update on the PHP Cloud Native Buildpacks. The good news is that lots of progress has been made. We've basically achieved feature parity with the old PHP buildpack and I believe the PHP CNB's should be working for most apps now!
If you're coming from the old PHP buildpack, there are some differences. This is basically a major version bump, so it was Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-2008128653065379232019-09-08T22:44:00.004-04:002019-09-08T22:44:47.104-04:00PHP Cloud Native Buildpacks Now in the Official BuilderIn my previous post, I talked about how to use the PHP Cloud Native buildpacks. It was not super tricky but required some manual work to set up. This is because the PHP CNBs were not, at the time, part of an official builder.
What's a builder? It's basically an image containing a bunch of CNBs, all ready for your use. See this link for more details.
If you are to run `pack suggest-builders`, Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-65832463556769292122019-07-04T15:12:00.003-04:002019-07-04T15:13:19.343-04:00PHP Cloud Native BuildpacksAt work, I've been helping to rewrite the PHP buildpack as a set of Cloud Native Buildpacks. The PHP CNBs are coming together, current quality is alpha, but I think they're ready enough for people to try them out and report how they work for you. This post has instructions and a demo to use the PHP CNBs.
But first, a slight digression.
A little about the architecture of the PHP CNBs. The Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-58302473835685679872019-02-17T20:10:00.002-05:002019-02-17T20:11:26.487-05:00Cloud Native BuildpacksIn the past, I've worked with buildpacks through my time using Cloud Foundry. Cloud Foundry has first class support for buildpacks, which allows you to push code and let the buildpack handle the messy parts of actually running your code. Things like installing a language runtime, installing servers, etc...
Recently the buildpacks world has expanded with the CNCF's acceptance of the Cloud Native Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-57954826773540272422018-05-18T16:25:00.005-04:002018-05-18T16:25:56.417-04:00WordPress Running on Cloud FoundryI'd previously written an article on deploying WordPress on Cloud Foundry. The process was a little clunky and has since broken, because of updates & changes to Cloud Foundry. To remedy this, I wrote a new post which was published today on the Cloud Foundry Foundation Blog.
Here's the link -> https://www.cloudfoundry.org/blog/install-scale-wordpress-cloud-foundry-2018/
Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-40245355171383789372017-01-08T19:08:00.002-05:002017-01-08T19:08:40.730-05:00Freenas: Migrating from VirtualBox to BhyveI, like many people, use the VirtualBox template jail on Freenas. I've been using this for about a year to run Crashplan. It's generally worked good, but the last couple of 9.10 maintenance updates have caused some problems (ex: The virtual machine 'xxxx' has terminated unexpectedly during startup with exit code 1). See here for more on how 9.10.2 broke the VirtualBox Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com5tag:blogger.com,1999:blog-22559358.post-61582133164374380782015-07-15T16:47:00.001-04:002015-08-21T07:40:43.009-04:002015 MacAdmins Conference at Penn State
The 2015 MacAdmins Conference at Penn State was last week. It was a fantastic conference and I had the good fortune to be able to both attend and speak at the event. If you were in one of my sessions and are looking for slides or code samples see the info below. I believe video should be available shortly and as soon as it is I'll update this post with the relevant links.
Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-7472018339711774382015-03-13T14:35:00.000-04:002015-03-13T14:35:52.771-04:00
A recent encounter with a customer resulted in a couple good questions regarding the workflow that one would use to deploy apps to Cloud Foundry in order to try for a 100% up-time. Based on that, I would share the questions and answers here.
Question #1 - How do you push updates to your application without downtime?
Currently when you push, or restart for that matter, an application Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-40537681263054367162015-01-27T07:30:00.002-05:002015-01-27T07:31:25.504-05:00As I mentioned in a previous post, I was lucky enough to be selected to speak at SpringOne2GX 2014. I co-presented at the event with Stuart Williams on our talk, Fastest Servlets in the West talk.
As you might expect, the session talked about performance of Servlet based applications running in Apache Tomcat. We'll also talked about load testing, tuning the container and presentedDan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-47630381003780425712014-12-18T08:16:00.002-05:002014-12-18T08:19:30.836-05:00Wordpress on CloudFoundryIf you're looking for a guide on how to run Wordpress on CloudFoundry, I've written a blog post for work which walks through the process.
Here's a quick overview of the article. It shows you how to...
Obtain an account with the Cloud Foundry provider of your choice
Install the cf client on your PC
Setup persistent storage for your WordPress assets
Create a MySQL Service
Configure WordPress
Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-77030935788757279832014-08-22T11:36:00.001-04:002014-09-05T14:54:25.098-04:00Debugging Java Applications on CloudFoundry
In many cases, it’s possible to run applications locally and when doing so it’s easy enough to debug them using Eclipse or your favorite Java IDE. In some cases, perhaps due to required third party services or maybe just because you want to see how it runs in a different environment, you want to run the application in CloudFoundry.
Because of the way that CloudFoundry deploys your applicationsDan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com3tag:blogger.com,1999:blog-22559358.post-61013491773905454262014-07-31T16:43:00.000-04:002014-07-31T16:43:03.922-04:00SpringOne 2GX 2014 is being held in Dallas, TX and I've been lucky enough to be selected to speak again this year. I'll be co-presenting at the event with Stuart Williams, our presentation is Fastest Servlets in the West. The session will talk about, you guessed it, performance of Servlet based applications running in Apache Tomcat. We'll also talk about load testing,Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-9561101661687180502014-07-31T16:25:00.000-04:002014-07-31T16:25:53.236-04:00Tips on Migrating to Tomat 8 - ResourcesOne of the major changes from Tomcat 7 to Tomcat 8 was a refactoring with how Tomcat handles web application resources. With Tomcat 7, there are features like aliases, VirtualLoader and VirtualDirContext that provide admins with a way to pull external resources into an app. Unfortunately, each one of these features was implemented separately so to consolidate things and make them Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com6tag:blogger.com,1999:blog-22559358.post-41213341427166128992014-03-20T10:00:00.000-04:002014-03-20T10:00:06.775-04:00SpringOne2GX VideoMy presentation from SpringOne2 GX 2013 is now available online. It's hosted on InfoQ here.
http://www.infoq.com/presentations/apache-tomcat-8
This is similar to the Webinar that Stuart and I presented last month, but a bit longer (90 mins vs 60 mins).
If you're curious about one of the other sessions from SpringOne 2GX 2013, you can the list of currently available Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-16502910049840295992014-03-11T11:00:00.000-04:002014-03-11T11:00:44.925-04:00CloudFoundry & PHP: UpdateBack in July, I released a build pack for running PHP applications on CloudFoundry. Today I'm happy to announce a significant update to the build pack!
https://github.com/dmikusa-pivotal/cf-php-build-pack
This effort is a total rewrite of the original build pack with the following goals.
Maintain clean and easily understandable detect, compile and release scripts
Execute Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-8774548122322487782014-02-26T10:32:00.000-05:002014-02-26T10:32:17.790-05:00Webinar: Introduction to Apache Tomcat 8I had the opportunity to present a webinar on Apache Tomcat 8 for my employer Pivotal. It's through the series of free public webinars that they produce on community topics such as the Spring Framework, Groovy, Grails and Java development.
Here's a link to the video and slides.
http://spring.io/blog/2014/02/18/webinar-replay-introduction-to-apache-tomcat-8
Here's a link to Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-12650399115706904832013-11-14T12:07:00.002-05:002013-11-14T12:13:41.616-05:00Book Review: Instant Flask Web Development
I was recently given the opportunity to review one of Packt Publishing's new books Instant Flask Web Development. Instant Flask Web Development by Ron DuPlain is a short, roughly 50
page, jump start that shows how to use Python and Flask to build a
web application. Despite being a short book, it covers a lot of
material. Starting at the beginning with installation and setup
Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-85783016487797768702013-11-05T08:45:00.001-05:002013-11-05T08:46:18.079-05:00Writing Build Packs for CloudFoundry
CloudFoundry Build Packs
Introduction
One of my favorite new features with CloudFoundry v2 is that users now have the ability to run any application on the system, regardless of CloudFoundry's support for a particular development stack or programming language.
This is accomplished through the new build pack system. As the name implies, a “build pack” is a set of functionality that Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com3tag:blogger.com,1999:blog-22559358.post-60325555099034991162013-08-09T09:12:00.000-04:002013-08-09T09:14:44.969-04:00SpringOne 2GX 2013SpringOne 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, Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-51593630926699770092013-07-04T23:44:00.000-04:002014-03-11T11:04:45.836-04:00CloudFoundry & 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 Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-5296895794419972952011-11-19T23:32:00.004-05:002011-11-26T09:48:28.206-05:00TomcatExpert ArticlesI 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**Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-83673572946144720842011-07-16T16:38:00.003-04:002011-07-16T16:40:33.877-04:00Packt Publishing Summer DealIf 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-offerDan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0tag:blogger.com,1999:blog-22559358.post-47400364006825721672011-07-16T16:28:00.002-04:002011-07-16T16:35:24.275-04:00Book Review - Python Testing CookbookIn an recent effort to improve my testing skills, I decided I would check out the Packt Publishing book, Python Testing Cookbook by Greg L. Turnquist. The book promises to give “simple and effective recipes for testing Python code”, starting with the most basic testing tool unittest and working into more complex tools like doctest, Nose and the BDD tool Lettuce. The book also touches on some Dan's Bloghttp://www.blogger.com/profile/00601889388934223190noreply@blogger.com0