![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
so can any body suggest any alternative to this approach, bascially i want the build a scalable system. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Deepak, And another option is to put a compute grid behind your server. This will give you a model that can scale to the thousands without bogging down the CPU that the server is running on. .NET Grid computing solutions: Commercial-> Digipede Network (http://www.digipede.net/products/sdk.html) Free Developer Edition available. Open Source-> Alchemi (http://www.alchemi.net/) |
#5
| |||
| |||
|
#6
| |||||
| |||||
|
|
You can continue to add hardware to your web farms, but for some companies that isn’t an option. The other thing to consider is how many machines you really need; you certainly want to have enough processing power to accommodate peak times, but those machines may be idle far more than you want them to be. A viable solution to this problem is a compute grid. |
|
We have several customers who have put a compute grid behind their web servers to improve performance. For example, one of our customers is an event company and they create a PDF file on-the-fly (http://www.digipede.net/products/case_pacevents.html.) When they had this functionality on the web server, the web server’s response time was sluggish during peak times. Because of the flexibility of a compute grid, the company was able to create their compute grid using existing machines (that weren’t in the server room) and move the PDF creation there. Read the case study because it explains it much better than I am. |
|
computing talks about these long running tasks. But parallelizable work is parallelizable work, in my mind a short running task is usually best suited for a thread, unless you are expecting to get a lot of them. |
|
building a concurrent system you need to do performance tests. As I see it .NET developers currently have two concurrency tools at their disposal: threads and grid objects. |
|
I hope that answers your questions and if I missed something please let me know...it’s after 2am right now. :-) |
#7
| |||
| |||
|
|
Hi All, I have a remoting server which will cater to the client request in asynchronous way, and the number of clients can be any,in the implemention of the remoting server ,i am spawning one thread for each client request. the server does bit of work before sending the results to client. my concern regarding this is ,if for each request one thread is spawn,then say if there are 26 clients requesting for the same servies at the same time ,i belive there won't be any problem for 25 clients (only 25 threads can be run in parallel(switched) in windows one processor m/c),but the 26th client request will be queued and it has to wait for the threads to free up. in this implementation i am not using threadpool ,i am creating threads by my self. the problem that i presume is all the subsequent client requests after 25 will be queued, so can any body suggest any alternative to this approach, bascially i want the build a scalable system. Hope i am clear. Thanks in advance Deepak |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |