Quoting Jesse Erlbaum <[EMAIL PROTECTED]>: > Hi Chris -- > > > How is Apache::Registry "much" easier than this? As Chamas > > indicates a > > handler is somewhat faster than Apache::Registry. This speed > > margin (and > > CPU savings) is an easy comfort given the painlessness of doing so. > > I guess that's the debate -- performance verses effort in attaining that > performance.
If the performance difference you guys are talking about is the stat that Apache::Registry does on every request, then I would suggest looking at using Apache::RegistryBB on your production server, and Apache::Registry in development. Apache::RegistryBB is the 'Bare Bones' version of Apache::Registry that only compiles your code once at the first request. It doesn't do stat checks to see if the code changed, it doesn't do the x-bit check, it just compiles and caches the script. That would give you the best of both worlds... And if you want to load the script at server startup like a true handler would do, you can look at Apache::RegistryLoader. Both these modules are part of the mod_perl distribution, so they are well tested and supported. Cheers, Cees --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
