Code Monkey home page Code Monkey logo

isucon10-final's People

Watchers

 avatar  avatar  avatar

isucon10-final's Issues

50 秒時点: 仮想スコアフリーズ

仮想選手は、他仮想チームについては、スコアフリーズ状態になった時点までのスコアしか見られなくなります。自チームについては引き続き最新のスコアが表示されます。

N+1 会場

  • for _, clarification := range clarifications {
    var team xsuportal.Team
    err := db.Get(
    &team,
    "SELECT * FROM `teams` WHERE `id` = ? LIMIT 1",
    clarification.TeamID,
    )
    if err != nil {
    return fmt.Errorf("query team(id=%v, clarification=%v): %w", clarification.TeamID, clarification.ID, err)
    }
    c, err := makeClarificationPB(db, &clarification, &team)
    if err != nil {
    return fmt.Errorf("make clarification: %w", err)
    }
    res.Clarifications = append(res.Clarifications, c)
    }

  • for _, clarification := range clarifications {
    var team xsuportal.Team
    err := db.Get(
    &team,
    "SELECT * FROM `teams` WHERE `id` = ? LIMIT 1",
    clarification.TeamID,
    )
    if err != nil {
    return fmt.Errorf("get team(id=%v): %w", clarification.TeamID, err)
    }
    c, err := makeClarificationPB(db, &clarification, &team)
    if err != nil {
    return fmt.Errorf("make clarification: %w", err)
    }
    res.Clarifications = append(res.Clarifications, c)
    }

  • for _, team := range teams {
    var members []xsuportal.Contestant
    err := db.Select(
    &members,
    "SELECT * FROM `contestants` WHERE `team_id` = ? ORDER BY `created_at`",
    team.ID,
    )
    if err != nil {
    return fmt.Errorf("select members(team_id=%v): %w", team.ID, err)
    }
    var memberNames []string
    isStudent := true
    for _, member := range members {
    memberNames = append(memberNames, member.Name.String)
    isStudent = isStudent && member.Student
    }
    res.Teams = append(res.Teams, &audiencepb.ListTeamsResponse_TeamListItem{
    TeamId: team.ID,
    Name: team.Name,
    MemberNames: memberNames,
    IsStudent: isStudent,
    })
    }

/api/audience/dashboard のキャッシュ

GET /api/audience/dashboard
アプリケーションは、データの更新から最大 1 秒古い情報を返すことができます。ただし、ベンチマーカーが検知しない限りはそれより古い情報を返しても構いません。

スプリント会

  • 進捗報告
  • ふりかえり
  • スプリント計画
/remind here おわり @channel in 15 minutes
/remind here qkおわり @channel in 5 minutes

本番までにやることTODO

from 振り返り会 https://docs.google.com/spreadsheets/d/1RXkFGI8JZosHsd-py4kwvMZjvV5DEK_1QBTgT4OhOvc/edit#gid=0

  • ↑ で挙がった try をココに書く > @polamjag

事前

  • デプロイスクリプトで ssh するところから並列化するようにする
  • 開幕式次第の用意
    • 初手落ち着いてレギュレーション・ルールやソースコードを読みましょう
      • やれそうなことをリストアップしていきましょう
    • フォーメーションの合意
      • 一人司令塔に徹するかとか
  • スプリント会の式次第用意
    • 15分スプリント、3スプリントごとにプランニングポーカーでコスパを見積もり、コスパ順に着手
      • 諦めラインの合意
      • ハマってるやつはペアプロしたりアサイン組み替えたり諦めたりする
    • 3スプリントごとに強制的に休憩して根詰めすぎるの防止
  • インフラ作業ログスレを作る

当日

  • 合意の思い出し
    • 分散構成をとるまでは一人1ホストみたいにしてそれぞれにベンチ打つなど柔軟にやっていく

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.