Commit Graph
450 Commits
Author SHA1 Message Date
Adrien Béraud b2ee07861d reduce default storage time to 10 minutes 2016-01-19 15:23:37 -05:00
Adrien Béraud 388d43b89a reduce maximum value size to 56 KB
A larger maximum size was supported by the protocol but
not the underlying transport (UDP).
2016-01-19 15:23:37 -05:00
Adrien Béraud 6b83077a33 Merge pull request #33 from sim590/benchmark-python-test-cleanup
Benchmark python test cleanup
2016-01-14 17:03:52 -05:00
Simon Désaulniers 4070a19c59 fixing missing import of modules 2016-01-14 16:56:24 -05:00
Simon Désaulniers b6d7436595 benchmark: python decorator for setting up tests 2016-01-14 16:37:20 -05:00
Simon Désaulniers 5f9e20998f python tests refactoring 2016-01-14 16:34:43 -05:00
Adrien Béraud 6910a7c0ae Merge pull request #32 from sim590/benchmark-refactor
Benchmark refactor
2016-01-13 17:00:52 -05:00
Simon Désaulniers 77c480e2cf refactored python benchmark in separate modules 2016-01-12 12:38:58 -05:00
Simon Désaulniers 2c22c7d984 more code refactoring 2016-01-12 12:38:58 -05:00
Simon Désaulniers 6c3c19c0c8 add test for performance while deleting nodes 2016-01-12 12:38:58 -05:00
Simon Désaulniers 252ff4710c FeatureTest child classes code factorized.
# Conflicts:
#	python/tools/benchmark.py
2016-01-12 12:38:58 -05:00
Adrien Béraud dd107e6f6d python: fix licenses terms 2016-01-09 18:05:42 -05:00
Adrien Béraud 175b4c9491 python: add Value.id proprety 2016-01-09 16:05:26 -05:00
Adrien Béraud cd296b9d22 Merge pull request #31 from cyrilleberaud/master
python/scanner: add ip number on the plot
2016-01-09 16:02:24 -05:00
Cyrille Béraud 44373bd5f6 python/scanner: add ip number on the plot 2016-01-09 14:30:28 -05:00
Adrien Béraud e00c8e9598 update copyright headers for 2016 2016-01-07 18:02:35 -05:00
Adrien Béraud e97355ed49 update version to 0.5.1 0.5.1 2016-01-05 17:06:02 -05:00
Adrien Béraud 180e34538d Merge pull request #28 from sim590/llvm-lack-of-cpp11
Fix #26: add duration cast
2016-01-05 16:08:49 -05:00
Simon Désaulniers 1aae8f37dd adding duration cast for llvm compatibility 2016-01-05 15:54:55 -05:00
Adrien Béraud 13a2df8911 python: fix typo in benchmark 2016-01-05 12:25:35 -05:00
Adrien Béraud 922b0e147b Merge pull request #27 from justusranvier/cmake
Minor cmake fixes
2015-12-24 13:12:59 -05:00
Justus Ranvier 9635ebe7a4 update Makefile for msgpack and pthread 2015-12-23 21:26:26 -06:00
Justus Ranvier 4e8182a84e add KDevelop files to .gitignore 2015-12-23 21:16:56 -06:00
Justus Ranvier 002b8377dd bump msgpack required version to 1.2 since package doesn't compile against 1.1 2015-12-22 16:19:35 -06:00
Justus Ranvier 263aef687c add -pthread to CXX_FLAGS 2015-12-22 16:18:51 -06:00
Guillaume Roguez 8c552d3466 default_types: virtualize msgpack_unpack
This is needed to override this method in inheriting.
2015-12-22 11:46:43 -05:00
Adrien Béraud 439b7d966c dhtnode: daemonize with the new -d argument
Running dhtnode with -d will make it detach and fork.
Add an argument to -v to log to a file instead of stdio.
2015-12-19 20:33:03 -05:00
Guillaume Roguez 1a888dbe66 Fix RCTP multi-inheriting in Serialized and derived classes
This patch fixes Serialized derived classes, using CRTP idom,
by fixing the "constructor forwarding problem".

A derived class has no to use dht::Value::Serialized<Derived, Base>
as super class, by replacing itself in "Derived" and use the
right "Base" class. Ex:

class MyImMessage : public dht::Value::Serializable<MyImMessage, dht::ImMessage>
{
  ...
}

No more needed to overload getType and define TYPE static.
2015-12-18 21:31:37 -05:00
Adrien Béraud 94bfc67708 value: add non-static unpack<T>() 2015-12-17 15:31:41 -05:00
Adrien Béraud d5ed6ca8e8 switch to new ICE serialisation 2015-12-17 15:31:41 -05:00
Adrien Béraud 62583557c0 rng: code cleanup 2015-12-17 15:31:41 -05:00
Adrien Béraud 8d1c3f1bbe dht: drop storage immediately after retransmission 2015-12-17 15:31:41 -05:00
Adrien Béraud e102e2b673 dht: findStorage now returns iterator instead of pointer 2015-12-17 15:31:41 -05:00
Adrien Béraud 884fcbe1e0 Update README.md 2015-12-17 11:22:47 -05:00
Adrien Béraud 0fafcacdfa Merge pull request #25 from sim590/dp-enhance
Data persistence: only store relevant values
2015-12-16 23:36:04 -05:00
Simon Désaulniers 38306eaec5 only one refill allowed before expiring search 2015-12-15 18:18:17 -05:00
Simon Désaulniers 04632a8288 fix findclosestnodes() (was inverted)... 2015-12-15 18:18:14 -05:00
Simon Désaulniers 2dcaef5c97 accept storing values based on XOR proximity to id. 2015-12-15 18:17:37 -05:00
Simon Désaulniers e447dc5e36 removed undefined function in header 2015-12-14 17:54:26 -05:00
Adrien Béraud b7e0f73931 Update README.md 2015-12-13 02:09:17 -05:00
Adrien Béraud 1f25263d71 Update README.md 2015-12-13 02:08:55 -05:00
Adrien Béraud c37a4411fc Update README.md 2015-12-13 01:31:03 -05:00
Adrien Béraud ebb4c5f983 Update README.md 2015-12-13 01:30:40 -05:00
Adrien Béraud 142ca8bf42 Update README.md 2015-12-13 01:13:09 -05:00
Adrien Béraud 0076ae001c dht: drop value after successfull announce 2015-12-10 17:26:39 -05:00
Adrien Béraud 9a301569a4 dht: use proper value in log 2015-12-10 15:06:25 -05:00
Adrien Béraud 74aae03b5f dhtnode: gracefully stop node 2015-12-10 13:18:55 -05:00
Adrien Béraud 67464fde9a dhtrunner: run shutdown in priority queue
Fix calling shutdown on a non-connected node.
2015-12-10 13:18:55 -05:00
Adrien Béraud 328a61df00 dht: preserve value creation time 2015-12-10 13:18:55 -05:00
Adrien Béraud 04aa3d3dba dht: improve value storage log 2015-12-10 13:18:55 -05:00