Skip to content

Instantly share code, notes, and snippets.


Dmitry Matrosov meAmidos

View GitHub Profile
meAmidos / main.go
Created Nov 21, 2017
Break the stateless rule
View main.go
// 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 ( on keybase.
  • I have a public key ASD_OxRwyCQxXsmpfOx1FUrtpfUYt9A36RH81Wm0exLTUAo

To claim this, I am signing this object:

View 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
You can’t perform that action at this time.