Permalink
Browse files

Setup the message queue file and directory structure.

  • Loading branch information...
1 parent 8d7673c commit d4082730ae760d0efcab3706083bbe3137eef943 @danpres14 danpres14 committed Nov 1, 2012
Showing with 117 additions and 5 deletions.
  1. +9 −1 .gitignore
  2. +0 −4 README.md
  3. +9 −0 examples/example.js
  4. +11 −0 index.js
  5. +9 −0 lib/queue.js
  6. +17 −0 lib/redisMsgQueue.js
  7. +9 −0 lib/task.js
  8. +10 −0 license
  9. 0 package.json
  10. +34 −0 readme.md
  11. +9 −0 test/test.js
View
@@ -1,3 +1,11 @@
+##
+ #
+ # Copyright (c) 2012 Short Line Design Inc.
+ # Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ # The MIT License (MIT)
+ #
+ ##
+
lib-cov
*.seed
*.log
@@ -12,4 +20,4 @@ logs
results
node_modules
-npm-debug.log
+npm-debug.log
View
@@ -1,4 +0,0 @@
-RedisMsgQueue
-=============
-
-A Redis Message Queue
View
@@ -0,0 +1,9 @@
+/*
+ * The Redis Message Queue - node.js example application
+ *
+ * Copyright (c) 2012 Short Line Design Inc.
+ * Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ * The MIT License (MIT)
+ *
+ */
+
View
@@ -0,0 +1,11 @@
+/*
+ * The default require path for the
+ * Node.js Redis Message Queue module.
+ *
+ * Copyright (c) 2012 Short Line Design Inc.
+ * Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ * The MIT License (MIT)
+ *
+ */
+
+module.exports = require('./lib/redisMsgQueue');
View
@@ -0,0 +1,9 @@
+/*
+ * The Redis Message Queue - queue object
+ *
+ * Copyright (c) 2012 Short Line Design Inc.
+ * Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ * The MIT License (MIT)
+ *
+ */
+
View
@@ -0,0 +1,17 @@
+/*
+ * The Redis Message Queue
+ *
+ * Copyright (c) 2012 Short Line Design Inc.
+ * Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ * The MIT License (MIT)
+ *
+ * The Redis Message Queue is a lightweight message queue
+ * designed to provide sequential processing of all tasks in
+ * a message group (based on a group key) while maintaining highly
+ * parallel processing across multiple message groups with disparate
+ * keys. This message queue also provides for highly parallel processing
+ * of all tasks that have not been assigned to a message group (the group key is
+ * undefined) such that each task is passed to a single worker's callback function.
+ *
+ */
+
View
@@ -0,0 +1,9 @@
+/*
+ * The Redis Message Queue - task object
+ *
+ * Copyright (c) 2012 Short Line Design Inc.
+ * Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ * The MIT License (MIT)
+ *
+ */
+
View
10 license
@@ -0,0 +1,10 @@
+The MIT License (MIT)
+
+Copyright (c) 2012 Short Line Design Inc.
+Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
No changes.
View
@@ -0,0 +1,34 @@
+# RedisMsgQueue
+
+The Redis Message Queue is a lightweight message queue
+designed to provide sequential processing of all tasks in
+a message group (based on a group key) while maintaining highly
+parallel processing across multiple message groups with disparate
+keys. This message queue also provides for highly parallel processing
+of all tasks that have not been assigned to a message group (the group key is
+undefined) such that each task is passed to a single worker's callback function.
+
+
+### Installation
+
+ $ npm install redisMsgQueue
+
+
+### API
+
+
+### Tests
+
+
+### License
+
+The MIT License (MIT)
+
+Copyright (c) 2012 Short Line Design Inc.
+Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,9 @@
+/*
+ * The Redis Message Queue - nodeunit test suite
+ *
+ * Copyright (c) 2012 Short Line Design Inc.
+ * Copyright (c) 2012 Dan Prescott <danpres14@gmail.com>
+ * The MIT License (MIT)
+ *
+ */
+

0 comments on commit d408273

Please sign in to comment.