> As far as php side goes, it's a
> problem of design of the apps. Just because people decided to go through
> hoops to use the threaded model doesn't mean that it is any faster than
> writing to the same thing in event driven model, event driven way is
> sometimes much faster than threads.
I'm on
Threading doesn't increase complexity? Spoken truly like somebody who has
not had to actually write, test and debug proper, high performance threaded
code. Please tell me how threading doesn't increase complexity of any data
structure?
I may agree if you talk about php running in cli, but then the
On 31/10/2012 13:46, Alex Nikitin wrote:
Hey guys (and/or gals),
I have heard this question entirely too many times, I think at some point
Rasmus just stopped responding to it. The real reason that PHP is not
threaded has nothing to do with PHP internal or extension thread safety,
the reason is
You do all that in the context of a single PHP instance and linear code,
calling curl_multi handles its own threading, you just get back results,
you dont have to store it anywhere outside PHP memory space, and you can
configure timeouts and all that stuff, or you can regulate it yourself. The
data
On Wed, Oct 31, 2012 at 9:27 AM, Alex Nikitin wrote:
>>
>> That's all understood but there are times when that one request from
>> the visitor requires many sub-requests like connection to DB and
>> making SOAP calls.
>
>
> I would say it's more than just "there are times", that's how a typical
>
>
>
> That's all understood but there are times when that one request from
> the visitor requires many sub-requests like connection to DB and
> making SOAP calls.
I would say it's more than just "there are times", that's how a typical
script lives, it imports libraries, queries the database, and
On Wed, Oct 31, 2012 at 6:46 AM, Alex Nikitin wrote:
> Hey guys (and/or gals),
>
> I have heard this question entirely too many times, I think at some point
> Rasmus just stopped responding to it. The real reason that PHP is not
> threaded has nothing to do with PHP internal or extension thread sa
Hey guys (and/or gals),
I have heard this question entirely too many times, I think at some point
Rasmus just stopped responding to it. The real reason that PHP is not
threaded has nothing to do with PHP internal or extension thread safety,
the reason is more to the extent that it doesn't make sen
Il Wed, 31 Oct 2012 11:50:00 +0100, ma...@behnke.biz ha scritto:
> The drawback of forking is the memory overhead. With every fork you take
> the same amount of memory which is not the case if you could use real
> threads.
No, it is not.
Forking in Linux uses COW (copy-on-write), so a freshly-for
Il Wed, 31 Oct 2012 11:57:11 +0100, ma...@behnke.biz ha scritto:
> But it if PHP would be threadsafe, you would be able to run the Apache
> in a much faster and less memory using way.
> There once was a configure option in PHP to compile it threadsafe, but
> they dropped it for a reason.
Because
Hello,
on 03/23/2009 10:05 AM Igor Escobar said the following:
> Great Project, Lemos.
Thanks?
> When you are thinking in show more exemples?
Who? Me or Andrea?
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components wr
Great Project, Lemos.
When you are thinking in show more exemples?
Regards,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Fri, Mar 20, 2009 at 3:04 AM, Manuel Lemos wrote:
>
> Hello Andrea,
>
> on 03/18/2009 06:07 AM Andrea Giammarchi said the following:
> > If
Hello Andrea,
on 03/18/2009 06:07 AM Andrea Giammarchi said the following:
> If anybody interested, this is my "old" comet implementation in PHP:
> http://webreflection.blogspot.com/2008/04/phomet-changes-name-so-welcome-phico.html
Great! Any live examples page?
> P.S. Hi Manuel, ages I do not
-0300
> From: mle...@acm.org
> To: manojsingh2...@gmail.com
> CC: php-general@lists.php.net
> Subject: [PHP] Re: Multithreading in PHP
>
> Hello,
>
> on 03/17/2009 10:14 AM Manoj Singh said the following:
> > I am creating a page which submits the form through Ajax
Hello,
on 03/17/2009 10:14 AM Manoj Singh said the following:
> I am creating a page which submits the form through Ajax request & the
> submitted page is sending the mails to n number of users. Now until the mail
> sends or the page process completed the end user has to wait.
>
> Is it possible
This might help you:
http://www.faqts.com/knowledge_base/view.phtml/aid/1982/fid/58
I've also seen before an actual php script that interacts with a C program
to do the same. Google for it and it will be esay to find.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/t
16 matches
Mail list logo