Skip to content

felixhao/gomemcached

This branch is 1 commit ahead of dustin/gomemcached:master.

Folders and files

NameName
Last commit message
Last commit date
Aug 17, 2016
Jan 16, 2014
Nov 11, 2013
Jan 16, 2014
Nov 18, 2013
Mar 18, 2013
Jan 10, 2015
Jun 4, 2013
May 7, 2013
Aug 16, 2016
Jan 16, 2014
Aug 30, 2019
Jan 16, 2014
May 14, 2013
May 7, 2013

Repository files navigation

gomemcached

This is a memcached binary protocol toolkit in go.

It provides client and server functionality as well as a little sample server showing how I might make a server if I valued purity over performance.

Server Design

overview

The basic design can be seen in gocache. A storage server is run as a goroutine that receives a MCRequest on a channel, and then issues an MCResponse to a channel contained within the request.

Each connection is a separate goroutine, of course, and is responsible for all IO for that connection until the connection drops or the dataServer decides it's stupid and sends a fatal response back over the channel.

There is currently no work at all in making the thing perform (there are specific areas I know need work). This is just my attempt to learn the language somewhat.

About

A memcached binary protocol toolkit for go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%