Skip to content

Instantly share code, notes, and snippets.

View write2munish's full-sized avatar

Munish Gupta write2munish

View GitHub Profile
@acolyer
acolyer / service-checklist.md
Last active September 24, 2025 07:57
Internet Scale Services Checklist

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?
@jasongoodwin
jasongoodwin / gist:6276969
Last active March 16, 2017 08:15
Async Akka timeout/retry
package io.pressur
import akka.actor.{ActorRef, Actor}
import akka.pattern.ask
import scala.concurrent.duration._
import scala.concurrent.Future
import akka.pattern.after
import akka.actor.Status._
case class AskWithTimeout[T](actor: ActorRef, message: T)