Skip to content

kgheacock/kvstore

Repository files navigation

CSE Assignment

Assignment Overview:

kv store

  • kvstore/dal contains the data structure and required methods CRUD methods
  • kvstore/kvs handles any interfacing with the DAL
  • kvstore/model contains definitions of structures used in kvstore/dal

router

  • router/middleware contains methods for proxying
  • router/router contains methods for assigning http routes to their handlers
  • router/model contains definitions of structures used in the router package

hasher

  • hasher/dal contains the entire consistent hashing library
  • hasher/model contains definitions of structures used in consistent hashing library

vectorclock

  • vectorclock/dal contains the vectorclock library
  • vectorclock/model contains definitions of functions and structures used in vectorclock library

Dockerfile

Creation of the docker image has the following steps:
  1. specify the base image to be golang:alpine (an alpine linux golang deployment)
  2. set working directory to app (note: this can be changed for ease of debugging)
  3. copy all files from ./ to the appropriate gopath on the new machine
  4. install git to aid with go commands
  5. install dependencies
  6. run a go install to install the program on the container
  7. set the path of the program to be run when the container is started

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published