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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:44:26+00:00 2026-05-19T09:44:26+00:00

In our environment we have our externally-facing Web servers off-site (same city). Then internally

  • 0

In our environment we have our externally-facing Web servers off-site (same city). Then internally we have our SQL server, which is being called from the above Web servers. (We do have a SQL server off-site, but it’s being used less and less now.)

I’ve heard that SQL calls (we’re using Microsoft SQL Server) have (rather wasteful) network overhead associated with them, but outside of this question, I’m not finding much about that online.

Given the situation above, where we have:

  • off-site (external) Web servers querying a SQL server on-site (internal)
  • a 3-5+ MB connection between the off-site and on-site facilities
  • differing levels of caching on the Web server, due to need

does it make sense to continue with SQL calls, or is it more efficient to create a Web service on an on-site (internal) Web server that is then called by those off-site servers?

We’re moving 100% to ASP.NET, so we’d probably go WCF for the services, since that’s what we’ve used for third-parties, but I assume performance differences to be the same whichever language is used.

Thanks!

Edit 1: Attempting to clarify: I’m asking about the efficiency of SQL calls across a network connection, as opposed to using a Web service. I’m aware that adding a Web service that makes SQL calls is adding complexity, but if what the Web service returns is more efficient than what SQL returns (for the same data set) … For example, the difference between sending XML and JSON.

To me, it seems that the SQL call would be much more efficient from a programming standpoint. I can directly query the data that I want/need for particular cases, instead of creating a service method for each, or having a method that returns more information than I need, so it can be used for multiple cases.

If ‘using Web services to return data across the network is more efficient than directly calling SQL’ is just marketing, and there’s no practical impact, then so be it.

Looking at what Microsoft provides, it seems that ‘only use a Web service if communicating with third-parties or if you’re programming in something that does not easily allow for SQL access’ is the suggestion/guideline.

  • 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-05-19T09:44:27+00:00Added an answer on May 19, 2026 at 9:44 am

    I wouldn’t have thought that using a web service would be a very fast solution either. The main benefit I would see in using a web service is that you wouldn’t have to expose the SQL server directly to external networks. This would potentially make the web service option more secure.

    I think you need to ask yourself a couple of questions such as:

    1. Is the speed of data access actually a concern?
    2. Is the slowest part of the data retrieval operation the transfer of data between the SQL Server and the web server or is it actually the SQL query or the processing of the results by the webserver that is the slowest step?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At my company, we have tiered environment for our web applications (development, staging, production).
I have a web application that works in our stage/test environment fine but once
We have Windows Server 2008 as our Production server hosted in RackSpace environment. Following
In our FreeBSD-environment where we have one server that acts as a file-server, we
In our Production environment we have JBoss running in a clustered mode with 4+
Hi on our dev environment we have show all errors, warnings and notices. I'm
In our environment, we have 32-bit and 64-bit machines for development. In VS 2010,
Our developer environment setup tends to have a lot of moving parts with a
I have a 2.0 framework ASP.Net page that runs in our controled environment (IE
I have a support environment where we connect to many of our customers' systems

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.