SkillAgentSearch skills...

Gomemcached

A memcached binary protocol toolkit for go.

Install / Use

/learn @dustin/Gomemcached
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

<div> <img src="http://dustin.github.com/images/gomemcached.png" alt="overview" style="float: right"/> </div>

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.

Related Skills

View on GitHub
GitHub Stars317
CategoryDevelopment
Updated7d ago
Forks69

Languages

Go

Security Score

95/100

Audited on Mar 23, 2026

No findings