need to get Posted data as fast as i can
<p>I created a web page to receive some data Posted from third party
My code is follows</p>

<pre><code>    static StreamReader sr;
    string data = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (Request.QueryString["Name"] != null)
            {
                data = Request.QueryString["Name"].ToString();
                ProcessData(data);
            }
            else if (Page.Request.InputStream.Length &gt; 0)
            {
                sr = new StreamReader(Page.Request.InputStream);
                data = Server.UrlDecode(sr.ReadToEnd());
                sr.Close();
                ProcessData(data);
            }
        }
        catch (Exception ex)
        {
            Logger(ex.ToString() + " StackTrace: " + Convert.ToString(ex.StackTrace));
        }
    }
</code></pre>

<p>I need to get the posted data and response within 1000 milliseconds.
But it is sometime more than 3 seconds and sometime less than a second.
Please tell what are the chances. And how can i reduce this time taken.
Please someone help...</p>
