Commit Graph

  • c31e0002e2 Change the wait time on operations to 50ms Joshua Kissoon 2014-04-13 18:58:40 +0530
  • 4888bf4dd4 Improve response check time When doing a NodeLookup, Content Lookup or Connect operation, after sending the message, we used to wait(operation_timeout) time before checking for a result. Now what I'm doing is waiting for 100 ms and check for a result every 100ms; I keep a count of total time waited, and only when the total time > operation_timeout do we make a timeout. So now we can handle the response if it comes in before Operation_timeout time is finished Joshua Kissoon 2014-04-13 18:57:54 +0530
  • eaeffeb0ba Store content in string so saved file is easily readable. Joshua Kissoon 2014-04-06 17:01:27 +0530
  • 1a5991404d Updated the HashCalculator class to add some more functionality Joshua Kissoon 2014-04-05 22:45:01 +0530
  • 33f9eea09f Updated HashCalculator to add MD5 hashing in there Joshua Kissoon 2014-04-05 22:39:33 +0530
  • 51de9cbc82 Re-Arranged a few packages a bit Added a HashCalculator class Joshua Kissoon 2014-04-05 22:36:46 +0530
  • 2dde2a75e0 Setup Content Updating - Didn't do this before, but now it's setup: content will be updated on the DHT if a StoreContentMessage is sent with a newer version of the content Joshua Kissoon 2014-04-05 21:07:57 +0530
  • cc1d03ba81 Some comments and fixes Joshua Kissoon 2014-04-02 18:39:16 +0530
  • 3e236f4d17 Now we use a StorageEntry class to send data accross peers Joshua Kissoon 2014-04-02 18:05:14 +0530
  • 9190b122c7 The current mechanism for serializing content will not work for complex content types. Joshua Kissoon 2014-04-02 16:35:08 +0530
  • 5b3e01df4e Fixed the bug "Getting content from reloaded node(Node whose state have been saved and re-loaded from file) NullPointerException". Wrote a test to show getting content from reloaded node Joshua Kissoon 2014-04-01 10:42:43 +0530
  • 1995682992 Had some issues with saving node state since saving configuration had a problem. We do not need to save configuration! Fixed the bug by making the configuration transient Joshua Kissoon 2014-03-31 22:50:57 +0530
  • b1ab1be760 Content Lookup wasn't working! Fixed the issue! stupid "!" in the damn statement! Joshua Kissoon 2014-03-31 21:28:45 +0530
  • a259579f4a Created a KadConfiguration interface that allows passing in a configuration file as needed. This allows other applications to create their own configuration files Joshua Kissoon 2014-03-29 14:37:01 +0530
  • 6462722227 Fixed the bug where refreshing content routed content to wrong new nodes and also deleted content from localnode even if it was one of the closest! Joshua Kissoon 2014-03-29 12:29:13 +0530
  • c232fccc69 Added the getNodeStorageFolder method to the Configuration class rather than having it repeated in DHT and Kademlia Added a getDHT method to Kademlia Changed the folder structure in which content is stored in the DHT from Kademlia/substr(contentid, 10)/hash(content).kct TO Kademlia/ownerId/substr(contentid, 10)/hash(content).kct Joshua Kissoon 2014-03-29 10:52:55 +0530
  • 426af4d345 Removed the Save_state decision from configuration and allow the user to specify if to save the state when they call shutdown Joshua Kissoon 2014-03-26 16:23:17 +0530
  • 46b8c1329a Update README.md Joshua Kissoon 2014-03-22 17:50:17 +0530
  • 9293070f59 Update README.md Joshua Kissoon 2014-03-22 17:49:09 +0530
  • f0669b98a6 Update README.md Joshua Kissoon 2014-03-22 17:48:37 +0530
  • dadd0ac694 Update README.md Joshua Kissoon 2014-03-22 17:46:56 +0530
  • 76bf88f3fe Update README.md Joshua Kissoon 2014-03-22 17:45:06 +0530
  • 219e6073ed Content deletion from a node that is no longer one of the K-Closest is working! Joshua Kissoon 2014-03-22 15:52:37 +0530
  • d9fdcc57fd Fixed the bug that was causing replication of content files and StorageEntries. RefreshOperation working well!! Joshua Kissoon 2014-03-22 15:27:22 +0530
  • b93133337c Added a method to store content only locally Updated the StoreOperation to store content locally if the local Node is a part of the K-Closest to the content Joshua Kissoon 2014-03-22 14:33:31 +0530
  • 42be8498c0 Finished the todos: * @todo Make the KadBucket represent the Bucket interface * @todo Change the code to reflect the bucket interface and not the specific KadBucket implementation * @todo Update this interface and use this as parameter type, etc... instead of the KadBucket implementation used throughout the application Joshua Kissoon 2014-03-22 13:03:10 +0530
  • 6fdff97429 Setup the get bucket ID computation in one method. Added Javadoc Joshua Kissoon 2014-03-22 12:55:19 +0530
  • 104f20775f Fixed the bug that was causing the problem when adding the local node to the routing table when the routing table is created. - The problem was that we were creating the RoutingTable before the Node initialization was finished, which was causing some problems since the RoutingTable needs the NodeId which is not available until after the Node initialization Joshua Kissoon 2014-03-22 12:41:46 +0530
  • 3f82c4a0ef Did some code cleanups - Add Comments - Remove println statements - Deleted useless comments, etc Joshua Kissoon 2014-03-22 12:35:00 +0530
  • 21053a16ff Fixed the Distance Comparison bugs by using a new KeyComparator class of type Comparable<NodeId> and using BigIntegers to represent the keys and letting BigInteger do the comparisons Joshua Kissoon 2014-03-22 11:32:41 +0530
  • 0cc24d42f3 Trying to fix an issue in the nodelookupoperation where the k-Closest nodes system doesn't work. Joshua Kissoon 2014-03-22 10:53:05 +0530
  • 22fee9116a Problem with serializing the DHT also, had to create a DHT specific Serializer class Joshua Kissoon 2014-03-10 14:37:08 +0530
  • e2ca9326c9 Got system state storage and retrieval of state to work! Joshua Kissoon 2014-03-10 13:45:13 +0530
  • e1e6e4e40d Got storage to work! Joshua Kissoon 2014-03-10 11:08:51 +0530
  • d31f0e337f Still working on saving node state, the code is a huge mess right now Joshua Kissoon 2014-03-09 21:04:18 +0530
  • eb7d7b53a4 Setup storing of System state on shutdown Joshua Kissoon 2014-03-09 20:12:11 +0530
  • 630f8c2f28 Joshua Kissoon 2014-03-07 11:18:04 +0530
  • 46147eddd1 Finished a Basic version of the content refresh operation Joshua Kissoon 2014-03-07 11:14:45 +0530
  • a97905e431 Started working on the ContentRefreshOperation - Setup a method to get all storage entries for the different content - Started setting up the content refresh operation functionality Joshua Kissoon 2014-03-06 20:42:30 +0530
  • 689a35b7bf Cleaned up the core code, added comments and removed all Netbeans generated warnings Joshua Kissoon 2014-03-06 16:51:42 +0530
  • 796e41dd9a Updated the bucket refresh operation to use 1 thread to update each bucket Joshua Kissoon 2014-03-06 16:38:46 +0530
  • cabb5af742 Finish Bucket Refresh Operation :) Joshua Kissoon 2014-03-06 16:24:50 +0530
  • f91dea9e5f NodeId.getFirstSetBitIndex was actually returning a distance value, but without a comparison, was confusing things. Created a distance function to replace that. Joshua Kissoon 2014-03-06 12:49:15 +0530
  • 825c2ca13f Merge origin/master Joshua Kissoon 2014-03-06 11:21:41 +0530
  • acd7885dba Started working on the RefreshOperations Joshua Kissoon 2014-03-06 11:21:08 +0530
  • 5f81ccfdde Merge pull request #2 from bitdeli-chef/master Joshua Kissoon 2014-03-03 13:48:51 +0530
  • 4099417166 Add a Bitdeli badge to README Bitdeli Chef 2014-03-03 08:21:42 +0000
  • e4726b93f8 Content Store, Retrieve and DHT File and Table management working well Got a few Todos now to finish off Joshua Kissoon 2014-02-26 21:35:37 +0530
  • a12e075cec Working on The ContentLookupReceiver Joshua Kissoon 2014-02-26 19:16:44 +0530
  • 58f9157c9d Finished coding the lookup content functionality Joshua Kissoon 2014-02-26 18:58:55 +0530
  • a2d0be6124 Finished DHT content storage and retrieval Started working on Content lookup and sending content Joshua Kissoon 2014-02-26 17:07:18 +0530
  • b5e89c6ddb Keeping with some good coding standards - Code to Interfaces not implementations Changed the use of ArrayList to List and HashMap to Map Joshua Kissoon 2014-02-26 11:57:59 +0530
  • 9f14c66a31 Persistent content storage now working perfectly!!! Joshua Kissoon 2014-02-26 11:40:06 +0530
  • c67e501df6 Content Sending working between nodes Joshua Kissoon 2014-02-25 22:57:46 +0530
  • fa4b29305e Finished implementing a JsonSerializer to serialize Content Joshua Kissoon 2014-02-25 18:58:32 +0530
  • 995da2cffb Continuing work on message sending Joshua Kissoon 2014-02-25 13:42:08 +0530
  • faef3d03ec Started working on sending content messages Joshua Kissoon 2014-02-25 13:01:06 +0530
  • 44077d344d Started working on Node refreshing the K-Buckets and DHT content at every time interval t Started working on PUT, GET, STORE operation and on DHT Storage Joshua Kissoon 2014-02-24 21:26:49 +0530
  • 3344511603 Finished NodeLookupOperation functionality! Finally found the bug Joshua Kissoon 2014-02-22 19:37:04 +0530
  • 9eca0614f2 Still working on NodeLookupRequest Updated the NodeId equals() and hashCode() methods; fixes the bug where several same NodeIds were being added to the routing table Joshua Kissoon 2014-02-19 21:21:18 +0530
  • 1de348fc72 Working on NodeLookups Joshua Kissoon 2014-02-19 15:54:15 +0530
  • 58df7be300 Started working on the NodeLookupOperation Created some new Messages Updated a few minor things Joshua Kissoon 2014-02-19 13:00:29 +0530
  • 6ff6e8dc21 Fixed the NodeId Prefix Length method to give the correct prefixLength Joshua Kissoon 2014-02-19 11:38:27 +0530
  • ed1ac876f3 Fixed the bug in NodeConnection operation where the messages were still being re-sent even after an acknowledgement was received. Fixed by canceling the TimerTask Joshua Kissoon 2014-02-19 10:30:42 +0530
  • b3e1403872 Initial Commit Joshua Kissoon 2014-02-19 02:07:07 +0530
  • 7ccba43821 Initial commit Joshua Kissoon 2014-02-18 12:35:43 -0800