473,473 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Split an action and run on the servers

Hi,

Ours is a windows based application and I have to perform an
action which takes much time (as it requires much CPU time) on a single pc.
I want to split the action to more than two and I want to run the action on
different servers and mix the result at end and do the rest on the result.

Can any one tell me how to split an action and run on servers?

Cheers,

Venkat
Apr 20 '06 #1
3 1484
Venkat,
The concept you describe of "split an action" is far too generic to get an
appropriate answer. There are literally dozens of different ways to handle
distributed processing, and each has a particular approach that is usually
designed to fit the work that needs to be done.

Perhaps if you could be more specific about exactly what your business logic
of "an action" actually is, you could get some better responses.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Venkat" wrote:
Hi,

Ours is a windows based application and I have to perform an
action which takes much time (as it requires much CPU time) on a single pc.
I want to split the action to more than two and I want to run the action on
different servers and mix the result at end and do the rest on the result.

Can any one tell me how to split an action and run on servers?

Cheers,

Venkat

Apr 20 '06 #2
Hi Peter,

Thanks for your reply. I have a method which fetches information from
database (mostly thousands of records). I do some calculations based on the
data and display it to the user. Here when I run this action on my PC it is
taking much time. So I am looking to use Distributed processing to divide
the data into multiple blocks and run separately on different servers. Once
the calculation is done merge the results and display back it to the user.

Hope it gives much information about my problem.

Thanks in advance.

--

Venkat

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:75**********************************@microsof t.com...
Venkat,
The concept you describe of "split an action" is far too generic to get an
appropriate answer. There are literally dozens of different ways to handle
distributed processing, and each has a particular approach that is usually
designed to fit the work that needs to be done.

Perhaps if you could be more specific about exactly what your business
logic
of "an action" actually is, you could get some better responses.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Venkat" wrote:
Hi,

Ours is a windows based application and I have to perform an
action which takes much time (as it requires much CPU time) on a single
pc.
I want to split the action to more than two and I want to run the action
on
different servers and mix the result at end and do the rest on the
result.

Can any one tell me how to split an action and run on
servers?

Cheers,

Venkat

Apr 21 '06 #3
Have you identified where the delay is caused, is it heavy processing that
may be improved by more efficient code, or is it a slow machine, could it be
improved by multi-threading the application or making more use of stored
procs for example, could data caching help?.

If it were me I would look at something like PVM (Parallel virtual
machines), they are designed to do this type of work if you want a very
scalable solution. That said, you will be coding in C probably so the
easiest approach may be to have your application populate some form form of
job queue, allowing each distributed application to pick up their share of
the work and write the results to a central DB table. When all work was
processed the app could then inspect the table and present the results.

--
Regards

John Timney
Microsoft MVP
"Venkat" <st******@palantirsolutions.com> wrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl...
Hi Peter,

Thanks for your reply. I have a method which fetches information from
database (mostly thousands of records). I do some calculations based on
the data and display it to the user. Here when I run this action on my PC
it is taking much time. So I am looking to use Distributed processing to
divide the data into multiple blocks and run separately on different
servers. Once the calculation is done merge the results and display back
it to the user.

Hope it gives much information about my problem.

Thanks in advance.

--

Venkat

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:75**********************************@microsof t.com...
Venkat,
The concept you describe of "split an action" is far too generic to get
an
appropriate answer. There are literally dozens of different ways to
handle
distributed processing, and each has a particular approach that is
usually
designed to fit the work that needs to be done.

Perhaps if you could be more specific about exactly what your business
logic
of "an action" actually is, you could get some better responses.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Venkat" wrote:
Hi,

Ours is a windows based application and I have to perform an
action which takes much time (as it requires much CPU time) on a single
pc.
I want to split the action to more than two and I want to run the action
on
different servers and mix the result at end and do the rest on the
result.

Can any one tell me how to split an action and run on
servers?

Cheers,

Venkat


Apr 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Alan Silver | last post by:
Hello, I have been having problems with some blindingly simple ASP that fails. I have the following code ... Dim sAds, sAdverts() sAds = "1" & vbTab & "Ferret" & vbTab & "Furry" & vbCrLf...
12
by: Corey Burnett | last post by:
I have a client that has a split database (front-end/back-end). They are also using Access security - MDW file. The front end MDE file, the back end MDB file, and the MDW file are all located on...
2
by: Jay | last post by:
So I'm writting this software that talks to an IRC server; and occasionaly IRC servers send back data two lines at a time with lines breaks inside. For my own sanity I had been using the split...
7
by: Mark A | last post by:
If server 01 running HADR in the primary role crashes, and the DBA does a HADR takeover by force on the 02 server to switch roles, then the 02 server is now the primary. What happens when the...
3
by: edoardo.poeta | last post by:
I'm a dummy. I have a basic knowledge of javascript and I want to split a string, but I receive an error at line 15. Where my error in make the array? Why? Can someone help me to resolve? Thank's....
3
by: chifm | last post by:
Hi ALL, I dont know much about php, but have got a long form that i need to split into two pages, i want to have the inputs from the page 1 past to page 2 and all submitted via email at the end. I...
2
by: sicario | last post by:
Hi, givens lines of text such as: the cat sat on the mat the <var> sat on the mat the <var> sat on the <my object> the <var> sat on the <my object> and <action taken by cat> I want to...
21
by: =?ISO-8859-1?Q?Fad=A5?= | last post by:
Hello guys, I want to do kinda of an A/B split testing on a website I run. I just created a new version but I need to keep both version running and see which one will perform better. First, I'm...
14
by: Stevo | last post by:
If you split a string into an array using the split method, it's not working the way I'd expect it to. That doesn't mean it's wrong of course, but would anyone else agree it's working somewhat...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.