Code Monkey home page Code Monkey logo

joshua's Introduction

Joshua - Distributed, Resilient File Server

Joshua is an attempt to write a (globally) distributed, resilient, read-through file server. Don't use it right now, I'm just trying it out.

Overview

The archtypical use case, and the one I'm attempting to cover, is a web app with servers in multiple data centers that accepts uploads from users. If you upload a file to one data center, it should be available for reading or deleting in any other DC.

Goals

  • Apparent durability. Once data has been written to any node, it MUST be available from any node.
  • Automatic eventual consistency. If you upload a dozen files to one node and wait a little while, all nodes MUST eventually be consistent without any further human action.
  • HTTP read access. Consumers MUST not need to touch the file contents once it's uploaded.
  • Self-bootstrapping. If a new node comes online, it MUST notify the cluster and populate itself.
  • No database dependency. For metadata, it SHOULD not be necessary to run a local database or data store outside the server process. (A database-backed datastore is allowed.)
  • Protocol-based. It SHOULD be possible to implement the protocol in another language and join the cluster.

Non-goals

  • Load balancing. Use anycast between DCs. Use a load balancer within a DC.
  • Updating objects. Only create and delete operations will be supported.

Eventual goals

  • Web-based status and monitoring. View cluster status over the web.
  • Pluggable storage backends. Starting with the file system, but MongoDB is an obvious place to go.
  • Performance. Obviously.

joshua's People

Stargazers

Tarek Kalaji avatar James Socol avatar

Watchers

James Socol avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.