Coder Social home page Coder Social logo

ataxia's People

Contributors

nsensfel avatar

Watchers

 avatar

ataxia's Issues

Implement distributed cache coherence

  • Cache -> DB: get read-only copy, get read-write copy, get write permissions (no data transfer required).
  • DB -> Caches: data reply, evict order.
  • Cache state: pretty much MSI (do not have, read-only, read-write).
  • DB state: list of clients that might have it in read-only, FIFO of clients requesting write permission.
  • Write-through.

Write permissions are time-gated: after a set period of time, you lose the permission and any attempt to update the value from the DB will result in a failed request.

Check if Chord can be used.

Ataxia might be able to use a variation of Chord as a way to manage the server nodes. However, I'll have to see how to manage backups & data migration to ensure that we can't get any inconsistencies.

Current Issues:

  • The "Client -> Node0 -> ... -> NodeN -> Client" system is awkward with RPCs, and having updates go through so many hoops is going to take a considerable bandwidth. Can we replace it with a Node ! owner(database(), key()) -> (hit | {miss, node()}) and Node ! ataxia_client:function() -> ({hit, result()} | {miss, node()}) system while keeping Chord's properties?

Solved Issues:

  • Given K the number of redundancies, for any database, there are K backup databases with no node being responsible for the same key on more than one of these DBs. Using the K next nodes should work.

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.