Code Monkey home page Code Monkey logo

localcloudstorage's People

Contributors

kevinmackenzie avatar

Watchers

 avatar  avatar

localcloudstorage's Issues

Polling Providers

This class will have a minimal interface, but has a background loop that is where the work happens. It periodically polls a provider for updates and then sends them to the item metadata.

Application Layer

Handles startup and construction of the aggregation layer and the instances. It will also handle application-level control (handling system events and presumably other things).

Migrating instances

Sometimes the user wants to reconfigure the file system switching structure. This cannot be done while the instance is running, but the user should have the option to make this change. Migration is how this will be done. See doc for more details.

Provider Plugin for OneDrive

The first provider supported will be OneDrive since that is already what I have experience with on the previous revision of this project.

Item Metadata

As the hub of all events and things that happen in an Instance, this should have a rock-solid set of interfaces with robust internals. It should be fully thread-safe.

Breaking the synchronous event chain

Many of the events that occur will need to wait for some long-lasting event (network access/filesystem access). It is important to have a component that will allow these ItemDeltas to propagate to its destination without locking up the caller until then. This will probably act like an asynchronous queue.

Instance factory

This class will construct a cloud storage instance from the components described in other issues (#1, #2, #3, #4, #5). It will generate a public viewmodel class that contains a ready-to-run instance. (#7)

Manual checking for local item deltas

We can't guarantee this application will be open all the time, so it is important to be able to scan through the local directory structure upon startup / on request to see if there are any updates to push to the remote.

Aggregation Layer

This layer composes all of the Instances and views together and links them together.

Instance Viewmodel

This class is the interface between the instance and the aggregation layer. It allows read access to all information about deltas and item metadata along with other useful information, such as connection stats. It also is the only way to receive and resolve item delta conflicts.

Local File System Integration

There are two primary classes to accomplish this. The first is an abstraction layer on top of the file system to apply and generate ItemDeltas. The second is a class that will demux item deltas to the particular local file system locations that they should be going to (based on item path).

CSI Logger class

An asynchronous logging class for each of the instances. Can filter by severity, origin, component, time, etc.

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.