I know this is from earlier this year - but that a...
# lucee
a
I know this is from earlier this year - but that auto tracing of cfhttp calls is sick. Saved me hours of instrumenting service calls - https://luceeserver.atlassian.net/browse/LDEV-3810 Thanks so much for building that. Btw - the code I am working on bypasses CFHTTP for some slower web services and uses java .. something like this instead -
Copy code
local.conn = createObject("java", "java.net.URL").init(arguments.url).openConnection(); etc ...
Is that normal, or maybe something that used to be a thing and isn't anymore? Code could have been there from before it was switched to lucee. If so, then i might ditch it - or keep it for 1 / 2 dog slow SOAP calls. I tested ~100 calls over cfhttp and the java version and observed about an average 20% improvement in the java version, but TBH most of the calls are < 20ms so the saving is barely anything - and they of course miss out on stuff like LDEV-3810, plus seems easier to debug with tools like FusionReactor when you use CFHTTP.
🐛 1