• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFX and CFHTTP performance

New Here ,
May 03, 2007 May 03, 2007

Copy link to clipboard

Copied

Hello,

I have an ecommerce application that sends out information to CC processors to validate a credit card. One processor uses a cfx tag, and another uses xml via a cfhttp post. My problem is that if the requests hang or timeout, my servers performance significantly degrades. I have timeouts set on both methods, and each request is wrapped in a cflock. However it seems that if i get 5-10 timeouts at a given time, CF starts to crawl.. Are there any tips or settings to improve this? My first idea was to put those requests in an event gateway..

-thanks
TOPICS
Advanced techniques

Views

267

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 04, 2007 May 04, 2007

Copy link to clipboard

Copied

LATEST
Hi

I would suggest to read CFHTTP documentation.

secondly use result = "httpResult" attributes

<cfset httpResult = "" />
<cfhttp............ result = "httpResult" />
<cfset httpResult = "" />

<cfscript>
objSystem = CreateObject( "java", "java.lang.System" ) ;
objSystem.gc() ;
</cfscript>

I had similar issue, just try to calling GC works for me.
Important you have to take care of local scope and variables scope if you are using CFC.

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation