loader from loading.io

120 How is CFML Speed vs Other Languages? (Hint: really fast!), with Brad Wood

ColdFusion Alive

Release Date: 09/25/2022

140 BoxLang modern JVM language that runs CFML code (new CFML engine and much more) with Luis Majano and Brad Wood show art 140 BoxLang modern JVM language that runs CFML code (new CFML engine and much more) with Luis Majano and Brad Wood

ColdFusion Alive

Luis Majano and Brad Wood talk about “BoxLang modern JVM language that runs CFML code (new CFML engine and much more)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “…BX is the acronym we use a lot like our file extensions are analogous to the cold fusion file extensions. So a CFM file, we call that bxm For box Lang markup, CMS, which Lucy six had his support for, which is cold fusion script”. Show notes What is BoxLang? A new language for the JVM that includes CFML Inspired by cool CF, Groovy, Rust, Go, PHP etc Compiles into Java byte code, just like CF A...

info_outline
139 All About Adobe ColdFusion 2023 (Part 2: PDF, CCS, SSO, perf, security) with Mark Takata show art 139 All About Adobe ColdFusion 2023 (Part 2: PDF, CCS, SSO, perf, security) with Mark Takata

ColdFusion Alive

Mark Takata talks about “All About Adobe ColdFusion 2023 (Part 2: PDF, CCS, SSO, perf, security)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “…So we decided to build this thing called CCS central configuration server. And it runs at the command line, basically, and allows you to control your servers from a central location.”. Show notes Enhanced HTML-to-PDF Conversion New HTML-to-PDF conversion engine Supports new CSS features for pixel perfect PDFs Imbed audio, video and SVG Old tags features for manipulation of PDFs and forms etc still work Increased...

info_outline
138 All About Adobe ColdFusion 2023 (Part 1: containers, GCP, GraphQL, JWT) with Mark Takata show art 138 All About Adobe ColdFusion 2023 (Part 1: containers, GCP, GraphQL, JWT) with Mark Takata

ColdFusion Alive

Mark Takata talks about “All About Adobe ColdFusion 2023 (Part 1: containers, GCP, GraphQL, JWT)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “…So we support Google's version of Pub Sub. And it's fairly simple. You know, you've got a you've got someone creating a message. You've got a subscriber that you can create to listen to that message, messages of contact message that I gaze at It just have, you know, timestamps and things like that”. Show notes In this episode, we look at all the Adobe ColdFusion 2023 new features with the Adobe CF evangelist, Mark...

info_outline
137 ColdFusion Oracle Cloud Migration with MySQL (from VPS) with Scott Stroz show art 137 ColdFusion Oracle Cloud Migration with MySQL (from VPS) with Scott Stroz

ColdFusion Alive

Scott Stroz talks about “ColdFusion Oracle Cloud Migration with MySQL (from VPS)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “…And the difference between Oracle clouds version of the manage the managed MySQL database is that in Oracle Cloud, it's Enterprise Edition. So if you are using MySQL heatwave in Oracle Cloud, you're actually using Enterprise Edition”. Show notes What is Oracle Cloud? Oracle cloud services like AWS, GCP, Azure etc Servers, Storage, MySQL, AI etc OCI = Oracle Cloud Infrastructure How does it differ from AWS, GCP, Azure etc? Robust...

info_outline
136 Into The Box 2024 (all the details and speakers) with Jorge Reyes show art 136 Into The Box 2024 (all the details and speakers) with Jorge Reyes

ColdFusion Alive

Jorge Reyes talks about “Into The Box 2024 (all the details and speakers)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “...But it's just those aha moments where, Hey, I didn't know you could do that. So you can actually, when you go back home and do your job, then you can actually worry about looking more into it and implementing it. So that's kind of the idea behind all the sessions, actually.”. Show notes What is Into The Box conference? Is it only for Box products topics? No - lots of CF topics, not just Box products Do not have to use ColdBox framework...

info_outline
135 Lucee Migration (8 CFML code moving tips) with Mike Chytráček show art 135 Lucee Migration (8 CFML code moving tips) with Mike Chytráček

ColdFusion Alive

