Giter VIP home page Giter VIP logo

isucon-2017's Introduction

Hello! I’m Anton Van Eechaute.

Twitter LinkedIn Projects

  • 📚 Currently working on Tadoku, a language learning reading contest
  • 🚗 Currently building matching systems @ indeed.com.
  • ⏰ Previously
  • 🌱 I’m currently diving deeper into distributed systems and cloud infrastructure
  • 🚶 Endlessly learning languages, now working on my Mandarin Chinese after a decade+ of learning Japanese
  • 📫 You can reach out to me on Twitter if you need to contact me

isucon-2017's People

Contributors

antonve avatar wakwak3125 avatar yamadayuki avatar

Stargazers

 avatar

Watchers

 avatar

isucon-2017's Issues

Notes

ISUCON

Application

  • Add indexes
  • Rewrite all SELECT * queries
  • Check for query LIMIT
  • Check for queries inside loops
  • Check for unnecessary indexes
  • Check for unnecessary JOIN and WHERE conditions
  • (if it's a slow framework) rewrite into Echo
  • Check go version on the server
  • Set content type for response ourselves

Benchmarking

go get github.com/adjust/go-wrk
go-wrk -d 5 http://....

Instrumenting with flame graphs

go get github.com/uber/go-torch
go-torch -t 5

Instrumenting with pprof

import _ "net/http/pprof"

Run go-wrk for 1 min

go tool pprof --seconds=5 localhost:8080/debug/pprof/profiles

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.