Giter VIP home page Giter VIP logo

infra-subway's People

Contributors

brainbackdoor avatar mindock avatar

Watchers

 avatar

infra-subway's Issues

[안정적인 서비스 만들기 1단계] 부하 테스트

  • 테스트 전제조건 정리
    • 대상 시스템 범위
    • 목푯값 설정 (latency, throughput, 부하 유지기간)
    • 부하 테스트 시 저장될 데이터 건수 및 크기
  • 각 시나리오에 맞춰 스크립트 작성
    • 접속 빈도가 높은 페이지
    • 데이터를 갱신하는 페이지
    • 데이터를 조회하는데 여러 데이터를 참조하는 페이지
  • Smoke, Load, Stress 테스트 후 결과를 이슈에 기록

[3단계] 애플리케이션 진단하기

상황 1

$ curl localhost:8080/lines

상황 2

$ curl localhost:8080/lines/lock-left
$ curl localhost:8080/lines/lock-right

상황 3

여러 브라우저 혹은 터미널로 요청해본다.
$ curl localhost:8080/lines/tan
$ curl localhost:8080/lines/tan

[안정적인 서비스 만들기 3단계] -조회 성능 개선하기

  • 주어진 데이터셋을 활용하여 아래 조회 결과를 100ms 이하로 반환
    1. Coding as a Hobby 와 같은 결과를 반환하세요.
    2. 환자별로 해당하는 병원 이름을 반환하세요. (covid.id, hospital.name)
    3. 프로그래밍이 취미인 학생 혹은 주니어(0-2년)들이 다닌 병원 이름을 반환하고 user.id 기준으로 정렬하세요. (covid.id, hospital.name, user.Hobby, user.DevType, user.YearsCoding)
    4. 서울대병원에 다닌 20대 India 환자들을 병원에 머문 기간별로 집계하세요. (covid.Stay)
    5. 서울대병원에 다닌 30대 환자들을 운동 횟수별로 집계하세요. (user.Exercise)

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.