ColdFusion Alive

103 Cool Lucee CFML (GigaBytes file parsing and more) with Gert Franz


Listen Later

Gert Franz talks about “Cool Lucee CFML (GigaBytes file parsing and more)” in this episode of the CF Alive Podcast, with host Michaela Light.
Show notes
Why are you using Lucee at DistroKid
Fast, Secure, Scalable with cloud
Node → Lucee 
Bitbucket pipelines
CommandBox
TDD
AWS autoscaling
Tell us something about DistroKid
CF performance tuning
Know your data
Keep common lookups in memory (structure)
One background file parsing process went from 330 hours to 2 hours!
What is the advantage of Lucee over other languages
CFLoop File=fileName
20 GB text files
Index, Item 
Array of values from separators (eg comma-separated data etc)
Uses much less memory than CFFILE Read which sucks the whole file into memory
Lucee tasks 
Can continue automatically if server crashes
ParseCSV
OnBody
OnHeader
OnFooter
Asynchronous Queries to database (for Logging etc)
Loggin analytics to
Elk
Logly
Log events are added to a queue then batch added to the database in the background
Query Listeners
Checks for async query errors
SQL manipulation pre-running query
Mail Listeners
Email pre-send events
On error event
Update headers in email for test server
Future listeners
CFHTTP calls
Lucee LEX extensions
Minimum install is 21 MB - add extensions for optional features such as PDF processing, image processing etc
→ Fast load time
25-30 extensions
Extensions can be written in CFML or Java
Lucee 6 faster load time
Goal < 0.5 second
Blue-Green deployment strategy to cloud cluster
Allowing CFTag in CFScript
All CF tags have script equivalents - just remove the part and add {s 
Add trip ticks (‘’’) for code
Why cfscript
less code
less output of whitespace 
Other developers who know JavaScript can code CFscript
Avoid EnableCFOutOnly and other whitespace workarounds in CFML
Strict mode - require scoping
Lucee hidden features
Programming language choice
.Net “free” or expensive
Language Religion or Drug addiction
What are the key features you use?
How did the usage of Lucee change during your time at DK
Why are you proud to use CF?
WWIT for you to make CF more alive this year?
Show up and share your passion and love of CFML
CF dark matter x100 verbose
Mentioned in this episode
Lucee 
Redis
MemCache
Data Grid
Listen to the Audio
Bio
Gert Franz
Gert was born in 1967 and lives in Switzerland since 1997. He is one of the key people behind Lucee. Back in the late eighties he studied astrophysics in Munich but switched to later IT as a profession and programmed for several companies in the past as a database administrator and system analyst. Gert spoke a lot at all major conferences in the past and will for sure in the future. He now leads the Dev department at DistroKid.
Links
Gert (at) rasia.ch
Website
Twitter  
LinkedIn
Interview transcript
Michaela Light 0:01
Welcome back to the show. I'm here with good friends, all the way from Switzerland. And when we talk about cool new stuff in Lucee cfml, including gigabyte file parsing and asynchronous logging to the database and mail listeners, query listeners, all kinds of cool things you can do in Lucy these days and catch up with what he's been up to. So welcome, Gert.
Gert Franz 0:38
Hello, and thank you for having me back. Because you're so right, yes,
Michaela Light 0:42
it's been nearly a year it's far too long. I mean, so many things. So if you don't know who God is, he's heavily involved in the Lucy open source ColdFusion project. And since he was an astrophysicist he just decided he must do something more complicated and decided to start writing a cold fusion application server.
Gert Franz 1:07
...more
View all episodesView all episodes
Download on the App Store

ColdFusion AliveBy Michaela Light

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

5 ratings