Skip to content

Instantly share code, notes, and snippets.

@meAmidos
meAmidos / main.go
Created November 21, 2017 05:53
Break the stateless rule
// This is a Go-like pseudocode.
// It is an attempt to breifly describe how a stateful service
// for a game server could potentially work.
// Objective: create a cluster of server instances ("nodes") where each node
// is stateful and dynamically aware of other nodes and can redirect
// an incoming request to the right node.
// 1. Every node embeds a cluster agent.
// The agent starts along with the server and constantly communicates with

Keybase proof

I hereby claim:

  • I am meamidos on github.
  • I am amidos (https://keybase.io/amidos) on keybase.
  • I have a public key ASD_OxRwyCQxXsmpfOx1FUrtpfUYt9A36RH81Wm0exLTUAo

To claim this, I am signing this object:

@meAmidos
meAmidos / tmux.conf
Last active August 29, 2015 14:18 — forked from spicycode/tmux.conf
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000