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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:27:31+00:00 2026-06-09T17:27:31+00:00

I have a web app built with MVC 4 with WebApi on the back

  • 0

I have a web app built with MVC 4 with WebApi on the back end which has entity framework.

I have used structure map to inject the entity framework to webapi. and injecting webapi client to MVC 4 app.

he application is running fine, but soon I will need scale.

MVC 4 app sits on one server, webapi is on another server and there is a database server.

How can I scale webapi horizontally? if i add webapi servers and database servers, is there a configuration for entity framework which will take multiple connection strings and do a round robin querying? is there sharding available for EF.

How about httpclient? how about failover such as client takes multiple IPs and if one fails, requests go to another server?

How can I scale them?

  • 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-09T17:27:32+00:00Added an answer on June 9, 2026 at 5:27 pm

    Typically one adds additional web servers and then uses a load balancer to distribute incoming requests among them. There’s a few considerations here.

    • If the web server persists data across requests (via ASP.NET session), you will need to create a separate state server that all the web servers can share, or use a load balancer that is state aware.

    • If the performance issue is stemming from database IO problems, (missing table indexes, index fragmentation, requests pulling huge result sets, less than optimal disk\hardware configs, etc…) then adding more web servers will not address the problem. The first step is to monitor and profile your database and make sure it is performing well.

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

Sidebar

Related Questions

I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app
I have a web-app with a Java back-end that uses Tomcat jdbc-pool for database
I am building a web app built on Spring MVC and Hibernate. I have
We have a web app that has a built-in search feature that our users
I have an ASP.NET MVC web app used to monitor the state of my
I have already built my web pages using jQueryMobile and ASP.NET MVC framework. Now,
I have an asp.net mvc app that is built to run as standard web
I have built a Spring 3 MVC driven RESTful web service app. I use
I have a web app built with Dojo 1.7.2, using RequireJS to load individual
I have a web app built on Java Servlet technology. I am thinking of

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.