Git Product home page Git Product logo

osync2's Introduction

Orsiris de Jong / NetInvent / CTO && Dev

My Github statistics

osync2's People

Contributors

deajan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gridl

osync2's Issues

Reflexion on osync2

Success of osync v1 was partly because of:

  • Support for POSIX acl / xattr sync
  • Stateless sync
  • Using SSH as existing transport / encryption layer
  • Works almost everywhere where bash exists

osync v1 cons are:

  • Code is quite big and complicated to maintain in bash
  • Utterly slow
  • No realtime sync (got almost near realtime with osync-target-helper)
  • Could not detect file moves because of the stateless working method

Problems with osync2 reflexions so far:

  • Using rsync over ssh is quite slow, especially for realtime sync
    • Need a http listener with self encryption (not https dependant)

In order for osync2 to become a good replacement, the recipe should include:

  • Realtime sync possibility (using file observer)
  • Support for POSIX acl / xattr
  • Move away from SSH and use own comm protocol to transfer files / messages, can be SSH-tunnel wrapped ?
  • Must have precompiled binaries to work in most environments (Nuitka ?) including Windows (yes... Windows support for osync2 should be real, without posix layer)
  • Using rsync is no longer an option for realtime sync, we need to move to a rsync delta algorithm implementation, and implement ACL replication above that

Open questions:

  • Shall we include a full osyncV1 compatibility mode with stateless sync over SSH ?
    • Hmmm. osync v1 already does the job, so osync v1 needs to be maintained in parallel to osync2

Open to any suggestions.

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.