|
Prev: CF8 cfchart and ajax
Next: Date Issue
From: jl on 9 Apr 2008 16:12 Hello, We are using Coldfusion MX 7 on a Windows 2003 server SP2, 3Gigs RAM, 4 CPUs (2 dual core), SUN JVM 1.4.2_11, Min & Max JVM Heap sizes = 512, simultaneous request limit = 24. I created a CFC which does a cfhttp call to a remote SaaS application. Included on almost every page of our website is an iframe that calls the CFC. When I invoke the CFC with cfinvoke and I do not call it as a service it works fine under normal load. I created a web service using this cfc, when I invoke the cfc as a web service the CF process hangs and has to be restarted. I then downloaded Microsoft's Virtual PC 2007 and in a virtual machjine downloaded MicroSoft's Web Aplpication Stress 1.1. After some testing with numerous simultaneous users settings I found a point at the CF server will hang up and have to be restarted when using the web service. When I change the .cfm to not use a web service but simply call the cfc the CF server does not hang and response from the website is acceptable. Any suggestions on how to figure out why the web service hangs the server while the same number of calls to the cfc without using a web service is ok? It looks like a JVM issue but am not 100% sure at this point. Any help is greatly appreciated. Joe
From: GArlington on 10 Apr 2008 04:45 On Apr 9, 9:12 pm, jl <jo...(a)rcn.com> wrote: > Hello, > We are using Coldfusion MX 7 on a Windows 2003 server SP2, 3Gigs RAM, > 4 CPUs (2 dual core), SUN JVM 1.4.2_11, Min & Max JVM Heap sizes = > 512, simultaneous request limit = 24. I created a CFC which does a > cfhttp call to a remote SaaS application. Included on almost every > page of our website is an iframe that calls the CFC. When I invoke the > CFC with cfinvoke and I do not call it as a service it works fine > under normal load. I created a web service using this cfc, when I > invoke the cfc as a web service the CF process hangs and has to be > restarted. > > I then downloaded Microsoft's Virtual PC 2007 and in a virtual > machjine downloaded MicroSoft's Web Aplpication Stress 1.1. After some > testing with numerous simultaneous users settings I found a point at > the CF server will hang up and have to be restarted when using the web > service. When I change the .cfm to not use a web service but simply > call the cfc the CF server does not hang and response from the website > is acceptable. > > Any suggestions on how to figure out why the web service hangs the > server while the same number of calls to the cfc without using a web > service is ok? It looks like a JVM issue but am not 100% sure at this > point. > > Any help is greatly appreciated. > > Joe If you cfc is local to your web app, why in hell would you want to call it as webservice? Webservice is by definition remote, the only reason to use it is if you can not cal it in any other way... BTW: from my experience I would say that simple http call (<cfhttp .../ >) is faster than calling the webservice too.
From: jl on 14 Apr 2008 09:39 We may create web services to be offered remotely and I just created this to test ColdFusion's ability to handle web services over all. Regardless the question is about tuning and resolving the server's poor performance with regards to web services, not application design, but thanks for your feedback on that. > > If you cfc is local to your web app, why in hell would you want to > call it as webservice? Webservice is by definition remote, the only > reason to use it is if you can not cal it in any other way... > BTW: from my experience I would say that simple http call (<cfhttp .../ > > > > >) is faster than calling the webservice too.- Hide quoted text -
|
Pages: 1 Prev: CF8 cfchart and ajax Next: Date Issue |