このgistは Cloud Foundry Advent Calendar 2013 の19日目の記事です。またしても大幅に遅れて本当に申し訳ありません。
今日は,「Gorouter と Ruby Router v2 の性能比較」の3回目として,Gatling を使って Gorouterと Ruby Router v2 の負荷テストを行います。
まずは準備から。
(準備1) Gatlingのインストール。面倒なので詳細は省きます。以下のURL等を参考にしました。
このgistは Cloud Foundry Advent Calendar 2013 の19日目の記事です。またしても大幅に遅れて本当に申し訳ありません。
今日は,「Gorouter と Ruby Router v2 の性能比較」の3回目として,Gatling を使って Gorouterと Ruby Router v2 の負荷テストを行います。
まずは準備から。
(準備1) Gatlingのインストール。面倒なので詳細は省きます。以下のURL等を参考にしました。
See also, http://libraryofalexandria.io/cgo/
cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.
So, Here collect materials.
| /* @flow */ | |
| import * as functions from 'firebase-functions' | |
| import express from 'express' | |
| import Cors from 'cors' | |
| import { graphqlExpress } from 'apollo-server-express' | |
| import bodyParser from 'body-parser' | |
| import { makeExecutableSchema } from 'graphql-tools' | |
| const schema = makeExecutableSchema({typeDefs: [/* Your schema.graphql */], resolvers: {/* Your resolver */} }) | |
| const cors = Cors({ origin: true }) |
いつもいつもいつもRe:VIEWの記法に悩んでぐぐってしまう皆さんへ送るチートシートです。
| 名称 | ルール | 概要・備考 |
|---|---|---|
| 段落 | 1行以上の空行をはさむと別の段落になる | HTMLでいうP |
| 見出し | =ではじまる行 | =の個数で、章・節・項・段という感じで増えます。HTMLで言うH1, H2, H3, H4, H5 |
| version: '3' | |
| services: | |
| zookeeper: | |
| image: zookeeper:3.4.9 | |
| hostname: zookeeper | |
| ports: | |
| - "2181:2181" | |
| environment: | |
| ZOO_MY_ID: 1 |