<html><body>
<ul style="padding-left: 3pt">
<p><font size="3" face="Bookman Old Style">Pragya,</font><br>
<br>
<font size="3" face="Bookman Old Style">my understanding of your question:</font><br>
<br>
<font size="3" face="Bookman Old Style">Both of the controller is to handle the common HTTP REST request such as GET,PUT,POST,DELETE etc. The first controller is the entry point of proxy-server to handle the client requests which is exposed as Swift API externally. But the second controller is the entry point of account-server and won't be directly accessible by client. It will be invoked by the proxy server internally via HTTP RESTful interface to provide the specific account operations.</font><br>
<br>
<font size="3" face="Bookman Old Style">-Zhang Hua(Edward)</font></ul>
<br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for pragya jain ---2013-09-27 ÉÏÎç 12:52:40---pragya jain <prag_2648@yahoo.co.in>"><font size="2" color="#424282" face="sans-serif">pragya jain ---2013-09-27 ÉÏÎç 12:52:40---pragya jain <prag_2648@yahoo.co.in></font><br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com); background-repeat: no-repeat; " width="40%">
<ul style="padding-left: 72pt"><font size="1" face="sans-serif"><b>pragya jain <prag_2648@yahoo.co.in></b></font><font size="1" face="sans-serif"> </font>
<p><font size="1" face="sans-serif">2013-09-27 ÉÏÎç 12:50</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="1" face="sans-serif">Please respond to<br>
pragya jain <prag_2648@yahoo.co.in></font></div></td></tr>
</table>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<ul style="padding-left: 7pt"><font size="1" face="sans-serif">"openstack@lists.openstack.org" <openstack@lists.openstack.org>, </font></ul>
</td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
</td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<div align="right"><font size="1" face="sans-serif">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""><br>
<ul style="padding-left: 7pt"><font size="1" face="sans-serif">[Openstack] Fw: problem in understanding interaction between swift proxy and other servers through swift source code</font></ul>
</td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=C7BBF160DF9A86688f9e8a93df938@cn.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<font size="3" face="Times">hello,</font><br>
<br>
<font size="3" face="Bookman Old Style">I am forwarding this mail again.</font><br>
<font size="3" face="Bookman Old Style">Please help me in this regard.</font><br>
<br>
<font size="3" face="Bookman Old Style">---</font><br>
<font size="3" face="Bookman Old Style">Thanks </font><br>
<br>
<font size="3" face="Bookman Old Style">Pragya Jain</font><br>
<ul style="padding-left: 3pt"><font size="3" face="Times New Roman">----- Forwarded Message -----</font><font size="2" face="Arial"><b><br>
From:</b></font><font size="2" face="Arial"> pragya jain <prag_2648@yahoo.co.in></font><font size="2" face="Arial"><b><br>
To:</b></font><font size="2" face="Arial"> "openstack@lists.openstack.org" <openstack@lists.openstack.org> </font><font size="2" face="Arial"><b><br>
Cc:</b></font><font size="2" face="Arial"> anita goel <goel.anita@gmail.com> </font><font size="2" face="Arial"><b><br>
Sent:</b></font><font size="2" face="Arial"> Tuesday, 24 September 2013 5:37 PM</font><font size="2" face="Arial"><b><br>
Subject:</b></font><font size="2" face="Arial"> problem in understanding interaction between swift proxy and other servers through swift source code</font><br>
<br>
<font size="3" face="Bookman Old Style">Hello,</font><br>
<br>
<font size="3" face="Bookman Old Style">I am studying swift source code.</font><br>
<br>
<font size="3" face="Bookman Old Style">My problem is:</font><br>
<font size="3" face="Bookman Old Style">1) What are the roles of class AccountController defined in swift / proxy / controllers / account.py and class AccountController defined in swift / account / server.py</font><br>
<font size="3" face="Bookman Old Style">2) How these two classes differ from each other and </font><br>
<font size="3" face="Bookman Old Style">3) How these two class interact with each other i.e. </font><br>
<font size="3" face="Bookman Old Style">According to my understanding, when a user make a request, __call__() function defined in Application class in swift / proxy /server.py is executed, which ,in turn, calls handle_request() function which sends the control to the swift / proxy / controllers </font><br>
<br>
<font size="3" face="Bookman Old Style">Now, I can't understand through which function call will the control go from proxy server to other (account/container/object) server</font><br>
<br>
<font size="3" face="Bookman Old Style">Please help me in this regard</font><br>
<br>
<font size="3" face="Times New Roman"><br>
</font><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</ul>
</body></html>