Download presentation
Presentation is loading. Please wait.
Published byEileen Dalton Modified over 9 years ago
1
Author(s) Politehnica University of Bucharest Automatic Control and Computers Faculty Computer Science Department SSH-Based Efficient File Synchronization Horațiu Popescu horatiu.popescu@cti.pub.ro Bachelor Presentation Session - July 2011
2
Content Overview Background Implementation Testing Conclusions Questions 02.11.2015Bachelor Presentation Session - July 2011 2
3
Overview Java prototype SSH accounts Multi-platform Delta encoding Inotify 02.11.2015Bachelor Presentation Session - July 2011 3
4
Overview 02.11.2015Bachelor Presentation Session - July 2011 4 Usage $ java Client c1_directory client1$ java Client c2_directory client2 SSH-Server
5
Intercepts file system events – FILE_CREATED – FILE_DELETED – FILE_MODIFIED – FILE_RENAMED All platforms supported Background 02.11.2015Bachelor Presentation Session - July 2011 5 Inotify
6
Implementation 02.11.2015Bachelor Presentation Session - July 2011 6 Architecture
7
The main module Reads changes Performs actions Marks the files Implementation 02.11.2015Bachelor Presentation Session - July 2011 7 Synchronizer
8
Listens to a snapshot How it works: 1.Stores initial directory content 2.Makes directories identically 3.Propagates updated changes Implementation 02.11.2015Bachelor Presentation Session - July 2011 8 Synchronizer
9
Test driven development approach JUnit test cases 12 analyzed categories Testing 02.11.2015Bachelor Presentation Session - July 2011 9
10
Testing Filenames on diff. OS Alteration storage Authentication SSH Conflict management User rights Delta encoding Timezone Exception management Change detection 02.11.2015Bachelor Presentation Session - July 2011 10 Categories
11
Testing Runs correctly with two clients Minimal functionality Not all modules are connected 02.11.2015Bachelor Presentation Session - July 2011 11 Application status
12
Implement GUI Extend architecture for a SERVER Allow selective synchronization Write more test cases Clean up the code Conclusions 02.11.2015Bachelor Presentation Session - July 2011 12 Further development
13
Conclusions 02.11.2015Bachelor Presentation Session - July 2011 13 OOP design Modularity Starting point for a release application Learning experience Team work
14
Inotify Multi-platform Real-time scenario Questions 02.11.2015Bachelor Presentation Session - July 2011 14 and Answers
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.