Mike Chytráček talks about “Lucee Migration (8 CFML code moving tips)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “...but we had migrated everything over and all new clients went to Lucy all new applications went to Lucy. And within I'd say maybe two years, we had probably 95% of our clients might get it off, some clients still required it”. Show notes What is Lucee? Why did you migrate to Lucee? 2018 switch from ACF  to Lucee Adobe Licensing fishing call and new licensing model per application with $10ks extra cost. “SaaS” due to Mura Per core...

info_outline
134 ColdFusion Legacy app - Is a Refactor Better than a Rewrite? with Denny Springle show art 134 ColdFusion Legacy app - Is a Refactor Better than a Rewrite? with Denny Springle

ColdFusion Alive

Denny Springle talks about “ColdFusion Legacy app - Is a Refactor Better than a Rewrite?” in this episode of ColdFusion Alive Podcast with host Michaela Light. “Refactoring is a way of taking in modernizing code that already exists, and bring it up to speed with generally modern best development practices. So you know, some object orientation, data modeling type of thing, as well as you know, either using a framework or building an application framework yourself, that hits all of the major obstacles that are that a framework will do for you generally.” Show notes Why is refactoring vs...

info_outline
133 GitHub Copilot & AI-Assisted Coding (Unlocking ColdFusion's AI Potential) with Monte Chan show art 133 GitHub Copilot & AI-Assisted Coding (Unlocking ColdFusion's AI Potential) with Monte Chan

ColdFusion Alive

Monte Chan talks about “GitHub Copilot & AI-Assisted Coding (Unlocking ColdFusion's AI Potential)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “It is an AI pair programming tool. So this helps test your programming that basically, there's another person but in this case is a AI tool, if you will, so but you will be doing most of the typing. But then that will also give you some code suggestions, if you will. And to help you with coding. So sometimes can be a short one liner, or could be one whole block of codes. So you can save a lot of typing.” Show notes...

info_outline
132 ColdFusion Hosting options with Dakota Clum and Ryan Brown show art 132 ColdFusion Hosting options with Dakota Clum and Ryan Brown

ColdFusion Alive

Dakota Clum and Ryan Brown talk about “ColdFusion Hosting options (what to consider when choosing a CF host)” in this episode of ColdFusion Alive Podcast with host Michaela Light. “……you shouldn't have to be trapped with one hosting option or one provider. So when we think about the AWS are the answers of the world, when there's a need for those specific resources are specific tooling and libraries, we want to be able to support that. So, to your point, there's no kind of lock in, or anything like that you shouldn't do one or the other, you should keep all the options open to you.”...

info_outline
131 Lucee 6 with Gert Franz, Charlie Arehart, Ben Nadel, Mark Drew, Zac Spitzer show art 131 Lucee 6 with Gert Franz, Charlie Arehart, Ben Nadel, Mark Drew, Zac Spitzer

ColdFusion Alive

Gert Franz, Charlie Arehart, Ben Nadel, Mark Drew, and Zac Spitzer talk about “Lucee 6” in this episode of ColdFusion Alive Podcast with host Michaela Light. “Welcome to the podcast. We’re coming here live from CF camp in Munich, Germany. And we are going to be talking about Lucee 6, the new release of Lucee CFML. And we’ve got some amazing experts here. Mark Drew who's done a lot of Lucee coding at distro kid. Then we’ve got Charlie Erehart, the ColdFusion troubleshooting expert giving an independent view on Lucee. Then we’ve got Ben Nadal all the way from New York City. And...

info_outline
 
More Episodes

Brad Wood talks about “How is CFML speed vs other languages? (Hint: really fast!)” in this episode of ColdFusion Alive Podcast with host Michaela Light.

"...It is freaking awesome is it to see CFML (both Lucee and Adobe) blowing the pants off other popular web frameworks. I think this sort of head-to-head comparison is great information to use when defending CFML as a battle-tested production server..."

Show notes

Why compare language performance?

  • It is freaking awesome is it to see CFML (both Lucee and Adobe) blowing the pants off other popular web frameworks. I think this sort of head-to-head comparison is great information to use when defending CFML as a battle-tested production server. (results and tests below).

Other ways to compare programming languages

  • Modern development ecosystem
    • Tools
    • IDEs
    • Libraries and frameworks
  • Modern language
  • Ease of coding (writing and reading)
  • Ease of learning
  • Connection to other systems and APIs
  • Manufacturer and community there for the long term + support
  • Ease of hiring
  • App reliability
  • Scalability
  • Security
  • Fashion / what is hot / new

What are the TechEmpower performance benchmarks that you used in your testing?

  • The benchmarks have a suite of tests, such as run 20 queries on a page and output some data, and every language and framework implements the same logic in their syntax and style. The tests literally take days to run in full and spin up each combination of language and framework in docker containers where they are hammered with oodles of traffic and then the juicy stats are recorded for sweet graphical comparisons.
  • Since 2012 in EC2, now in Docker containers. Open source.
  • The site is basically information overload. There’s just dozens and dozens of combinations of languages, frameworks, databases, web servers, etc-- and many of them are crazy fast micro frameworks you’ve never heard of which are pretty cool. You can apply a huge list of filters to try and carve down the list of frameworks to a useful size of equivalent ones.
  • See results
  • Not all the test results are the same. Play around with the site to compare your favorite languages and see how they hold up in the simple hello world tests vs the heavy lifting DB tests. I’ve stacked the cards a bit in my selections above, but I think it’s more indicative of a real world web app if we’re honest.

What languages did you compare?

  • Brad added the following to the site a year or so ago:
    • Raw Lucee server
    • Raw Adobe ColdFusion server
    • ColdBox MVC running on Lucee
    • ColdBox MVC running on Adobe ColdFusion
  • All the famous languages: CF, PHP, Python, Go, RoR, Grails etc
    • What about front ends such as React, Angular, Vue?
    • What about Java (SpringBoot), WP, dotNot, Cloture

Size of CF Docker image

  • Doesn’t matter for this test
  • May matter for clustered Docker solutions with orchestration

How did CFML perform?

Let me be the first to say Brad’s filters are pretty arbitrary. CFML does better on more complex pages with more queries than other languages. That’s because it’s got a little more overhead for a simple Hello World request (we’re talking ms here) but it’s JVM concurrency and datasource connection pooling really shine on a more complex test. As such, the link and screenshot above is for the “Data Updates” test

Languages compared:

  • Go is very fast. This is no surprise as Go is designed to be as small as possible and even discourages use of frameworks all together. I couldn’t get the filter to only show one of the Go configurations, but you can see it’s the only language that was as fast or faster than CFML in this test!
  • CFML basically came in second place out of the selected languages and frameworks. Raw CFML is faster than ColdBox as expected but it’s not a massive difference.
  • Node.js came in slower than both raw CFML and ColdBox MVC
  • Groovy (Grails) came in slower than both raw CFML and ColdBox MVC
  • Ktor jasync (Kotlin) came in slower than both raw CFML and ColdBox MVC
  • Ruby on Rails came in slower than both raw CFML and ColdBox MVC
  • Laravel (PHP) came in slower than ColdBox MVC which it is equivalent to.
    • There’s a million PHP frameworks, I picked this one because I know it’s very popular and modern.
  • Django (Python) came in dead last by a long shot (4x slower than CFML!)

Open source involvement

  • Star the repo - a like
  • Watch - a subscribe
  • Fork / Pull request - bug fixes and enhancements
    • Do your first pull request cocompetition 
  • Edit/Add docs

CommandBox database migration layer

Wrap up

  • State of CF Union survey results show that speed is never an issue for modern CF code
  • neither are security, upgrading or tools

 

Mentioned in this episode

Bio

Brad Wood

110 CommandBox Workflow Magic (modules to speed up CF development), with Brad Wood

Brad grew up in southern Missouri and after high school majored in Computer Science with a music minor at MidAmerica Nazarene University (Olathe, KS). Today he lives in Kansas City with his wife and three girls. Brad enjoys all sorts of international food and the great outdoors. Brad has been programming ColdFusion since around 2002 and has used every version of CF since 4.5. He is a software engineer at Ortus Solutions, lead developer of CommandBox CLI, and open source contributor.

Links