<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 3, 2009, at 2:32 PM, V S P wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thank you so much<br>Yes, this plugin is what I am looking for process pool<br>" <br> &nbsp;&nbsp;&nbsp;"""<br> &nbsp;&nbsp;&nbsp;This plugin provides ways to create a process pool service in your<br> &nbsp;&nbsp;&nbsp;system listening on a given port and interface and answering to a<br> &nbsp;&nbsp;&nbsp;given set of commands.<br> &nbsp;&nbsp;&nbsp;"""<br>"<br><br>So I just need to inherit from <br>AMPConnector and have a trully scalable server!</div></blockquote><div><br></div><div>No. Wait there... AMPConnector is only a frontend and it's not</div><div>made to be inherited. You might want to inherit it only to add some</div><div>weird functionality to it. Another option is to not use it but create</div><div>a new one to avoid using AMP as a child-parent protocol.</div><div><br></div><div>You really want to subclass AMPChild and create a good AMPParent</div><div>by subclassing amp.AMP.</div><div><br></div><div>There are some examples in the code and to expose a process pool</div><div>on the net you shouldn't do anything more than adding the right argument</div><div>to the command line twistd plugin.</div><br><blockquote type="cite"><div>Two more questions:<br><br>What's the mechanism of 'registring' multiple twisted servers<br>(something similar to a Name server in Corba) -- so an event<br>dispatching client can 'discover' the servers running on <br>multiple machines<br></div></blockquote><div><br></div><div>I haven't written such a mechanism yet. It shouldn't be too hard to have</div><div>a simple version but having everything go through the same master node</div><div>is kind of problematic from a scalability point of view. It would be better to</div><div>have a routing system where each system knows each other but probably</div><div>this has a lot of memory overhead to keep in memory the list of nearby</div><div>servers... If anyone is willing to spend some time to design some kind of</div><div>solution for this I'd be happy to implement it in ampoule. I'm pretty sure that<br></div><div>this was done in other projects already.</div><br><blockquote type="cite"><div>And how does one run multiple XAMPP servers in twisted -- such<br>that work to each server is distributed either by a hash on a user<br>name or some other way (or does such mechanism exist).<br></div></blockquote><div><br></div><div>It's just AMP, XMPP is another protocol.&nbsp;</div></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">-- </span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Valentino Volonghi aka Dialtone</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Now&nbsp;running MacOS X 10.5</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Home Page: <a href="http://www.twisted.it">http://www.twisted.it</a> </span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://www.adroll.com">http://www.adroll.com</a></span></div></div></div></span></div></span></div></span> </div><br></body></html>