473,799 Members | 3,416 Online
Bytes | Software Development & Data Engineering Community
+ 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 1495
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*******@yaho o.nospammin.com > wrote in message
news:75******** *************** ***********@mic rosoft.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******@palan tirsolutions.co m> wrote in message
news:eb******** ******@TK2MSFTN GP03.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*******@yaho o.nospammin.com > wrote in message
news:75******** *************** ***********@mic rosoft.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
17421
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 sAds = sAds & "2" & vbTab & "Gibbon" & vbTab & "HAiry" & vbCrLf sAds = sAds & "3" & vbTab & "Vole" & vbTab & "Small" & vbCrLf sAdverts = Split(sAds,vbCrLf)
12
9911
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 a shared folder on the file server. They have two populations of users - local and remote. *ALL* users currently get to the system via a Citrix login. They log in to Citrix and get a Citrix desktop. Then they start the application via a...
2
1859
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 funciton to break these lines down to seperate ones and then process the server commands etc. However lately the split funciton seems incapable of finding chr(10)+chr(13) and wont split the lines. When I dump the data to a text file however and open...
7
10639
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 Server 01 is brought back up? It still thinks it is the primary because that was its role when it crashed and it does not know about the takeover by force command that was issued. Does the 01 server check the 02 server to see what role they are in...
3
6390
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. The name of file is E:\delibere test\pdf\2002\2002-01-01-GC-000-Testo.pdf <HTML> <HEAD> <SCRIPT LANGUAGE=JAVASCRIPT>
3
2937
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 am really stock on this one. I have managed to split the form and I have used the php 'GET' and i could see the inputs at in url. Please any help will be most appreciated. Please find below the form below/ <form action="/form2.php"...
2
1340
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 be able to return all instances of my variables (anything within <>). Sometimes the variable will be one word only (i.e <var>, but it may be several (i.e <action taken by cat>)
21
2527
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 not sure if I'm in the right group. How can I randomly let a user enter from the index.php page and keep the same URL. So the splitting is being done in the backend, I don't want the users to see for example in the url /new/index.php and /...
14
1735
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 illogically? Here's a test I just put together that splits on "&". The test strings are: "a&b" = (Correct!) I expect array length 2 and I get 2 "a&" = (Incorrect!) I expect array length 1 but I get 2 "a" = (Correct!) I expect array length 1 and...
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9544
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10259
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10238
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
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.