Why is File Upload via IIS with Lucee Significantly Slower than Directly Through Tomcat?

I’ve found it at C:\Windows\BonCodeAJP13.settings. Increasing the performance by sixfold
but it still slower than Directly Through Tomcat

test with upload lucee-5.4.3.2-windows-x64-installer.exe 128mb
result :
case1 [default setting] 33 sec
case2 [PacketSize 65536] 5 sec
case3 [127.0.0.1:8888/index.cfm] 1 sec

1 Like

Question: I see you are testing 127.0.0.1 that is full local. Are you trying to access 127.0.0.1:80 equally? Or from a remote place/location?

I’m testing locally to exclude network problems. It would be slower remotely.
Thanks for your understanding.

Testing file uploads remotely sometimes result in pending , which doesn’t occur when going directly through Tomcat

Could you please also check this here to see if the solution also works for you?

i have try
it’s not best solution

1.upload with 500mb file , [iis rewrite] 5 sec [PacketSize 65536] 15.4 sec
2.upload big file over 500mb file three times, w3wp.exe will over 1.7GB

3.download big file with cfcontent, w3wp.exe aslo increases memory size same with file size

iis rewrite C:\inetpub\wwwroot\web.config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.web>
    <httpRuntime  maxRequestLength="2048000" executionTimeout="600"/>
    </system.web> 
     <system.webServer>
      <security>
            <requestFiltering> 
              <requestLimits  maxAllowedContentLength="2048000000"/>
            </requestFiltering>
        </security> 
        <rewrite>
            <rules>
                <clear />
                <!-- Rule to rewrite .cfm and .cfc files -->
                <rule name="ReverseProxyInboundRuleForCFMandCFC" stopProcessing="true">
                    <match url="^(.*\.(cfm|cfc).*)$" />
                    <action type="Rewrite" url="http://127.0.0.1:8888{URL}" logRewrittenUrl="true" />
                </rule>
            </rules>
        </rewrite>    
    </system.webServer>
</configuration>

IIS with AJP connector memory usage too high, I will be switching to Nginx. Thank you.

sample big file can download from here 練馬区 航空写真

Exactly… IIS is a PIG… you wil drive yourself Nutz…
Cut your losses and get off IIS