Statistics
| Branch: | Revision:

grapes / src / PeerSampler / ncast.c @ 10ddaca7

History | View | Annotate | Download (9.58 KB)

# Date Author Comment
10ddaca7 06/06/2017 06:32 PM Luca Baldesi

general bug fixings

- add destroy function to peersamplers, so to avoid memory leaks in case of multiple instances
- fix initialization bug in the chunk_buffer constructor
- fix peerset_clear reallocation for the case size is set to 0 (destruction)

ad6e8e86 01/07/2016 11:13 AM Luca Abeni

Merge branch 'baldesi-next'

Conflicts:
src/Chunkiser/Makefile
src/Chunkiser/input-stream-avf.c
src/Chunkiser/input-stream.c
src/Chunkiser/output-stream-avf.c
src/Chunkiser/output-stream-play.c
src/Makefile
src/PeerSampler/ncast.c

f680f62b 01/07/2016 10:15 AM Luca Abeni

Merge branch 'baldesi'

Conflicts:
include/peer.h
src/Cache/topo_proto.c
src/Cache/topocache.c
src/Cache/topocache.h
src/ChunkTrading/chunk_delivery.c
src/Chunkiser/Makefile
src/Chunkiser/input-stream-avf.c
src/Chunkiser/libav-compat.h
src/Chunkiser/output-stream-avf.c...

8f446863 11/11/2014 04:24 PM Luca Baldesi

fix compilation warning and suppress fprintf

176b8de8 11/07/2014 09:53 AM Luca Baldesi

export configuration structure files.

configuration tool has changed its name into grapes_config and it's now available as a public interface of the GRAPES library

cae80b1f 03/14/2013 09:55 AM Luca Abeni

Fix a "res set but not used" warning

The "res" variable is actually not used in this case (it would indicate
if the default value has been used, but such an information is not
interesting in this particular situation)

39f5f751 08/23/2011 12:38 PM Csaba Kiraly

newscast: introducing "protocol=newscastplus"

9d7935af 08/23/2011 09:55 AM Csaba Kiraly

newscast: make new mechanisms configurable, turn them off by default

160131b3 08/23/2011 09:50 AM Csaba Kiraly

newscast: simplify config processing

48f29131 08/22/2011 02:46 PM Csaba Kiraly

Merge branch '0.3-newscast-slowstart' into 0.3-newscast-plus

Conflicts:
src/PeerSampler/ncast.c

f0749676 08/22/2011 02:45 PM Csaba Kiraly

Merge branch '0.3-newscast-randomize' into 0.3-newscast-plus

Conflicts:
src/PeerSampler/ncast.c

1e924dc9 08/22/2011 02:45 PM Csaba Kiraly

Merge branch '0.3-newscast-restart' into 0.3-newscast-plus

d36aa822 08/22/2011 02:43 PM Csaba Kiraly

newscast: randomize cache order among timestamp ties

a4497a87 08/22/2011 02:29 PM Csaba Kiraly

newscast: diffuse our ID with a higher timestamp during the bootstrap period

In typical applications, peers bootstrap from the same
small set of nodes. Therefore, at the beginning, their
cache is not a uniform random sample. As a consequence,
their messages could hit bootstrap nodes aggressively,...

1583fd78 08/22/2011 02:28 PM Csaba Kiraly

newscast: restart if cache is half empty and bootstrap node is not included

56419bdb 08/22/2011 02:28 PM Csaba Kiraly

newscast: save nodeid of bootstrap node

8afbc263 08/22/2011 02:28 PM Csaba Kiraly

newscast-adaptive: fix source gathering tokens while idle

42f6c1eb 08/22/2011 02:28 PM Csaba Kiraly

newscast extension: adding reply tokens

We deal with the following problem: our ID is not diffused well in the system
- problem: we do not receive queries, thus, we do not send replies, so the situation gets even worse!
- indicator: not receiving queries...

f08e1d8c 08/22/2011 02:28 PM Csaba Kiraly

newscast extension: adding query tokens

We deal with the following problem: our query is lost (either due to packet loss or due to dead peer). In this case we try to send another query through
- loss indicator: not receiving a reply
- action: sending another query...

9cb3327f 08/18/2011 07:49 PM Csaba Kiraly

Merge branch 'newscast-adaptive' into next

30fffd90 08/18/2011 07:48 PM Csaba Kiraly

newscast-adaptive: fix source gathering tokens while idle

04dc3f55 08/12/2011 12:10 PM Csaba Kiraly

Merge branch 'newscast-slowstart' into newscast-plus

Conflicts:
src/PeerSampler/ncast.c

21c0feaf 08/12/2011 12:09 PM Csaba Kiraly

Merge branch 'newscast-randomize' into newscast-plus

Conflicts:
src/PeerSampler/ncast.c

81f95566 08/12/2011 12:08 PM Csaba Kiraly

Merge branch 'newscast-restart' into newscast-plus

Conflicts:
src/PeerSampler/ncast.c

53739646 08/11/2011 06:03 PM Csaba Kiraly

newscast: randomize cache order among timestamp ties

43e8c20d 08/11/2011 03:38 PM Csaba Kiraly

newscast: restart if cache is half empty and bootstrap node is not included

7c9f0a71 08/11/2011 03:37 PM Csaba Kiraly

newscast: save nodeid of bootstrap node

fb49d822 08/11/2011 02:11 PM Csaba Kiraly

newscast: diffuse our ID with a higher timestamp during the bootstrap period

In typical applications, peers bootstrap from the same
small set of nodes. Therefore, at the beginning, their
cache is not a uniform random sample. As a consequence,
their messages could hit bootstrap nodes aggressively,...

5a903e0f 08/11/2011 07:03 AM Csaba Kiraly

newscast extension: adding reply tokens

We deal with the following problem: our ID is not diffused well in the system
- problem: we do not receive queries, thus, we do not send replies, so the situation gets even worse!
- indicator: not receiving queries...

4ef79365 08/11/2011 07:01 AM Csaba Kiraly

newscast extension: adding query tokens

We deal with the following problem: our query is lost (either due to packet loss or due to dead peer). In this case we try to send another query through
- loss indicator: not receiving a reply
- action: sending another query...

92358b75 05/31/2011 01:53 PM Luca Abeni

Fix a warning by properly defining "const" in peersampler interface

9b0e6740 03/09/2011 09:48 AM Luca Abeni

Merge remote branch 'origin/topman'

480df8da 03/08/2011 08:56 AM Luca Abeni

Propagate error messages

cc8a901b 02/19/2011 11:12 AM Csaba Kiraly

ncast: making more parameters configurable

46878222 12/28/2010 10:42 PM Luca Abeni

Fix some reentrancy problems (and some const-related warnings as well)

15d5934d 12/02/2010 08:42 AM Luca Abeni

Some const fixes in the peersamplers

babdcc03 12/02/2010 08:20 AM Luca Abeni

Cosmetic fix (position of "{")

d06d59f8 11/19/2010 03:21 PM Luca Abeni

Merge branch 'cloudcast_integration' into topman

Conflicts:
src/PeerSampler/ncast.c

afe9e4e6 11/17/2010 07:56 AM Luca Abeni

Separate peer sampler and topology manager