Skip to content

ebuckley/slurp_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Slurp Server This is a simple file server implementation, I got the specifications for creating this program from this distributed system paper, they specified c++ as the implementation language but the point of this exercise was to get practiced at my golang skills. The other half of this is slurp client it speaks the required protocol to send files over the wire.

The exercise specifications are here

#Usage

$ ./slurp_server /data 0.0.0.0:1337

The preceding example shows us how to invoke the built slurp_server to serve the /data folder where it expects the slurp client to know the servers host port.

#Features

  • LRU cache implementation
  • safe closedown
  • good logging (subjectivly)

#Tests I tested the LRU implementation, but nothing else is automatically tested (I'm a terrible terrible person I know)

#from the project directory
$ cd LRU
$ go test
PASS
ok  	github.com/ebuckley/slurp_server/LRU	0.004s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages