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 7983939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:06:46+00:00 2026-06-04T11:06:46+00:00

I have created a vb.net application that uses a SQL Server database at a

  • 0

I have created a vb.net application that uses a SQL Server database at a remote location over the internet.

There are 10 vb.net clients that are working on the same time.

The problem is in the delay time that happens when inserting a new row or retrieving rows from the database, the form appears to be freezing for a while when it deals with the database, I don’t want to use a background worker to overcome the freeze problem.

I want to eliminate that delay time and decrease it as much as possible

Any tips, advises or information are welcomed, thanks in advance

  • 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. Editorial Team
    Editorial Team
    2026-06-04T11:06:48+00:00Added an answer on June 4, 2026 at 11:06 am

    Well, 2 problems:

    The form appears to be freezing for a while when it deals with the database, I don’t want to use a background worker
    to overcome the freeze problem.

    Vanity, arroaance and reality rarely mix. ANY operation that takes more than a SHORT time (0.1-0.5 seconds) SHOULD run async, only way to kep the UI responsive. Regardless what the issue is, if that CAN take longer of is on an internet app, decouple them.

    But:

    The problem is in the delay time that happens when inserting a new records or retrieving records from the database,

    So, what IS The problem? Seriously. Is this a latency problem (too many round trips, work on more efficient sql, batch, so not send 20 q1uestions waiting for a result after each) or is the server overlaoded – it is not clear from the question whether this really is a latency issue.

    At the end:

    I want to eliminate that delay time

    Pray to whatever god you believe in to change the rules of physics (mostly the speed of light) or to your local physician tof finally get quantum teleportation workable for a low cost. Packets take time at the moment to travel, no way to change that.

    Check whether you use too many ound trips. NEVER (!) use sql server remotely with SQL – put in a web service and make it fitting the application, possibly even down to a 1:1 match to your screens, so you can ask for data and send updates in ONE round trip, not a dozen. WHen we did something similar 12 years ago with our custom ORM in .NET we used a data access layer for that that acepted multiple queries in one run and retuend multiple result sets for them – so a form with 10 drop downs could ask for all 10 data sets in ONE round trip. If a request takes 0.1 seconds internet time – then this saves 0.9 seconds. We had a form with about 100 (!) round trips (creating a tree) and got that down to less than 5 – talk of “takes time” to “whow, there”. Plus it WAS async, sorry.

    Then realize moving a lot of data is SLOW unless you have instant high bandwidth connections.

    THis is exaclty what async is done for – if you have transfer time or latency time issues that can not be optimized, and do not want to use async, go on delivering a crappy experience.

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

Sidebar

Related Questions

I have created a windows form application which uses an SQL database. The database
Some time back I created a small application that uses SQL CE 4.0 database
I have created a new ActionFilter for an ASP.NET MVC application that I'm creating.
I have created an SMS application in .NET. I wanted that the application should
We have an ASP.NET application that uses Forms Auth. When users log in, a
I am currently working on a VB.NET desktop application that uses .mdb (Access) database
I'm developing a Windows Mobile WinForm application that uses Sql Server CE 3.1 with
I am trying out Linq to SQL in an ASP.NET application that uses a
We have an ASP.NET 2.0 application that uses Enterprise Library Data Access Application Block
I have built an ASP.NET MVC web application that uses Entity Framework. To provide

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.