Skip to content

Instantly share code, notes, and snippets.

View nacyot's full-sized avatar
🧶
The Science of Hitting

Daegwon Nacyot Kim nacyot

🧶
The Science of Hitting
View GitHub Profile

분산 테스트 실행 시스템 RRRSpec을 출시하였습니다.

  • 2014년 3월 24일

기술부 알바 스즈키(@draftcode) 입니다.

쿡패드가 내부용으로 개발/운영해온 분산 테스트 실행 시스템 RRRSpec을 오픈 소스로 공개했습니다. RRRSpec은 시간이 걸리는 자동화 된 테스트를 분산 처리 하여 전체 테스트 시간을 단축하는 애플리케이션입니다. 현재 쿡패드에서는 17,000개가 넘는 테스트가 있어서 컴퓨터 한 대에서 테스트를 실행하면 완료하는 데 몇 시간이 걸립니다. 이 테스트를 60개의 머신에서 병렬 분산 처리 함으로써 평균 8분에서 9분 정도에 완료할 수 있게 되었습니다. 또한, Amazon EC2 스팟 인스턴스를 사용함으로써 상당한 비용 절감 효과도 동시에 달성했습니다.

https://github.com/cookpad/rrrspec

Taskset_-_RRRSpec

search_index: /srv/graphite/index
finders:
- graphite_api.finders.whisper.WhisperFinder
- graphite_influxdb.InfluxdbFinder
functions:
- graphite_api.functions.SeriesFunctions
- graphite_api.functions.PieFunctions
influxdb:
host: "influx1"
port: 8086
@ohtake
ohtake / DockerMeetupTokyo2.md
Last active August 29, 2015 13:59
Docker Meetup Tokyo #2 のメモ
@yhbyun
yhbyun / tmux.zsh
Last active August 29, 2015 13:59
osx iterm2에서 tmux 실행시 세션이름에 따라 탭 색상을 변경하는 zsh 스크립트
# Usage:
# source tmux.zsh
# iTerm2 window/tab color commands
# Requires iTerm2 >= Build 1.0.0.20110804
# http://code.google.com/p/iterm2/wiki/ProprietaryEscapeCodes
# Change the color of the tab when using tmux
# reset the color after the tmux exits
@narinari
narinari / Consul Dockerfile
Last active August 29, 2015 14:00
Consulを実行するDockerfileです。RHEL6,CentOS6ではglibcのバージョン違いで動作しなかったのでカッとなって作りました。
FROM ubuntu
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
wget \
curl \
unzip \
git
RUN curl -L -o consul.zip "https://dl.bintray.com/mitchellh/consul/0.2.0_linux_amd64.zip" && \
@bash0C7
bash0C7 / out_reloadable_copy.rb
Created May 5, 2014 07:33
Graceful reload config fluentd plugin based out_copy
#
# Fluent
#
# Copyright (C) 2011 FURUHASHI Sadayuki
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@ajvargo
ajvargo / gist:447e8e03518a3bdc75c5
Last active August 29, 2015 14:01
Get a summary and ticket number from Jira, based on branch name
;; elisp
(setq jira-base-url "<JIRA BASE URL>"
jira-request-url (concat "https://" jira-base-url "/rest/api/latest/issue/")
jira-username "<USERNAME>"
jira-password "<PASSWORD>"
jira-credentials (base64-encode-string (concat jira-username ":" jira-password))
;; this is a regex to trim things off the branch name
;; as is, removes: dev-, rel-, av-, dev/, rel/, av/
jira-branch-trim-regex "^\\(dev\\|rel\\|\\av\\)\\(-\\|/\\)"
jira-auth-key (concat jira-base-url ":443"))
@rorlab
rorlab / rorlab_translation_guide.md
Last active August 29, 2015 14:03
Michael Hartl의 Ruby on Rails Tutorial 공동번역

Ruby on Rails Tutorial 공동번역 프로젝트

주최자

  • ROR Lab.
  • 운영진 : 김대권/최효성

목적

  • Michael Hartl의 Ruby on Rails Tutorial을 한국어로 공동번역한다.
@ohtake
ohtake / Docker_Meetup_Tokyo_3.md
Last active August 29, 2015 14:03
Docker Meetup Tokyo #3

Docker Meetup Tokyo #3

  • 2014-07-04 (金) 18:30-22:00
  • http://connpass.com/event/6998/
  • 日経カンファレンスルーム
  • 主催
    • Docker Tokyo
    • 日本経済新聞社 デジタル編成局
    • 株式会社はてな
  • グーグル株式会社
@rubydoc
rubydoc / user.rb
Last active August 29, 2015 14:05
faster json
class User < ActiveRecord::Base
before_save do |user|
user.json_cache = user.as_json
end
def as_json options={}
{
id: id,
name: name
}