WCF / ASMX :: Load Balancing Using Web Service?
Jun 23, 2010
resently we are developing a windows product using dot net, combined withsas (another language). If sas not get installed in local machines then we are in need of using server machine which has sas with it, we are using socket programming to communicate with server machine,Problem is when more number of requests comes to the server for processing sas it is becoming slow, so we need Load balancing If we go with web service which is having same domain name but different ip address mapped using
View 2 Replies
Similar Messages:
Oct 21, 2010
I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for web-farm (for website) and NLB Load balancing (for service). I would like to configure following options for same. NetTcpBinding.maxConcurrentCalls, NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections
Note: During single machine configuration when I changed value of NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections in WCF Service project to more that 10, which is default value. I got exception. When I changed this value in Website it was working fine. Due to this I had to keep in default configuration. Not sure why this is the case. If anyone could explain this it would be helpful. Following reference gives idea how to configure in given environment but does not tell how to go about it.
View 2 Replies
Oct 21, 2010
I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for web-farm (for website) and NLB Load balancing (for service). I would like to configure following options for same.
NetTcpBinding.maxConcurrentCalls, NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections
Note: During single machine configuration when I changed value of NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections in WCF Service project to more that 10, which is default value. I got exception. When I changed this value in Website it was working fine. Due to this I had to keep in default configuration. Not sure why this is the case. Following reference gives idea how to configure in given environment but does not tell how to go about it. Ref: [URL] Update: Let me simplify a bit. Lets say I have following configuration.
2 IIS servers in Web Farm.
3 WCF Service Servers (NetTcp) in NLB
Default config. for single instance.
NetTcpBinding.ListenBacklog: 10
NetTcpBinding.MaxConnections: 10
NetTcpBinding.maxConcurrentCalls: 16
Now what will be my configuration setting in this environment. Will it be same as above or will be as follows.
NetTcpBinding.ListenBacklog: 30 (10*3)
NetTcpBinding.MaxConnections: 30 (10*3)
NetTcpBinding.maxConcurrentCalls: 48 (16*3)
View 1 Replies
Jul 27, 2010
I am working on asp.net (newbie) and I am trying to understand what it means to do "load balancing" for the web site. The website will be used by multiple users and resources (database, web service,..).
View 7 Replies
Feb 16, 2011
I am making a project for the university. When admission Starts, suddenly a lot of traffic comes at my site around 50000 to 100000 users. Site goes down therefore.
View 1 Replies
Mar 9, 2011
I have 4 servers participating in load balancing environment. The same ASP.NET application is being hosted in each server.
I would like to get the DNS Name regardless of the underlying server.
Request.Url.Host
Environment.MachineName
System.Net.Dns.GetHostName()
View 2 Replies
Mar 25, 2011
I have a asp.net website with separate web server, Application server and database server. Now I need to have configure load balancing with two web and Application server. I don't have any idea about load balancing. how to proceed with load balancing.
View 1 Replies
Mar 25, 2010
We are having two load balancing server. In that we have hosted a asp.net 3.5 application right now we are using request userhostaddress to get visitor ip but it is giving load balancer ip instead of real ip.
View 3 Replies
Mar 1, 2010
I was discussing load-balancing with a colleague at lunch. I admit that I know very little about this topic. We were discussing the various ways of maintaing session in a ASP.NET application -- none of which suited the high performance load balancing that he was looking for. What about Silverlight? says I. As far as I know it is stateless, you've got the app running in the browser and you've got services on the server that feed/process data. Does Silverlight totally negate the need for Session state management? Is it more friendly to load-balancing? Is it something in between?
View 3 Replies
Jan 4, 2010
We have three web servers in our web farm that are load balanced using the Network Load Balancing Manager in Windows 2003. The sites that run on these boxes use In-Proc ASP.NET session. Our assumption is that the balancing uses a "sticky" session because users seem to be assigned to a given server during their use of the application as well as there doesn't appear to be any session error where the session data is residing on a previous machine. My question is how can I 1) verify that our balancing configuration is using "sticky" sessions and 2) can someone explain the load balancing feature in Windows 2003 relative to ASP.NET web applications?
View 1 Replies
Sep 16, 2010
Is there any solutions that "increases power of a single machine" instead of traffic distribution between different hosts. I mean the following schema: "Central server" receives all requests and for its execution it provide "a copy of shared memory" to different hosts.
View 1 Replies
Nov 9, 2010
We are developing an ASP.NET eterprise level application. Customer wants to support for load balancing and fail over. Also customer need that if one server pc fails, end user should not notice that. is this possible? Will there be a timeout for the end user?
View 8 Replies
Oct 13, 2010
I wanted to understand the behavior of HttpContext.Current.Application during the load balancing. I have read that session can be stored in disk hence can be retrieved from different servers. Is this true for HttpContext.Current.Application also. Does the keydata stored in one machine is accessible in other different machine too?
View 1 Replies
Mar 25, 2011
We are planning to introduce Load balancing in our server environment. Our site has lots of thumbnails (Thumbimages) to get displayed on the website. As all the images should be there under Web directory to get displayed on web site, do I need to maintain these TNs in all the servers? Is there any other way to accomplish this?
View 1 Replies
Jan 12, 2010
I am new to asp.net, I have been tasked to upgrade the physical architecture to load balancing environment to support the application. I done some reading the session state should be configure to Out-Process instead of In-Proc to support load balancing. Is there any other issues I need to take note for asp.net web application to run in the load balanced environment?
View 1 Replies
Oct 4, 2010
My website/application is in ASP.NET. I use the traditional Session object when people connect so they have their preference, etc. My problem is that sessions were lost very often. I discovered that my hosting company was using load balancing on their servers, so one request on my website can be on one server, and the other on another one.
I tried to store the session data in a SQL Server database, but I quickly discovered that I can't create the needed database on my shared server because I only have one database in my package. Also, there is no guarantee that the rest of the script would have been able to run.
My questions: is there any other way to get around this problem? Should I buy another database only for this? Is there another type of session that I could use? Is there anything else I can use instead of session to keep track of my user when they are connected on my website?
View 4 Replies
Mar 25, 2010
We are using two load balancing server for asp.net site in that we have a functionality which will create a receipt of order in pdf using abcpdf component it was working fine without load balancing server and but when we move it to load balancing server it is giving errors like. A generic error occurred in GDI. I have given full rights to directory which is used but still there problem. Does anybody have a solutions for this.
View 1 Replies
Aug 9, 2010
I've been assigned a task to get a site ready for migration over to a load balanced architecture. It will have 4 active servers and 2 static, where the active ones will contain the main site, with the static ones containing images, text files etc..My question is, what is the best way to deal with the image paths in this situation?e.g. one one server the image will be something like : 'serverONE/images/image.jpg' but this need the ability to change to 'serverTWO/images/image.jpg'
View 4 Replies
Oct 13, 2010
i just have a question about using FileUpload control to upload files to server. Let's say i have 2 servers for a network load balancing, should i need to do something for ensure the data/files is synchronize between that 2 servers?
View 2 Replies
Sep 27, 2010
We currently have two web servers (Windows Server 2008 Standard, IIS7) setup to host an ASP.Net website and are using the basic features of our hardware firewall to provide network load balancing (NLB) between the two servers. This means we have had to change the ASP.Net session state mode to SQL Server in order to make the data stored in session accessible no matter which server responds to the request. The main issue now is that crystal reports (basic edition packaged with VS2008) do not seem to support serialization which is needed in order to store/transfer the report to session state on SQL Server.
From what I have read so far in order to get crystal reports working in a web farm environment it seems the only option is to upgrade to Crystal Reports Server and load the reports from a third server. Another option may be to use SQL Server Reporting Services (SSRS) as we already have this so no extra cost involved, however I'm not sure if SSRS would resolve the issue with storing reports in session?
View 1 Replies
Nov 12, 2010
My servers are behind F5 load balancer, I wanna use HttpRuntime.Cache in my web application but I didn't find out the way for to use that method for those using network load balancing server. Or can we store that HttpRuntime.Cache to sql server like the session we do in web.config file?
View 4 Replies
Feb 8, 2010
How to design huge platform like orkut social networking and load balancing users ? any reference links ? or db structure ?
View 4 Replies
Feb 24, 2011
We have an ASP.NET application deployed on 2 Application servers with load balancer server. It is using INPROC state management. The ADO.NET connection pooling is enabled with 50 as minimum connections and 100 maximum connections.
In Load testing (using load testing tool) when the application reaches to 50 users no more users can connect (login) to application the TPS reaches zero. No errors are logged in application log related to application or database. The sessions are working fine.
View 2 Replies
May 5, 2010
if i have the web application with many pages like add order page, edit order page, and delete order page actually they also interact with the Sql Server 2008 and i also create web service page call Sales_Service.asmx. i know just i need to put something like query into Web Method in Sales_Service.asmx but i have a lot of queries, i don't know which query i should put into it and how the web page call the Sales_Services.asmx
View 2 Replies
Nov 8, 2010
A customer reported that our asmx web service is continually increasing in memory (mem usage as well as private bytes). We are able to reproduce the problem in our lab with Windows 2003 Server SP2 (fully patched) on some of the machines. The customer is using Windows 2008.
We created a Hello World web service targeting the 2.0 framework built under VS2005 SP1 and a test client that continues to call it. The memory increases steadily - approximately 40K per client request. If the test app is paused, the memory remains the same. When it is closed, the memory drops. Explicit calling of GC.Collect does not drop the memory.
We have run the memory profiler on the service and the leak is all native memory. We have uninstalled/re-installed the Framework on one of the machines but no difference. To our knowledge all of the security and IIS settings are not modified. We have compared app pool, default web site and virtual directory properties to machines that have no problem and they are identical.
View 11 Replies