Upgrade to Pro — share decks privately, control downloads, hide ads and more …

2019 - COSCUP - 復活一個 Browser Game - Unlight 開源事件

2019 - COSCUP - 復活一個 Browser Game - Unlight 開源事件

蒼時弦や

August 18, 2019
Tweet

More Decks by 蒼時弦や

Other Decks in Programming

Transcript

  1. •Adjust Cpuset to fix database on specify cores •Adjust Swappiness

    to prevent use disk •Adjust Full Table Index to cache small table
  2. •DAU about 500 online players •Rows grow fast
 Only two

    weeks we have 10M ~ 20M rows •1 Developer
 1 DevOps
 1 Player Support
  3. •ZenDesk - Player support •SmartLook - Client Debug (for HTML5)

    •Asana - Issue Tracking •AWS - CDN/Monitoring •Discord - Co-working
  4. func AuthCmd(name string) []byte { buffer := new(bytes.Buffer) binary.Write(buffer, binary.BigEndian,

    uint16(1)) binary.Write(buffer, binary.BigEndian, []byte(name)) return buffer.Bytes() }