Comments (1)
Could I tie the processes together to minimize CPU time?
i.e.
- Main thread finds a file that needs encrypting
- Spawn thread to encrypt locally
- Add file to meta data, and add encrypted file path to network queue, close files
- Network thread works through queue
- Queue of files that aren't backed up offsite is stored to be resumed next start
Pros:
- Time and resource efficient
Cons:
- Added complexity
- Need to automatically recover socket loss, warn if network doesn't resolve
- Strange interactions if network falls significantly behind local encryption.
- i.e. if local backups exceed max number of versions, and vacuum deletes a file that is still in network queue. How do we know local copy was intentionally deleted?
from ruckup.
Related Issues (20)
- Export/import preferences
- Expand configuration HOT 1
- Implement untracked file cleanup
- Verify working on 32 bit
- Fix writing meta_data table when parent directories don't exist.
- Seperate key from preferences
- Clean up error handling
- Major refactor HOT 1
- Test symbol links
- Change crypto functions to work on objects rather than file paths HOT 1
- Clean up Main
- Potential way to verify server hasn't modified files HOT 1
- Prevent backing up file store
- Fix bug where attempt to encrypt meta-data without setting up 0/0/0
- Don't require paths to be absolute path
- `./ruckup -f relative/path` silently fails
- Change underscores to dashes in flags/options
- Don't load dir_map unless you have to
- Reduce the size of the metadata table
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruckup.