文件每秒写入 [英] File writes per second
本文介绍了文件每秒写入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想以高访问率登录我的网站。您可以每秒执行多少次写入日志文件?
I want to log visits to my website with a high visits rate to file. How much writes to log file can I perform per second?
推荐答案
如果您无法使用Google Analytics使用你的网络服务器现有的日志系统?如果您使用的是真正的网络服务器,那么它几乎可以肯定是一个已经优化的日志记录机制,可以获得最大的吞吐量。
If you can't use Analytics, why wouldn't you use your webserver's existing logging system? If you are using a real webserver, it almost certainly as a logging mechanism that is already optimized for maximum throughput.
您的问题在所有其他方面都是不可能的。可能的写入次数由硬件,操作系统和来自其他正在运行的软件的争用决定。
Your question is impossible to answer in all other respects. The number of possible writes is governed by hardware, operating system and contention from other running software.
这篇关于文件每秒写入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文