• ถ้าเราซื้อคอม i7 มาลง linux เปิดเป็นเซิฟเวอร์เกมออนไลน์หรือบริการ ต่างๆ (เช่นส่งข้อความ)

  • ในทางปฎิบัติสามารถทำได้จริงมั้ยคับ

  • ต้องใช้เน็ตของอะไร

  • ถ้าไฟดับมีมาตรการสำรองไฟยังไง

  • ใช้อะไรเป็นระบบ DB

  • ทำยังไงไม่ให้ crash และเปิดได้ 24/7

ขอบคุณคับ

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

ถ้าเราซื้อคอม i7 มาลง linux เปิดเป็นเซิฟเวอร์เกมออนไลน์หรือบริการ ต่างๆ (เช่นส่งข้อความ)ในทางปฎิบัติสามารถทำได้จริงมั้ยคับ

ทำได้ครับ

ต้องใช้เน็ตของอะไร

เน็ตบ้านก็ได้ครับ (แต่ความเร็วต่ำมาก) และอาจจะต้องใช้คู่กับ dynamic dns เพราะปรกติผู้ให้บริการอาจจะเปลี่ยนไอพีเราไปเรื่อย ๆ

ถ้าไฟดับมีมาตรการสำรองไฟยังไง

UPS

ใช้อะไรเป็นระบบ DB

อะไรก็ได้ ที่นิยมยังเป็น MySQL กันอยู่มั้ง

ทำยังไงไม่ให้ crash และเปิดได้ 24/7

ใช้อุปกรณ์ที่เกรดดีหน่อย (หรือใช้ Server-Grade ไปเลย) และใช้ OS ที่มีเสถียรภาพสูงๆ ออกแบบมาสำหรับ Server โดยเฉพาะ

คหสต. ผมว่า ใช้ VPS คุ้มกว่ามากครับ ทั้งเรื่องของความเร็วและความน่าเชื่อถือ ถ้าใช้ Load เยอะก็ Co-Location ดีกว่า

ถ้าคิดจะทำ server
internet speed ต้องคิดกลับกัน
จาก down เป็น up
up เป็น down

อย่าง package บ้านเรา สมมุติ 10M/512K
ถ้าเรียกจากขางนอกคือ 512K/10M

ใช้มือถือ Edge เผลอๆจะวิ่งเร็วกว่า

ถ้าเราซื้อคอม i7 มาลง linux เปิดเป็นเซิฟเวอร์เกมออนไลน์หรือบริการ ต่างๆ (เช่นส่งข้อความ)

  • เกมออนไลน์ (ส่วนใหญ่เช่น fps rts แต่ยกเว้น mmo) และ บริการส่งข้อความ ขึ้นอยบู่กับตัวเกมส์ สามารถทำเป็น p2p ใด้ครับ

  • เสปค i5 หรือต่ำกว่านั้นก็ใด้ เพราะ server ไม่ใด้ render เวป แต่ก็ขึ้นอยู่กับว่า host อะไร มากแค่ใหน web board ประมาณ 10-20 เวป แค่ i3 ก็ over kill แล้ว เกมส์ fps rts ไช้จับคู่และเก็บ score ไม่น่าจะไช้ทรัพยากรณ์เยอะ mmo มีการเคลื่อนใหวตลอด ต้องไช้ ram และ banwid เยอะ แต่ถ้าจะ host video ก็ต้องแรงหน่อยเพราะมีการแปลงไฟล

  • ส่วนสำคัญคือ hdd และ ram เพราะ server ต้องส่งไฟลต่างๆ เป็นงานหลัก และหากมี ram เยอะ ก็ทำ disk cache ใด้เยอะ

ในทางปฎิบัติสามารถทำได้จริงมั้ยคับ

  • ใด้ ขึ้นกับ load ว่ามากขนาดใหน

  • สมัยก่อนผมเคยไช้ p4 ทำ ragnarok เถื่อนเล่นกับเพื่อน (เล่นกัน 5 คน) cpu แทบไม่ไช้ (แน่หละ)

ต้องใช้เน็ตของอะไร

  • ไม่ใด้กำหนด ถ้าเป็น dynamic ต้องมีขา upload มากหน่อย ส่วนของ static หากมี user น้อยก็ไม่เป็นไร user เยอะก็จะใด้ cacheing proxy ที่ isp ช่วย

  • แน่นอนว่าต้องค่อยๆปรับเปลี่ยนตามปริมาณการไช้งานอยู่ดี

ถ้าไฟดับมีมาตรการสำรองไฟยังไง

  • เล็กๆ ups ใหญ่ๆ เครื่องปั้นไฟ

ใช้อะไรเป็นระบบ DB

  • เลือกเอาตามสดวก

ทำยังไงไม่ให้ crash และเปิดได้ 24/7

  • ง่ายสุดคือตั้งเครื่องสำรอง (ช่วยให้ down time สั้น)

Architec Mon, 25/05/2015 - 07:17

  • ได้
  • Leased Line นอกนั้นเลิกคิดได้เลย
  • UPS ไม่งั้นก็ควักตังค์ซื้อ Generator เสริมอีกชั้น
  • คิดเอง
  • ทำ HA, DR, บลาๆๆๆ ทั้งหมดทั้งมวล ยกไป IDC หรือเช่า Cloud เหอะ จบ ถูกกว่าด้วย

ตอบรวมๆ จากที่เฝ้าอยู่ ของที่ทำงาน

คอมไรก็ได้ก็ทำ Server ได้ ความแรงก็แล้วแต่การใช้งาน

ได้

เน็ท อะไรก็ได้ ถ้า IP ไม่ fix ก็ต้องหาเทคนิคอื่นๆ ช่วย เช่น Dyn DNS ไรงี้ หรืออื่นๆ แต่ขอให้ upload เยอะหน่อยเน้นขาเข้า มองกลับด้าน ถ้าได้ Leased Line จะเสถียรกว่ามาก นิ่งๆ เลย

ไฟ ง่ายๆ ก็ UPS ดับนานก็ปล่อยดับละครับ ฮ่าๆ

DB ก็แล้วแต่การใช้

หาเครื่องดีๆ ทนๆ , disk raid ไว้ , network ก็ Teaming ไว้

สุดท้าย เช่า Colo นิ่งสุด bandwidth ก็ได้เยอะ ไฟก็ไม่ห่วงเลยครับ รันยาวๆ ฮ่าๆ