English 中文(简体)
CFFILE是否支持同时写入文件系统?
原标题:Can CFFILE support simultaneous writes to the file system?

我们已经编写了一个功能,允许我们的用户使用UNC路径将文件上传到nas设备。该功能尚未经过压力测试,我也不能100%相信CFFILE能够处理负载。cffile是否使用多线程来执行对文件系统的写入?cffile支持什么样的加载?

问题回答

我参与了一个项目,该项目可以多次将单独的文件同时写入本地设备,没有任何问题。我怀疑CF(或者底层操作系统)是否支持同时写入同一个文件,无论位置如何,但只要您正在写入不同的文件,同时写入就可以了。

正如Ben的回答所说,CF可以同时写入多个文件。你遇到的第一个瓶颈可能是你的硬件能支持什么。如果您开始遇到问题,请考虑专门为这些文件写入固态驱动器。





相关问题
JQuery AJAX .load - flash chart doesnt load in IE

An IE issue has me completely stumped. I have a coldfusion page that uses JQuery s AJAX .load function to load in a new flash file that is generated by coldFusion s cfchart tag. This works completely ...

Best Coldfusion Library for OpenID [closed]

I am getting ready to start a project that requires using OpenID within Coldfusion 8. I have found a number of different options and was wondering what has worked the best, get s the most support, ...

Find ColdFusion Generated ID

Is there a way to find the elements generated by ColdFusion s <CFLayout> and <CFLayoutArea> tags? These tags: <cflayout type="tab" name="MyAccount"> <cflayoutarea name="...

ColdFusion COM error

I am upgrading from CF4.5 to CF8. Calls to COM dll s that used to work in version 4.5 now throw a "Complex object types cannot be converted to simple values.." error. The COM object has a few arrays ...

What s the best way to write engine-specific CFML code?

Sometimes it is necessary to write different code for Adobe ColdFusion vs Railo vs OpenBD, due to differences in implementation. Do people have a specific method that they use for this? For example, ...

热门标签