473,241 Members | 4,349 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

Parallel Operations


Is it possible to get PHP to do certain tasks at the same time? Like
grab the content of 3-4 xml files at the same time so you dont wait on
one, then retrieve the second, the third and so on? I have been asked
to code something that will require this to happen (for the sake of
runtime), and while I know I can do this using other languages don't
relish supporting extra layers -- can PHP do this? If so can you point
me towards documentation?

J

Sep 8 '05 #1
3 1244
James wrote:

Is it possible to get PHP to do certain tasks at the same time? Like
grab the content of 3-4 xml files at the same time so you dont wait on
one, then retrieve the second, the third and so on? I have been asked
to code something that will require this to happen (for the sake of
runtime), and while I know I can do this using other languages don't
relish supporting extra layers -- can PHP do this? If so can you point
me towards documentation?


It's certainly possible to ask the operating system to create more
processes. See
http://www.php.net/manual/en/ref.pcntl.php for starters. Although this is
just one way to skin a cat.

C.
Sep 8 '05 #2
On a web server you can do it relatively easily by making HTTP requests
to localhost through fopen(), file(), etc..

Sep 9 '05 #3
On 9 Sep 2005 14:20:31 -0700, Chung Leong wrote:
On a web server you can do it relatively easily by making HTTP requests
to localhost through fopen(), file(), etc..


Do what ? Make a cup of coffee, Please quote what you are replying to.
Sep 10 '05 #4

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

Similar topics

6
by: | last post by:
Assume that we have a complex application with many math operations and it is written in an ANSI C++ code and running on a single PC without any problem. Is there an automatic way to execute the...
3
by: paytam | last post by:
Hi all, Is it possible to write parallel programming in C? I mean for example a simple program like I have a clock on a program that show me current time and and at the same time another job like...
11
by: lovecreatesbeauty | last post by:
For example, line L1 and line L2 are two lines in two-dimensional space, the start-points and end-points can be described with following the `point_t' type. The start-points and end-points are:...
0
by: fiepye | last post by:
Hello. I am interested in parallel computing in Python. Except other modulesI would like to use new modules for vector and matrix operations and scientific computing SciPy and NumPy. I have...
3
by: lambert101 | last post by:
All, Running environment is non-partition database for datawarehouse with DB2 V8.2 on AIX. We have a few logical grouping of tables that we would like to load in parallel to save time. Each...
0
by: kabal77 | last post by:
Hi all, I am new of the group and I hope that you can help me to resolve the "problem" that plagues me... I must unload the data of many tables (... some of which rather large...) from 4 DB...
4
by: Soren | last post by:
Hi, I want to control some motors using the parallel port.. however, my laptop does not have any parallel ports (very few do). What I do have is a USB->Parallel converter... I thought about...
0
by: Daniel Roy | last post by:
In addition to setting this parameter to TRUE, you'll need to either specify the PARALLEL clause for the table(s) involved, or use the relevant hints ("PARALLEL"). Note also that parallelization is...
3
by: John | last post by:
I have a program that needs to run on a regular basis that looks at a queue table in my database. If there are items in the queue database I need to grab the data from the database and pass it to...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.