The power of CFML,
now on a Raspberry Pi

Category Filtering: 'cfml'

Starting the CFML Server On Boot

CFML, ColdFusion, CommandBox, Raspberry Pi

Tonight, AJ Mercer asked me on Twitter if it was possible to start the CommandBox server on boot.  This is what I threw together to ensure this blog will come back online in the event of my Raspberry Pi losing power or just being rebooted for maintenance.

I followed these instructions on how to make a script that runs on startup


Performance Tests Show Over 1000 Requests Per Second

CFML, ColdFusion, CommandBox, ContentBox, Raspberry Pi

When I installed CFML on a Raspberry Pi, top performance was really the least of my worries.  I'm using ContentBox Modular CMS which allowed me to get this site up and running (via the CommandBox CLI) literally in about 30 minutes after booting a Raspberry Pi for the first time in my life.  

This was incredibly easy and the site performs great for a single page page load with its in-memory H2 database.  Hitting the home page locally loads in less than 200ms.  Of course, ContentBox is a full-fledged CMS running on Hibernate ORM with theming support, dynamic content rendering, and modular plugins.  It's not necessarily optimized for an embedded device.  However, I'm still able to get about 15 requests a second to a ContentBox page which is a decent amount of traffic.



Say Hello to CFML on a Pi

CFML, CommandBox, ContentBox, Raspberry Pi

Please welcome the newest CFML site on the Internet.  This one's a little different though because it's running on a $35 device called a Raspberry Pi 2.  These newer versions have 1GB of RAM and a 900MHz quad-core CPU.  The CMS in use is ContentBox Modular CMS and is running on the embedded server of CommandBox (Undertow and Railo Lucee).  

Comments are currently closed