Fun stuff. Yep the createUUID is expensive specially on older jvm's. 1.6
family which CF8 runs on is better. It is, I believe a single threaded
operation at it's core, due to the fact it needs a time stamp to avoid
repeats. I read a blog post recently that had similar problems with uuid
but with cftokens -
http://www.webapper.com/blog/index.php/2009/05/05/createuuid_friendly_function_or_server_killer/
It's funny because we were talking about over abstracting at the last
meeting. OO is great but developers can take things too far.
John
[email protected]
shawn gorrell wrote:
You got it. Basically a way of giving each instance a unique number.
For what reason? I have no idea. Much better ways to accomplish
exactly the same thing. The app came out shortly after CFC's came
about, so I think there was some irrational exuberance about objects
in play. Some people have gotten over that mindset, and others have
gotten even worse. Sometimes I long for the days when CF was actually
simple. There are people in the community that are trying to make it
as complex as Java. When CF reaches that point, I'll just quit doing
it and write Java code instead. Why deal with a middle man if the
coding is going to be equally hard? This isn't me ranting about a
desire to get rid of CFC's, far from it, but I do think that not
everything has to be an object and not everything needs to be some
pristine example of OO genius. I find "necessary complexity" (meaning
simplicity) to be far more elegant.
------------------------------------------------------------------------
*From:* Cameron Childress <[email protected]>
*To:* [email protected]
*Sent:* Friday, May 8, 2009 10:53:02 AM
*Subject:* Re: [ACFUG Discuss] Encrypting URL Parameters
I'll take your word on it. Let me guess - they are generating a UUID
in the init() of every CFC, and instantiating a new CFC for each day,
week, month, and event - and more.
-Cameron
On Fri, May 8, 2009 at 10:36 AM, shawn gorrell <[email protected]
<mailto:[email protected]>> wrote:
> Download the open source version of CalendarInfusion and try it out.
You'd
> be surprised how easy it is to crush a CF7 server if you have a calendar
> with a ton of events and just a little bit of traffic.
--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [email protected] <mailto:[email protected]>
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink <http://www.fusionlink.com>
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------