Permalink
Browse files

Version 0.0.4

  • Loading branch information...
1 parent f2fa5e9 commit 92ebf6b32c61dd733abdd3a6022a9a863a0dc5d6 @ajlopez committed Mar 4, 2014
Showing with 9 additions and 8 deletions.
  1. +1 −1 README.md
  2. +3 −2 lib/simplestorm.js
  3. +1 −1 package.json
  4. +1 −1 samples/DistributedWebCrawler/package.json
  5. +1 −1 samples/Workers/README.md
  6. +2 −2 samples/Workers/package.json
View
@@ -121,7 +121,7 @@ server and many topologies running in worker processes.
- 0.0.3: Published. Major internal/external refactor. Spout.start, Bold.process.
Topology.listen. Topology Server. Task message exchange between running worker processes (in different
nodes). Workers sample.
-- 0.0.4: Under develoopment, in master. To implement local and distributed ack.
+- 0.0.4: Published. Using SimpleMessages 0.0.6
## To Do
View
@@ -252,10 +252,11 @@ exports.createTopologyServer = function () {
}
return simplemessages.createServer(function (client) {
+ console.log('new client');
addClient(client);
- client.on('error', function() { removeClient(client); });
- client.on('close', function() { removeClient(client); });
+ client.on('error', function() { console.log('client error'); removeClient(client); });
+ client.on('close', function() { console.log('client close'); removeClient(client); });
client.on('data', function(msg) {
if (isHostMessage(msg))
broadcast(msg, client);
View
@@ -10,7 +10,7 @@
"test": "nodeunit test"
}
, "dependencies": {
- "simplemessages": "0.0.5"
+ "simplemessages": "0.0.6"
}
, "devDependencies": {
"nodeunit": ">= 0.7.4"
@@ -3,6 +3,6 @@
"version": "0.0.1",
"private": true,
"dependencies": {
- "simplequeue": "0.0.3"
+ "simplequeue": "0.0.4"
}
}
@@ -23,7 +23,7 @@ Server exposes a queue server using port 3000. It listens to topology workers at
Launch one or more clients
```
-node stormnode.js port
+node stormapp.js [port]
```
The node starts to listen other nodes at `port`. It communicates its address to the topology server
listening at port 3001.
@@ -1,8 +1,8 @@
{
- "name": "distributed-webcrawler-example",
+ "name": "workers-example",
"version": "0.0.1",
"private": true,
"dependencies": {
- "simplequeue": "0.0.2"
+ "simplequeue": "0.0.4"
}
}

0 comments on commit 92ebf6b

Please sign in to comment.