{"_id":"anthill","_rev":"7-ce8bc1223db3faae2855697d18b41634","name":"anthill","description":"IPC-based publish / subscribe server architecture","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"author":{"name":"Petr Janda","email":"petrjanda@me.com"},"name":"anthill","description":"IPC-based publish / subscribe server architecture","version":"0.0.2","repository":{"type":"git","url":"git://github.com/petrjanda/anthill.git"},"engines":{"node":"~0.6.2"},"dependencies":{"dnode":"*","eventemitter2":"*"},"devDependencies":{"jasmine-node":"*"},"scripts":{"test":"./jasmine-node spec/"},"_npmUser":{"name":"petrjanda","email":"petrjanda@me.com"},"_id":"anthill@0.0.2","_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"607f55a5644b7349e322eb3ff281bca707d1aec3","tarball":"https://registry.npmjs.org/anthill/-/anthill-0.0.2.tgz","integrity":"sha512-qglouF5CjURBqsppmk4gYMpEjJcyK9eGD53WAtPs8wUNrdjSrUUTvDPhevkum76M8CCbzh9cb+x0A4VNwQ9cFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+bJO2uQywNJ2C23qcyim2AqI0U+PFAK62OC6k+hWMGAIgN5P9kbLMuX9tXkvB4mNSC67JLJolstcBxpCcdUK0UWA="}]},"maintainers":[{"name":"petrjanda","email":"petrjanda@me.com"}]},"0.0.3":{"author":{"name":"Petr Janda","email":"petrjanda@me.com"},"name":"anthill","description":"IPC-based publish / subscribe server architecture","version":"0.0.3","repository":{"type":"git","url":"git://github.com/petrjanda/anthill.git"},"engines":{"node":"~0.6.2"},"dependencies":{"dnode":"*","eventemitter2":"*"},"devDependencies":{"jasmine-node":"*"},"scripts":{"test":"./jasmine-node spec/"},"_npmUser":{"name":"petrjanda","email":"petrjanda@me.com"},"_id":"anthill@0.0.3","_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"e210e630a4a5bee544e2d6b8b11cc171fc8d71a8","tarball":"https://registry.npmjs.org/anthill/-/anthill-0.0.3.tgz","integrity":"sha512-FGTLq6qjkMWMK3ygk/q3MY9PjnkLj97V3p6bxzyQgYYG99KxV2ZFNaPZD2cAV5ZN6Wy4zIrTHWa7kwrocNyVHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEc3/1QGoPxpvyTYkL8C+OXmO/gzfo+hqus+cOsWy5GOAiAnknbLtCxkJie0PFWbXR0FXXYfPl69sfmJXUbXddNPEQ=="}]},"maintainers":[{"name":"petrjanda","email":"petrjanda@me.com"}]}},"readme":"# ANTHILL - IPC publish / subscribe architecture for node.js\n\n## Motivation\n\nNode.js application run in a single process. Its essential of how node.js work and can probably handle thousands of concurrent connections. Nevertheless development of one monolithic app has certaion disadvantages:\n\n* One failing piece of app can take it all down\n* Can be harder to plugin new component\n* Its harder to decouple system components\n* Make it more difficult to manage the whole development\n* etc.\n\nThe other way around is to split your app into pieces. In node.js that could be the separate processes. One process then take care about certain thing, certain subset of domain logic you intend to solve.\n\n## Architecture\n\nThe whole solution build on top of Dnode by James Halliday, the RPC library to allow inter process communication. It works even with Ruby, Perl or Java. Anthill builds on top of that and add publish / subscribe architecture. Your processes do their work themselves, and emit the events to outside world in case something important happened. There might be someone else interested about that. Other process then just subscribe for a given events.\n\n## License\n\nCopyright (c) 2011 Petr Janda\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.","maintainers":[{"name":"petrjanda","email":"petrjanda@me.com"}],"time":{"modified":"2022-06-13T03:06:21.628Z","created":"2011-12-03T18:13:35.717Z","0.0.2":"2011-12-03T18:13:39.678Z","0.0.3":"2011-12-04T23:37:28.022Z"},"author":{"name":"Petr Janda","email":"petrjanda@me.com"},"repository":{"type":"git","url":"git://github.com/petrjanda/anthill.git"}}