Tom's Blog - The pay's not great, but the work is hard
Tags
  • Load balancing via iptables

    2012-03-09

    Traditionally balancing between web workers has been implemented with a prefork server. I.e. the controlling process opens a socket, forks a few workers who then accept on that socket. The kernel will distribute the load accordingly. …

    #Devops

  • Stuff I learned - 1

    2012-03-09

    #Misc

  • Mapping between random-looking and increasing IDs

    2011-01-02

    Sometimes it’s nice to have non-consecutive user-facing IDs. E.g. if you don’t want to show away how many items you have in your database. Common approaches are UUIDs or encoding random bytes as base64. The downside is that those need an extra database column. For example, map (0 -> 29319, 1 -> 58998, 2 -> 29598, …). …

  • Backing up from gmail

  • 1
  • 2
  • 3
  • 4

Tom's Blog

Powered by Hugo and the Notepadium