<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 1 mars 2013 à 23:27, Glyph &lt;<a href="mailto:glyph@twistedmatrix.com">glyph@twistedmatrix.com</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Mar 1, 2013, at 1:52 PM, Benjamin BERTRAND &lt;<a href="mailto:beenje@gmail.com">beenje@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">I was hoping to avoid having to put something like AMP in place, because it looked a bit overkill for my case.</div><div style="font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">I think I actually found a way :-)</div></blockquote></div><div><br></div><div>In what way is it "overkill"? &nbsp;The dictionary says that &lt;<a href="http://dictionary.reference.com/browse/overkill">http://dictionary.reference.com/browse/overkill</a>&gt; is "an&nbsp;excess&nbsp;of&nbsp;what&nbsp;is&nbsp;required&nbsp;or&nbsp;suitable,&nbsp;as&nbsp;because&nbsp;of&nbsp;zeal&nbsp;or&nbsp;misjudgment". &nbsp;What is AMP too much of? &nbsp;Memory? &nbsp;CPU? &nbsp;Bandwidth? &nbsp;API complexity? &nbsp;Code size? &nbsp;As compared to what?</div></div></blockquote><div><br></div><div>"overkill" wasn't maybe the proper term to use.</div><div>I was just referring to code complexity based on my knowledge, or lack of knowledge :-)</div><div>I had the impression AMP is used when you need to exchange various command/response.</div><div>I don't need all that "power" as I just want to pass some messages.</div><div><br></div><div>I thought using a deferred like I did in my code example was easier.</div><div>Not sure though as Jean-Paul pointed it probably doesn't work.</div><div><br></div><div>My server already uses a specific protocol to communicate with the client.</div><div>So I don't really see how to integrate AMP there.</div><div>Do you have any example?</div><div><br></div><div>Thanks</div><div><br></div><div>Benjamin</div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>-glyph</div></div>_______________________________________________<br>Twisted-Python mailing list<br><a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br></blockquote></div><br></body></html>