Skip to content

Instantly share code, notes, and snippets.

@Sedward
Sedward / sse.go
Created January 13, 2016 05:31 — forked from ismasan/sse.go
Example SSE server in Golang
package main
import (
"fmt"
"log"
"net/http"
"time"
)
// Example SSE server in Golang.

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Sedward
Sedward / server.clj
Created February 26, 2013 19:50 — forked from jhulten/server.clj
(ns statsd-clj.server
(:use [aleph.udp]
[gloss core io]
[lamina core api])
(:require [statsd-clj.config :as config]
[statsd-clj.metrics :as metrics]
[clojure.tools.logging :as log]))
(def socket-server (agent nil))