I am using Railo and EHCache to cache an array of 300,000 items from a database that need to be updated every 30 minutes.  So, naturally, I use the CacheGet() and CachePut() functions. Here’s my code, really simple: <cfset cachedURLList = cacheGet(“URLList”)> Every few minutes I would get an error report from our server….”variable [CACHEDURLLIST] doesn’t exist”.  I realized that CacheGet() must return the object by reference.  I am only caching URLList for 5 minutes.  I must have been making a request at the 4:30 minute mark, the requests each last 90…

Read More

I’m following up on my CFSummit 2013 blog post, a few people have asked me about this, so I wanted to make a page dedicated to this topic. ColdFusion 10 ships with Solr version 3.4 (Solr Specification Version: 3.4.0.2012.02.02.15.09.05 ).  It looks like they got the source code from the git repository on February 2nd, 2012.  In my application that I was writing, I was indexing a huge amount of data (full text of PDF files).  The solr instance bundled within ColdFusion couldn’t handle the amount of data that I…

Read More

So I went to my first developer conference last week, the Adobe ColdFusion Summit 2013 hosted by Adobe at the Mandalay Bay Hotel and Casino in Las Vegas.  It was my first time meeting a lot of people in the community. The keynotes were great, they really got me excited for ColdFusion Splendor, which should come out sometime next year.  I’m skeptical of the new <cfclient> tag, but I’ll give wait until CF11 comes out and I have a chance to use it before I completely write it off. I…

Read More