Remah
(Just another happy Discourse user)
10월 19, 2019, 1:04오전
4
제목과 게시글 모두에 100만 명이라고 적혀 있으니 실수처럼 보이지는 않습니다. 하지만 '동시 100만 명(1M user)'에서 '동시 1천 명(1K user)'으로 주제 제목을 바꾸시는 것이 좋을 것 같습니다. 그러면 비슷한 부하를 겪고 있는 다른 사람이 실제로 어떤 설정을 사용 중인지 알려줄 수도 있을 테니까요. 참고로, 'RAW 서버’가 무엇인가요? 'RAM’을 말씀하시는 건가요?
블로그라고 가정하신 부분은 무시해도 될 것 같습니다. 포럼은 서버에 더 높은 요구사항을 부과해야 하니까요. 하지만 사용자가 실제로 무엇을 하는지도 고려해야 합니다:
hosting 카테고리에는 용량 및 확장성에 관한 유용한 주제들이 많이 있습니다. 같은 범주에 해당할 수 있는 두 가지 추정치가 있습니다:
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
P.S. 일반적인 가이드라인과 실전 사례를 통해 사람들을 도울 수 있는 주제가 생겼으면 좋겠습니다.