• This repository has been archived on 19/Dec/2023
  • Stars
    star
    159
  • Rank 235,916 (Top 5 %)
  • Language
    Go
  • Created over 11 years ago
  • Updated about 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

experimenting with groupcache

groupcache-db-experiment

This project simulates a scenario wherein a few frontends running groupcache are fronting a slow database. See my blog post about it for more details.

Getting it running

The following commands will set up this topology: groupcache topology

Build everything

  1. git clone [email protected]:capotej/groupcache-db-experiment
  2. sh build.sh

Start DB server

  1. cd dbserver && ./dbserver

This starts a delibrately slow k/v datastore on :8080

Start Multiple Frontends

  1. cd frontend
  2. ./frontend -port 8001
  3. ./frontend -port 8002
  4. ./frontend -port 8003

Use the CLI to set/get values

  1. cd cli
  2. ./cli -set -key foo -value bar
  3. ./cli -get -key foo should see bar in 300 ms
  4. ./cli -cget -key foo should see bar in 300ms (cache is loaded)
  5. ./cli -cget -key foo should see bar instantly

More Repositories

1

watercoolr

pubsub via webhooks
Ruby
110
star
2

has_opengraph

Easily export facebook opengraph data from your models
Ruby
31
star
3

finatra-example

Example finatra project to get you started
Scala
25
star
4

existential

The absolute minimum to enable authorization in Rails
Ruby
22
star
5

uploadd

Minimal upload server powered by Rainbows
Ruby
19
star
6

theman

a microframework for running and monitoring scheduled workers
Ruby
18
star
7

atomlog

A library for parsing ruby's Logger format into an Atom feed
Ruby
16
star
8

kiev

embeddable key/value database for shell scripting
Shell
16
star
9

bloggy

Blogging in the rain.
Ruby
12
star
10

nolimit

webmachine interface to bitcask
C
12
star
11

antigallery

A jquery gallery with a unique, idealistic approach
JavaScript
8
star
12

base

a project generator for scala
Shell
8
star
13

joke

A half baked PHP style "framework" for Ruby built on Rack
Ruby
8
star
14

amazon-aim

Simple ruby implementation of the Amazon Inventory Management (AIM) API
Ruby
7
star
15

trollface

A gem that depends on every other gem
Ruby
7
star
16

migration_for

Write migrations right from the command line!
Ruby
7
star
17

fieldy

A ruby library for reading/writing fixed width files
Ruby
5
star
18

chatty-scala

dumb chat server in scala
Scala
3
star
19

structdb

redis, but for native java data structures, uses finagle/http
Scala
3
star
20

markhaml

a peg based haml parser
JavaScript
3
star
21

finagle-stats-exporter

Simple go program to export finagle server stats to statsd
Go
3
star
22

nucms

A content-management system built out using rack middleware (and as middle ware itself)
Ruby
3
star
23

dotvim

vim dotfiles
Vim Script
3
star
24

greplog

log grepping service
Ruby
3
star
25

anal

The simplest analytics server you've ever seen
2
star
26

jcapote.github.com

soon to be juliocapote.com
2
star
27

paperclip_uploadd

Uploadd backend for Paperclip
Ruby
2
star
28

fnf

Fire And Forget, a queue designed for disposable web requests
Ruby
2
star
29

monitorbox

monitor-in-a-box
Ruby
2
star
30

openid-server-example

The rails example from the ruby-openid gem, modified to use the ActiveRecord store for use on heroku
Ruby
2
star
31

ba

ba, the opposite of ab, displays how many req/s its currently receiving
JavaScript
2
star
32

redak

riak_core backend for redis
Erlang
2
star
33

resume

My resume
Ruby
2
star
34

dotemacs

my .emacs and .emacs.d
Emacs Lisp
2
star
35

smuggle

securely, and easily transfer model and association data to/from your production machines
Ruby
2
star
36

youtube_fraiche

Ruby
2
star
37

monoloco

An chaos monkey implementation
Scala
2
star
38

whim

a simple way to play around with ec2
Shell
2
star
39

golf-twitter-app

Example twitter application in Golf
JavaScript
2
star
40

annotator

Totally useless
JavaScript
2
star
41

chewbacca

chewbacca is a set of rake tasks to facilitate the management of remote files
Ruby
2
star
42

datamine-contest

Yak shaving at it's finest...
Ruby
1
star
43

mrskinner

allows easy clickable site skins for your site
JavaScript
1
star
44

rackc

simple c based rack app
C
1
star
45

portmapper

ruby library for dealing with iptable rules
Ruby
1
star
46

recit

personal productivity system backed by GNU recutils
Shell
1
star
47

gossiptest

gossip protocol impl in ruby/drb
Ruby
1
star
48

ancomment

reddit/hn comment generation
Ruby
1
star
49

forkyou

Rake tasks for splitting up large dataset and forking a worker for each subset
1
star
50

capotej-js

my dotjs extensions
JavaScript
1
star
51

outofband

a ghetto chat system implemented using ssh tunneling/port forwarding and web hooks
Ruby
1
star
52

backtofuture

Scala
1
star
53

babby_c

learnin dat c
C
1
star
54

skirb

SkiFree (VAX edition) clone for ruby
Ruby
1
star
55

lifegame

Julio's game of life
Ruby
1
star
56

tachy

a realtime, graphing, performance logging server
Ruby
1
star
57

ghettogram-server

purposefully bad instagram clone, do not use
JavaScript
1
star