You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Update (Apr 2015): Florian von Bock has turned what is described in this article into a nice Go package called endless. If you have a Golang HTTP service, chances are, you will need to restart it on occasion to upgrade the binary or change some configuration. And if you (like me) have been taking graceful restart for granted because the webserver took care of it, you may find this recipe very hand
こんにちは。どうもこんにちは。 先週末は #isucon で惨敗した わけなんですけども、手ぶらで望んだわけではなくてかなり準備とか練習してました。 今回は golang + redis の練習をしててそれはズバリあたったわけで、練習の中で kagenui というプロファイラ&アナライザを作ったので公開しました。 isuconをかなり意識した機能がついてます。 netmarkjp/kagenui - https://github.com/netmarkjp/kagenui 大きな特徴は2つ。 集計できる( @matsuuさん作) 通ったパスのメモが書ける 集計できる ひとしきり記録した後に集計関数を呼ぶと、以下の様なかんじで集計結果が取得できます。 Sort by Count Count Total Mean Stddev Min Max Description 100 24286 242
Systems Performance: Enterprise and the Cloud, 1st Edition (2013) This is the official site for the book Systems Performance: Enterprise and the Cloud, 1st Edition, published by Prentice Hall (2013). Here I'll describe the book, link to related content, and list errata. Also see the preface for a detailed description of the book, which is included in the sample chapter from the InformIT site. Upda
Sunday, November 9, 2014 Release Go code (and others) via Docker using Makefile In this article, I’ll demonstrate how to leverage Makefile in order to release lightweight Docker image for production. Sample Application code package main func main() { println("hello world") } Of course, do not forget to vendor your dependencies: godep save. In order to create a release image, we first need to bui
昨日シバソンを開催しました。すでにシバソンは概念がひとり歩きしていて、勝手に誰かが休日にシバソンと称してコードを書いているので、もう何回目の実施かもわかりません。昨日のシバソンは史上最大人数のシバソンでした。京都オフィスに7~8人、リモートに4人ほどいました。雑なイベントなのに10人以上で開催しててすごい。 僕は昨日はgo言語の入門をしていて、ひとまずwebアプリケーションを作りながら入門しようと思ったので、gojiとgo-xslateを使った入門をしていました。入門エントリーも書いたので、参考にどうぞ。 gojiとgo-xslateを使って、GoでのWebアプリケーション開発入門をした - $shibayu36->blog; シバソン、自分にとって非常に良いイベントだと勝手に思ってる。 自分は最近は仕事ではコードを一切書いていないために、コードも書きたいけど今の仕事も挑戦したいという葛藤
Golangで簡単なwebアプリを作るためにどうしたらいいか調べていたので、試しにGojiというフレームワークと、go-xslateを使ってHello Worldをしてみた。 GitHub - shibayu36/goji-and-go-xslate-sample http://localhost:8000/hello/world にアクセスすると、以下の様なものが出るだけのアプリケーション。 これを作った手順にしたがって簡単に紹介。 作成手順 まずはルーティングを作成 https://goji.io/によると、main関数の中にルーティングを作成してServeすれば良いだけっぽいのでまずはそれを作ってみる。 func main() { goji.Get("/hello/:name", hello) goji.Serve() } これで/hello/{name}でhello関数が使われるよ
(訳註: この「はじめに」及び末尾の「訳者による補足」の章は原文にはなく、翻訳者(@tadsan)によるものです。記事の著作権表示及び元Webサイトの利用規約、免責事項、そしてこの記事についての訳者の見解について記します) (この記事の一部または全て ——ただしコメント欄は含まれない—— はCC BY-SA 3.0に則る限り、自由に利用することができます。翻訳と「はじめに」「訳註」については独自の著作権は主張しません。 改竄しても二次利用は独自の責任にて行ってください。) Please consult a legal expert before adopting a software license for your project. This site is licensed under the Creative Commons Attribution 3.0 Unported Lice
Karl Matthias Principal Systems Engineer at Nitro. Co-Author of "Docker: Up and Running" from O'Reilly Media. Dublin, Ireland. Twitter Google+ Github If you are coming from Ruby or another dynamic language you are used to mocking and stubbing extensively for testing. This works fabulously well in Ruby, for example, where you can easily modify a class or object at runtime when testing it. Because G
Products Docker DesktopContainerize your applicationsDocker HubDiscover and share container imagesDocker ScoutSimplify the software supply chainDocker Build Cloud Speed up your image buildsTestcontainers DesktopLocal testing with real dependenciesTestcontainers CloudTest without limits in the cloud See our product roadmapMORE resources for developers
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く