一个论坛会生成多少个文件? (针对托管问题)

发布于 2024-10-09 17:52:22 字数 153 浏览 0 评论 0原文

我仍在寻找合适的主机...但是所有无限空间、无限带宽主机...的文件数量(索引节点)有限...通常为 50,000 个,所以我的问题是...例如在论坛中。 ..每个线程是否都会生成一个新文件?主要是在 smf 上......如果有人也知道问答网站的相同问题......提前致谢......和平

i am still looking for the appropriate host ... but all the unlimited space unlimited bandwidth hosts .... have a limited number of files (inodes) ... usually 50,000 so my question is ... in the forums for example ... does every thread generate a new file or not ?? mostly on smf .... and if any one know the same issue for a question and answers website too ... thanks in advance .. peace

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

鸩远一方 2024-10-16 17:52:22

除了缓存之外,它不会生成任何内容,只是限制用户可以发布的附件,仅此而已。

It doesn't generate anything except cache, just limit attachments that users can post and that is it.

云醉月微眠 2024-10-16 17:52:22

这取决于论坛软件 - 大多数论坛软件将讨论保存在数据库中,因此此活动不会生成新文件。可能的例外:用户上传的附件可能存储在磁盘上,但这可以通过使用外部图像托管服务(例如 Imgur)来克服。

一些论坛具有带文件存储的内置缓存机制,但这可能是 a) 限制为给定的大小/文件数量,或 b) 完全关闭。

一般来说,实际文件的数量与内容无关,并且变化不大;事实上,可以(尽管不切实际)将所有代码存储在一个文件中,并从那里生成所有页面。

That depends on the forum software - most of them keep the discussions in a database, so there would be no new files generated by this activity. A possible exception: user-uploaded attachments might be stored on-disk, but this could be overcome by using external image hosting services (e.g. Imgur).

Some forums have built-in caching mechanisms with file storage, but this could be a) limited to a given size/file count, or b) turned off altogether.

In general, the number of actual files is independent of the content - and doesn't change much; in fact, it would be possible (albeit impractical) to have all the code stored in a single file, and generate all your pages from there.

安静被遗忘 2024-10-16 17:52:22

大多数论坛(甚至可能是所有论坛)都将是数据库驱动的,而不是文件驱动的。正如 webarto 所提到的,有些可能会将附件存储在文件系统中,而另一些可能会将附件存储在数据库中。有些甚至可能支持将它们存储在 Amazon 的 S3 存储中,这意味着您不必担心超出限制。

因此,您在系统上拥有的唯一文件将是实际的论坛代码。根据论坛和语言的不同,这个数字可能会有很大差异,但远低于 50,000。

Most forums (maybe even all) are going to be database driven and not file driven. Some, as webarto alluded to, may store attachments in the file system and others may store them in the database. Some may even support storing them in Amazon's S3 storage which would mean you wouldn't have to worry about going over the limit.

So the only files you'll have on the system will be the actual forum code. Depending on the forum and the language this can vary greatly but you'll be well under 50,000.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文