Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with:

Pete N.

Member since Jan 4, 2010

Recent Blog Comments By Pete N.

  • ColdFusion Optimizing Case Study: Writing Orders To A CSV File

    Posted on Jan 5, 2010 at 9:40 PM

    @Ben, If it wouldn't be such a waste of a damn-fine enlisted man I'd recommend you for OCS! You are gonna be a general someday!... (little forest gump reference in case ya didnt catch it) Seems balance is the way to go. I just generated a 1.25 million record csv file in about 55 seconds. No more... read more »

  • ColdFusion Optimizing Case Study: Writing Orders To A CSV File

    Posted on Jan 5, 2010 at 1:34 PM

    Ben, Thanks for the quick reply! In the end, I may have to write to disk as you suggested. It's just so sad because the java stringbuffer performed so well. Then again, I can still use it to wrap up 20k or so records at a time, write to disk, repeat until done. Setting the initial SB size was j... read more »

  • ColdFusion Optimizing Case Study: Writing Orders To A CSV File

    Posted on Jan 4, 2010 at 10:00 PM

    Ben, It appears this is the correct format to set the SB initial size. <cfset sbOutput = CreateObject( "java", "java.lang.StringBuffer" ).Init(JavaCast("int",90000000)) /> However, this does not seem to help my problem. Thanks again in advance!!... read more »

  • ColdFusion Optimizing Case Study: Writing Orders To A CSV File

    Posted on Jan 4, 2010 at 8:07 PM

    Ben, I have implemented this solution to create a csv which I am feeding to google AdWords Editor. Works like a champ! Once I build the csv file in memory, instead of writing to disk, I dump the results to the user and the user is prompted to save the file. However, once I get to around 250,000 ... read more »