1,000K(100万)人のユーザーが同時にアクセスする場合、どのようなサイズのサーバーが必要でしょうか?
また、同時に100人のユーザーの場合はいかがでしょうか?
さらに、月間1,000万回のトラフィックがある場合、どのサーバーをお勧めしますか?
michaeld
(Michael - Communiteq)
2019 年 10 月 17 日午前 11:03
2
それは、ユーザーが何をしているかによって大きく異なります。
しかし、同時に 100 万人のユーザーを抱えるフォーラムはありません。そのような数に達している一般的なウェブサイトは、ほんのわずかだと推測されます。
同時接続ユーザーが1000人の場合、どのようなサーバーサイズが必要でしょうか。
誤って1000Kと書きましたが、実際には同時接続ユーザーが1000人、あるいはもしかすると10000人でしょうか。
前提として、ブログまたはフォーラムを想定してください。ブログではユーザーのアクティビティは少ないですが、フォーラムではアクティビティが発生します。
8コアCPU + 8GBのRAWサーバーは、WordPressブログまたはDiscourseフォーラムで、同時接続ユーザー1000人を処理できるでしょうか?
Remah
(Just another happy Discourse user)
2019 年 10 月 19 日午前 1:04
4
タイトルと投稿の両方が「100 万ユーザー」となっているなら、それは間違いには見えません。とにかく、トピックのタイトルを「1M user at the same time」から「1K user at the same time」に変更することをお勧めします。そうすれば、同様の負荷を抱えるユーザーが現れて、実際に何を使っているかを教えてくれるかもしれません。ところで、「RAW サーバー」とは何ですか?もしかして「RAM」の間違いでしょうか?
ブログという前提は無視してください。フォーラムの方がサーバーに対してより高い要件を課すはずです。それでも、ユーザーが実際に何をしているかを考慮する必要があります:
hosting カテゴリには、容量やスケーリングに関する有用なトピックがたくさんあります。以下に、同程度の規模を推定した 2 つの例をご紹介します:
At that scale your server will be ample and over provisioned. A 4GB instance at Digital Ocean would probably be enough.
There are tons of metrics that define load, it is very hard to estimate:
Number of concurrent sessions
Total number of posts in forum
Anon vs Logged in breakdown (anon is WAY cheaper)
Number of uniquely secured categories
And so on…
I am planning to move a rather popular forum from SMF to Discourse. The site has been running very stable of a 1GB Rackspace cloud server, but now I am trying to figure out what would be the minimum requirements with this traffic for running Discourse at Digital Ocean.
Old stats in Finnish: Tappara.co
Members: 1500, with 100 being super active
Concurrent sessions: Can peak to 500-800 users online
Traffic: Potential for 100k page views per 24h
Posts: Thousands per month
This is a fan forum …
それ以上の規模については、8 コアの CPU と 16GB の RAM で運用されていたこのサイトがあります:
Just 15 days ago I shared a new Bitcoin and Cryptocurrency community site that my brother was putting together and it’s been an insane 15 days.
The first day that the site was live it saw a grand total of 796 pageviews – not bad, not bad, right? I was impressed but I wasn’t even remotely prepared for what was to come.
You see, the next day the site didn’t see double the number of pageviews or even triple. It didn’t see 5 or even 10X. The very next day the community site clocked in nearly 60,00…
どのサービスレベルを目指していますか?この投稿(トピック)はお気に入りで、Discourse と従来の(LAMP ベースの)フォーラムを比較しています:
Number of posts made is about the least interesting metric, even more so over such a long time period. Page views is far, far more relevant for determining needed resources. It can be a bit tricky to compare the requests and traffic patterns of a “traditional” mostly-server-generated forum to a Discourse forum, because Discourse is very API-driven, so we often serve multiple HTTP hits per “page view”, but we tend to service each HTTP request a lot quicker, so the forum appears to be a lot more…
クラウドホスティングを利用している場合、データベースのサイズがより重要になることを忘れないでください。ストレージの制限を拡張するために、より多くの費用がかかる可能性があるからです。
参考までに、意思決定の選択肢に関連する追加情報を以下に示します:
Discourse サイトで容量をシミュレーションし、その結果を確認できます:
https://meta.discourse.org/t/simulate-real-discourse-traffic/86818?u=remah
コストを検討している場合、クラウドサーバーはベアメタルサーバーよりもはるかに高価です:
Performance wise there is no comparison; building your own modern servers is crazy fast compared to what you’ll get “in the cloud”.
One brand new top-of-the-line server costs about as much as two months of EC2 web application hosting – Building Servers for Fun and Prof… OK, Maybe Just for Fun
Unless you pay many thousands of dollars per month.
Our hosting bill at he.net is $600/month for the record. That includes “unlimited” 100 Mbps on a gigabit ethernet port, 15 amps, and a full 42U loc…
特定のクラウドホストを使用する必要があるかもしれません。このフォーラムは、そのような要件に対応するためにクラウドホスティングに移行しました。
Perhaps , some high end customers require hosting on AWS cause they need to be in Europe or China, nothing is changing for our hosted customers.
I do want to do a blog post about how much faster and more predictable our hosting is than AWS at some point
追伸:一般的なガイドラインと実世界の例を支援するトピックが作成されることを願っています。
ljpp
(ljpp)
2019 年 11 月 5 日午前 8:45
5
Google アナリティクスのリアルタイムレポートによると、UpCloud.com の 6 コア/16GB RAM VPS を使用すれば、約 450 以上の同時セッションに対応できます。彼らのサーバーは世界でも最速クラスの性能を誇ります。ただし、これはあくまで概算であり、Google アナリティクスがこれを測定する最も正確な方法ではないこと、またユーザーのアクティビティ数(参加中/ログイン中/ゲスト)はケースバイケースで変動することを考慮する必要があります。
このような繁忙日は年に一度しかなく、いつも Google アナリティクス上で 450 セッションの目安付近で遅延が発生し始めます。サイトが処理できなくなると、セッション数は当然ながら急激に減少します。
こんにちは、
同じサーバー上で複数のフォーラムを運用しており、これらのフォーラムには約4万人の登録ユーザーがいます。
1日のユーザーアクセス数は平均1,500〜2,500人
1日のページビュー数は平均20,000〜26,000ビュー
1日のユーザー間返信数は平均3,000〜5,000件
将来的には、さらに多くのトラフィックが見込まれています。
データベースとRedisは別のサーバーで動作させています。
すべてのサーバーには4GBのRAMが割り当てられています。
このようなトラフィック規模に対して、どのようなリソースが適切か、概算を教えていただけないでしょうか。
よろしくお願いいたします。