Comments (2)
Each peer has three multicast channels. Maybe three threads could be launched per peer. Each thread should be responsible for listening to one of the channels and dispatch the datagram packets received to new workers. Each worker (a new thread) should process the message and perform the desired action.
However, from my understanding, we should limit the number of threads being launched due to huge increments in latency. This probably is something we want to test and study later on to find a good value. Considering this limitation, then we need to have some sort of FIFO to store the incoming datagrams.
Does it make sense @Dannyps ?
from feup-sdis.
we should limit the number of threads being launched due to huge increments in latency
Where does this come from? I can't see the issue
from feup-sdis.
Related Issues (20)
- Create GetChunkMessage
- Create ChunkMessage
- Add method to load local stored chunks HOT 1
- Place files in the correct place
- Run Test App script does not support 1arg/0args commands and is BACKUP hardcoded
- Implement Recovery HOT 4
- Keep track of own backed up files
- Add local service state interface for Client HOT 1
- +1 backup degree when running BACKUP on a peer that has already backed up that very same file (because another initiatior peer requested such) HOT 1
- Own backed up files and othe peers' backed up files information should be serialized and written to disk.
- Serialized information on disk shoud be loaded on peer loading up. HOT 1
- Upon successful GETCHUNKs requests restore the file on the filesystem HOT 1
- ChunkSenderWorker attempts to read files that may not exist
- Implement scheduleRemoval on ChunkReceiverWorker
- Create DeleteMessage
- Create the DeleteWorker
- Add interface for client to use delete service
- Keep track of backed up chunks
- Simplify how messages are sent
- Enhance ChunkInfo class to track peers who stored the chunk
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 feup-sdis.