Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 69517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:35:11+00:00 2026-05-10T19:35:11+00:00

We have a DLL used as the middle layer between our website front end

  • 0

We have a DLL used as the middle layer between our website front end and our back end ticketing system. The method of insertion into the ticketing system is a bit complicated to explain, but the short version is that it’s slow. The best case scenario I’ve gotten is a 9 second submission time.

The real problem though, is that I can only get that time through a Windows app, not through an ASP.NET web site. I’ve set up both a Windows test application and a web page for testing, and even though the code is copied between them the web page is consistently submitting in 17-20 seconds, while the windows app is getting 8-11 seconds.

What could be causing that?

EDIT: In response to a couple of the answers…

The call to the web service is taking the bulk of the time, but I have no control over this web service as it’s provided by the ticketing system vendor. I need to find out why the web service is taking different amounts of time when it’s being called form a different kind of application. The code is exactly the same in both cases, and it’s running a loop then reporting the times recorded.

The code is:

for (int i = 0; i < numIterations; i++)         {             startTimes[i] = DateTime.Now;              try             {                 cvNum = Clearview.Submit(req, DateTime.Now, DateTime.Now, false);             }             catch (Exception ex)             {                 exceptionCount++;                 lblResult.Text += @'<br />Exception Caught: ' + ex.Message + @'<br />';                                 }              endTimes[i] = DateTime.Now;     } 

It’s the same loop in both cases, and I’m marking the time right before and after the call to the library, which does further processing and then calls the web service. But that processing should be consistent shouldn’t it? I have traced during debugging and not seen any delay getting to the actual web service call…

EDIT Again: Working with Ants, in both cases 99.4% of the time is being sent just on the web service call. There appears to be no difference there… except that when timed out the web page is taking longer than the windows app.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:35:11+00:00Added an answer on May 10, 2026 at 7:35 pm

    Are you running both on the same machine? Is the middle-layer that you are calling located on a remote machine? The time durations you mentioned vaguely feels like a DNS timeout issue, when opening a connection incurs the penalty for the first (down/misaddressed) DNS response to timeout. Are you sure that whatever config file/var pointing the DLL to the middle-layer are the same in both invocations?

    I second the suggestion to use Wireshark to see what is going on. You can at least satisfy yourself that the backend processing time is (should be, anyways) the same…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 162k
  • Answers 162k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes it can. In fact, that's exactly what a singleton… May 12, 2026 at 12:03 pm
  • Editorial Team
    Editorial Team added an answer Try adding an identity element to your ServiceA configuration: <client>… May 12, 2026 at 12:03 pm
  • Editorial Team
    Editorial Team added an answer I found this nice nline utility with a bunch of… May 12, 2026 at 12:03 pm

Related Questions

I have a bit of code for a dll that is needed by two
We have a core library in the form of a DLL that is used
We have a Com+ VB6 DLL used in our asp classic application. After upgrading
The application my team is currently developing has a DLL that is used to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.