php-general Digest 8 Aug 2009 07:51:46 -0000 Issue 6273

Topics (messages 296434 through 296456):

Re: curl_exec not hit server
        296434 by: Tom Worster
        296435 by: Jerry Wilborn

Buffered Logging?
        296436 by: Waynn Lue
        296441 by: Jerry Wilborn
        296447 by: Ollisso
        296448 by: Waynn Lue
        296449 by: Ralph Deffke
        296451 by: Phpster

does array_slice not work on multidimensional arrays?
        296437 by: John Butler
        296439 by: John Butler

Server change affecting ability to send downloaded files???
        296438 by: Brian Dunning
        296440 by: Ben Dunlap
        296442 by: Brian Dunning
        296443 by: Brian Dunning
        296444 by: Ben Dunlap
        296445 by: Adam Randall
        296446 by: Jerry Wilborn

Re: PHP programming strategy
        296450 by: Clancy

Re: Notification system
        296452 by: Phpster
        296453 by: Jonathan Tapicer
        296454 by: Phpster

Can php be cause a strain on a web server
        296455 by: Curious george
        296456 by: Per Jessen

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On 8/6/09 2:33 PM, "Ted Yu" <ted...@yahoo.com> wrote:

> 
> Hi,
> I use the following code to call third party web service:
> curl_setopt($ch, CURLOPT_URL, $url);
> curl_setopt($ch, CURLOPT_TIMEOUT, 120);
> curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
> curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
> curl_setopt($ch, CURLOPT_SSLVERSION, 3);
> curl_setopt($ch, CURLOPT_SSLCERT, $loc);
> curl_setopt($ch, CURLOPT_SSLCERTPASSWD, $password);
> curl_setopt($ch, CURLOPT_HTTPHEADER, $this->_httpHeaders);
> curl_setopt($ch, CURLOPT_POST, 1);
> curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_xmlData);
> $ret = curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> 
> $xmlResponseData = curl_exec($ch);
> 
> But for a specific API, curl_exec() returns true but there was no hit on their
> server (as verified by contact in that company from server log)
> 
> Can someone provide hint ?

not me.

but, if you haven't already, maybe try debugging by: print out the values of
all the variables in the above code and with them (or some subset) try
making the same (or similar, or simpler) requests to the same $url using
curl the command line with verbosity or tracing turned on.

curl might give the hint you need.



--- End Message ---
--- Begin Message ---
You could also try checking the SSL log.  This may give hints about the
problem; none of the HTTP conversation happens until after SSL has been
negotiated.
Jerry Wilborn
jerrywilb...@gmail.com


On Fri, Aug 7, 2009 at 1:16 PM, Tom Worster <f...@thefsb.org> wrote:

> On 8/6/09 2:33 PM, "Ted Yu" <ted...@yahoo.com> wrote:
>
> >
> > Hi,
> > I use the following code to call third party web service:
> > curl_setopt($ch, CURLOPT_URL, $url);
> > curl_setopt($ch, CURLOPT_TIMEOUT, 120);
> > curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
> > curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
> > curl_setopt($ch, CURLOPT_SSLVERSION, 3);
> > curl_setopt($ch, CURLOPT_SSLCERT, $loc);
> > curl_setopt($ch, CURLOPT_SSLCERTPASSWD, $password);
> > curl_setopt($ch, CURLOPT_HTTPHEADER, $this->_httpHeaders);
> > curl_setopt($ch, CURLOPT_POST, 1);
> > curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_xmlData);
> > $ret = curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> >
> > $xmlResponseData = curl_exec($ch);
> >
> > But for a specific API, curl_exec() returns true but there was no hit on
> their
> > server (as verified by contact in that company from server log)
> >
> > Can someone provide hint ?
>
> not me.
>
> but, if you haven't already, maybe try debugging by: print out the values
> of
> all the variables in the above code and with them (or some subset) try
> making the same (or similar, or simpler) requests to the same $url using
> curl the command line with verbosity or tracing turned on.
>
> curl might give the hint you need.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Hey PHPers,

We've been doing sampled logging to the database in our application for
awhile, and now I'm hoping eventually to blow that out to a larger scale.
I'm worried about the performance implications of logging to our database on
every single page load, though, so I was wondering if anyone's found a
solution that does buffered logging.  Essentially it would log to memory
(memcached/apc/etc), and then periodically dump to a database in a
structured format, preferrably user-defined.  It's not essential that we get
every signle hit, so I'd be fine if there was some data loss on a restart.
I started writing my own solution, and then thought I'd ask the list to see
if anyone has any experience with other tools that do this.

My Google searches around "buffered logging" have mainly found error logging
packages, like PEAR's Log package, or log4php.  Those all seem to write to
only one particular stream at a time, with no real support for buffering it
in memory and then moving it to database.

Thanks for any help!

Waynn

--- End Message ---
--- Begin Message ---
You don't mention what database you're using, but mySQL supports memory
based tables.  You can use this to insert your single page loads and then
have a job that periodically inserts in bulk.

Memory based tables:
http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html


Jerry Wilborn
jerrywilb...@gmail.com


On Fri, Aug 7, 2009 at 5:46 PM, Waynn Lue <waynn...@gmail.com> wrote:

> Hey PHPers,
>
> We've been doing sampled logging to the database in our application for
> awhile, and now I'm hoping eventually to blow that out to a larger scale.
> I'm worried about the performance implications of logging to our database
> on
> every single page load, though, so I was wondering if anyone's found a
> solution that does buffered logging.  Essentially it would log to memory
> (memcached/apc/etc), and then periodically dump to a database in a
> structured format, preferrably user-defined.  It's not essential that we
> get
> every signle hit, so I'd be fine if there was some data loss on a restart.
> I started writing my own solution, and then thought I'd ask the list to see
> if anyone has any experience with other tools that do this.
>
> My Google searches around "buffered logging" have mainly found error
> logging
> packages, like PEAR's Log package, or log4php.  Those all seem to write to
> only one particular stream at a time, with no real support for buffering it
> in memory and then moving it to database.
>
> Thanks for any help!
>
> Waynn
>

--- End Message ---
--- Begin Message ---
On Sat, 08 Aug 2009 01:46:38 +0300, Waynn Lue <waynn...@gmail.com> wrote:

Hey PHPers,

We've been doing sampled logging to the database in our application for
awhile, and now I'm hoping eventually to blow that out to a larger scale.
I'm worried about the performance implications of logging to our database on
...


If you are using mysql and MyISAM tables, you can try using "insert DELAYED " method.

http://dev.mysql.com/doc/refman/5.1/en/insert-delayed.html

This will bulk all your inserts for writes.


--

--- End Message ---
--- Begin Message ---
>
> Hey PHPers,
>>
>> We've been doing sampled logging to the database in our application for
>> awhile, and now I'm hoping eventually to blow that out to a larger scale.
>> I'm worried about the performance implications of logging to our database
>> on
>> ...
>>
>>
> If you are using mysql and MyISAM tables, you can try using "insert DELAYED
> " method.
>
> http://dev.mysql.com/doc/refman/5.1/en/insert-delayed.html
>
> This will bulk all your inserts for writes.
>

Thanks for the suggestions!  Those both look great for what I was going to
do.  One other thought I had after reading those suggestions, if we're doing
web server logging, we can also parse the logs using webalizer or awstats.
I know apache provides file size and the URL that's being hit, but what if I
want to do custom referral tracking?  We append ref=foo to our links to
track where people are coming from, should I look at building my own
solution for that, or do existing tools like awstats suffice for that as
well?

--- End Message ---
--- Begin Message ---
I did some very complete logging for two major german companies on their
intranet pages. an application with something like 23000 registered users
and more then 50000 hits a day. I did none of any kind of buffering, just
raw table inserts. it never gave any problem on performance HOWEVER we did a
DAILY backup AND reset of the logging tables. so the tables where never much
bigger then 50000 records. so if u use mySQL and the buffer technices
mentioned earlier I would go with it because of the benefit not to maintain
another different tool.

ralph
<ralph_def...@yahoo.de>

"Waynn Lue" <waynn...@gmail.com> wrote in message
news:d29bea5e0908071825k73920480g598af559383ff...@mail.gmail.com...
> >
> > Hey PHPers,
> >>
> >> We've been doing sampled logging to the database in our application for
> >> awhile, and now I'm hoping eventually to blow that out to a larger
scale.
> >> I'm worried about the performance implications of logging to our
database
> >> on
> >> ...
> >>
> >>
> > If you are using mysql and MyISAM tables, you can try using "insert
DELAYED
> > " method.
> >
> > http://dev.mysql.com/doc/refman/5.1/en/insert-delayed.html
> >
> > This will bulk all your inserts for writes.
> >
>
> Thanks for the suggestions!  Those both look great for what I was going to
> do.  One other thought I had after reading those suggestions, if we're
doing
> web server logging, we can also parse the logs using webalizer or awstats.
> I know apache provides file size and the URL that's being hit, but what if
I
> want to do custom referral tracking?  We append ref=foo to our links to
> track where people are coming from, should I look at building my own
> solution for that, or do existing tools like awstats suffice for that as
> well?
>



--- End Message ---
--- Begin Message ---




On Aug 7, 2009, at 9:25 PM, Waynn Lue <waynn...@gmail.com> wrote:


Hey PHPers,

We've been doing sampled logging to the database in our application for awhile, and now I'm hoping eventually to blow that out to a larger scale. I'm worried about the performance implications of logging to our database
on
...


If you are using mysql and MyISAM tables, you can try using "insert DELAYED
" method.

http://dev.mysql.com/doc/refman/5.1/en/insert-delayed.html

This will bulk all your inserts for writes.


Thanks for the suggestions! Those both look great for what I was going to do. One other thought I had after reading those suggestions, if we're doing web server logging, we can also parse the logs using webalizer or awstats. I know apache provides file size and the URL that's being hit, but what if I want to do custom referral tracking? We append ref=foo to our links to
track where people are coming from, should I look at building my own
solution for that, or do existing tools like awstats suffice for that as
well?


You may want to investigate facebook's scribe as a logging mechanism. It's highly scalable

http://www.facebook.com/note.php?note_id=32008268919

Bastien
--- End Message ---
--- Begin Message ---
does array_slice not work on multidimensional arrays?

I have one multidimensional array, and when I run it thru' array_slice() nothing happens, that I can tell.

If it does not work on multidimensional arrays, what is the *simplest* workaround? (I am already working past what was budgeted for this this script.. so I really want to avoid anything but the most newbie of hacks to achieve this.)

//PHP Version 4.3.9

thank you for any reply!

------------
John Butler (Govinda)
govinda.webdnat...@gmail.com




--- End Message ---
--- Begin Message --- I worked around the issue by running the too fat multi-dimed array through a foreach{ ... if($counter <= $myArrLength) { $MyNowSlicedMultiDimArr[$key]=$value; }} , but I'd still (always!) love to hear from you seasoned PHPers on this topic (anytime actually!).
I learn the most from your commentary.

------------
John Butler (Govinda)
govinda.webdnat...@gmail.com




--- End Message ---
--- Begin Message ---
Hey all --

A couple of weeks ago my online stores, on a machine I host at Rackspace, stopped delivering files that people purchase. I've used this for years, and it's always worked perfectly with all filetypes:

header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="'. $file_row["filename"].'"');
$size = filesize('../../store/files/'.$file_row['filename']);
header('Content-Length: '.$size);
readfile('../../store/files/'.$file_row['filename']);

But then, all of a sudden, it only works with ZIP files. There were no changes to the code or to the files, just one day all of a sudden any time someone purchases a DMG, EXE, PDF, etc. they get zero bytes. I've asked Rackspace if they upgraded something that might produce this change but they say "check your code". The code had not been touched in years (literally). I've tried a zillion combos of different headers but I'm having no luck.

Has anyone ever heard of something (besides my code and my files) that could cause this behavior? You'll be my best friend if you can help. Thanks.



--- End Message ---
--- Begin Message ---
> changes to the code or to the files, just one day all of a sudden any
> time someone purchases a DMG, EXE, PDF, etc. they get zero bytes. I've
[8<]
> Has anyone ever heard of something (besides my code and my files) that
> could cause this behavior? You'll be my best friend if you can help.
> Thanks.

That list of failing file types makes me suspect some sort of anti-malware
software at the perimeter of Rackspace's network. Could also be anti-malware on
the users' machines, but if this is happening to a wide cross-section of users,
I'd doubt the latter.

Plus, in the latter case, I would expect the users' machines to end up with no
file on disk at all, but it sounds like they're getting empty files instead.

You'd think Rackspace would know about potentially destructive changes to their
perimeter, but my experience with their first-level support is that they are
wonderfully friendly and well-intentioned but could sometimes be
better-informed.* Have you been able to push through to second-level support or
beyond?

You might have to tweak your code a bit to support your case to Rackspace (and
make double-darn-sure it's actually not your problem): for example, you could
grab the return value of readfile() and write it to a log file (or just call
error_log() to write it to the PHP error log).

This will prove that your code is actually sending bytes across the wire. Even
if your headers are wrong -- which they obviously aren't, if the code works for
some file types -- your users shouldn't be getting 0 bytes if readfile() is
reporting otherwise.

Ben

*I don't intend to bash on Rackspace here -- I'm a very happy customer of
theirs for email and Cloud Servers. I always give them an 8 or a 9 on
customer-satisfaction surveys, and then explain my frustration with their
first-level support in the "comments" section.

--- End Message ---
--- Begin Message --- Very interesting. Excellent debugging advice. It's giving me a 500 error, probably why the Rackspace techs told me to check my code:

HTTP/1.0 500 Internal Server Error
Date: Sat, 08 Aug 2009 00:01:10 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.10
Content-Disposition: attachment; filename="Installer.bin"
Content-Length: 23223296
Connection: close
Content-Type: application/octet-stream

I'm at a loss. Nothing changed in the code and it works for ZIP files.


On Aug 7, 2009, at 4:57 PM, Adam Randall wrote:

Can you do a commandline test with curl to see what you get back?

curl -I http://url/file.php?something=here

That should allow you to see what is actually being produced by the
code, and if it's being tweaked in some manner unknown to you.




--- End Message ---
--- Begin Message --- Correct, the files on the server have not changed either, and have been working fine for a long time. No funny characters.

On Aug 7, 2009, at 4:59 PM, Adam Randall wrote:

Sorry for replying to myself, but the files themselves only contain
US-ASCII characters, and no quotes, correct? Having extended
characters in your file names might cause weirdness, and quotes will
break your HTTP header in your code there.




--- End Message ---
--- Begin Message ---
> Very interesting. Excellent debugging advice. It's giving me a 500
> error, probably why the Rackspace techs told me to check my code:
> 
> HTTP/1.0 500 Internal Server Error

Did you get that 500 while running curl from a machine outside of Rackspace's
network?

If so, I'd be interested to see what you get if you run it from the server's
command line (using 'localhost' in the URL you pass to curl).

Have you checked your Apache error log as well, and PHP's? There will usually
be more detail in those locations when the server sends a 500.

Ben

--- End Message ---
--- Begin Message ---
Change to cron -i to see what other information, if any, is also being
passed back. You might get some errors, or some such. Since you are
getting empty files my gut tells me you aren't getting anything. Since
you are actually getting a PHP 500 error, that lends me to believe
that it's not some type of external influence (aka the malware
thoughts).

Since the code looks reasonable, I'm thinking that it may be
permission related. While your code/files may not have been updated,
that doesn't mean that permissions were not. Trace through your file
structure and see what's going on in the ../../store/files path.

Adam.

On Fri, Aug 7, 2009 at 5:05 PM, Brian Dunning<br...@briandunning.com> wrote:
> Correct, the files on the server have not changed either, and have been
> working fine for a long time. No funny characters.
>
> On Aug 7, 2009, at 4:59 PM, Adam Randall wrote:
>
>> Sorry for replying to myself, but the files themselves only contain
>> US-ASCII characters, and no quotes, correct? Having extended
>> characters in your file names might cause weirdness, and quotes will
>> break your HTTP header in your code there.
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Adam Randall
http://www.xaren.net
AIM: blitz574

--- End Message ---
--- Begin Message ---
The 500 is the result of the missing content-type in the real header. Once
you get a blank line in there, it thinks thats the content.  The error log
will likely say 'premature end of script headers'... Good mystery on why
it's got the blank line though.

Jerry Wilborn
jerrywilb...@gmail.com


On Fri, Aug 7, 2009 at 7:16 PM, Ben Dunlap <bdun...@agentintellect.com>wrote:

> > Very interesting. Excellent debugging advice. It's giving me a 500
> > error, probably why the Rackspace techs told me to check my code:
> >
> > HTTP/1.0 500 Internal Server Error
>
> Did you get that 500 while running curl from a machine outside of
> Rackspace's
> network?
>
> If so, I'd be interested to see what you get if you run it from the
> server's
> command line (using 'localhost' in the URL you pass to curl).
>
> Have you checked your Apache error log as well, and PHP's? There will
> usually
> be more detail in those locations when the server sends a 500.
>
> Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
On Fri, 07 Aug 2009 06:32:48 +0100, a...@ashleysheridan.co.uk (Ashley Sheridan) 
wrote:
.......
>> How, for example, could I otherwise achieved the following effect, which 
>> displays an image
>> with a border slightly darker than the background, and with the title and 
>> subtitle inside
>> the border?
>> 
>>    <table class="pfm">
>>       <tr>
>>         <td>
>>           <img src="Images/Nxxxxx.jpg" width="210" height="300">
>>           <p class="nrmltextn">Yanni Nxxxxx </p>
>>           <p class="notetextn">Sally Riordan Scholarship, 2007- </p>
>>           </td>
>>       </tr>
>>     </table>
>> 
........ 
>Well, your above example would just become:
>
><div class="pfm">
>    <img src="Images/Nxxxxx.jpg" width="210" height="300">
>    <p class="nrmltextn">Yanni Nxxxxx </p>
>    <p class="notetextn">Sally Riordan Scholarship, 2007- </p>
></div>
>
>Notice how the amount of code has dropped immediately! 

Yes - all of 22 bytes!

> From there, you
>can use CSS to target whatever element you need to within the .pfm
>class.

As I already do with the table. The divs look interesting, but the tables work, 
so I  will
look into them when everything else is fixed - if I am still alive!

>The images on your site would not had had titles if you'd omitted alt
>tags. Where would the browser find them from to display to a blind
>person?

The titles (eg Yanni xxxxx, above).

>True, CSS does not have constants, but that is why you create them to
>cascade, so that elements inherit features from their parents. A bit
>like classes in programming, where everything is either inherited from
>the parent object (tag) or overridden with a new style.

I can completely change the color scheme and appearance by loading a new 
definition file,
but this would be much simpler if I did not have to encode the values into the 
CSS:

  #bodystyle { <?php if ($bck_grd_img != '') 
        { echo ('background-image:url('.$bck_grd_img.');'); }
        else { echo (' background-color:#'.$bdy_clr.';'); } ?> 
  font-family: "Times New Roman", Times, serif; color: #<?php echo ($txt_clr); 
?>; 


>Also, if you're looking for diagnostics, give Firebug a try, as it
>really excels at this sort of thing. You can change styles on the fly
>from within the browser window, without needing to refresh the page!

Thanks, I will look into it.



--- End Message ---
--- Begin Message ---




On Aug 2, 2009, at 7:59 AM, Dušan Novaković <ndu...@gmail.com> wrote:

Hi,

Does anyone has any idea how to create notification system with
combination of php, mysql and javascript. It should be something
similar to facebook notification system (when someone make some action
it should be automatically reported to other people on system through
pop-up menu or something like that). I just need some basic idea how
to start or if someone has some example it would be perfect.

Thanks,
Dusan

-- made by Dusan

-- PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


I think you could have some kind if Ajax polling of a php function. To keep the traffic down you could set it to poll once a minute or every 30 seconds or so. Send a simple XML stream that could feed a defined JavaScript function or a bit of xslt for display.


Bastien

Sent from my iPod 

--- End Message ---
--- Begin Message ---
Also, take a look at Comet Server:
http://en.wikipedia.org/wiki/Comet_(programming)

I think that Facebook uses that and also Gmail, it tends to consume
less resources than periodical ajax calls, the hidden iframe method is
simple and works fine. To implement it in PHP you will need to use the
flush function to send data a continue processing/polling.

Regards,

Jonathan

2009/8/7 Phpster <phps...@gmail.com>:
>
>
>
>
> On Aug 2, 2009, at 7:59 AM, Dušan Novaković <ndu...@gmail.com> wrote:
>
>> Hi,
>>
>> Does anyone has any idea how to create notification system with
>> combination of php, mysql and javascript. It should be something
>> similar to facebook notification system (when someone make some action
>> it should be automatically reported to other people on system through
>> pop-up menu or something like that). I just need some basic idea how
>> to start or if someone has some example it would be perfect.
>>
>> Thanks,
>> Dusan
>>
>> -- made by Dusan
>>
>> -- PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> I think you could have some kind if Ajax polling of a php function. To keep
> the traffic down you could set it to poll once a minute or every 30 seconds
> or so. Send a simple XML stream that could feed a defined JavaScript
> function or a bit of xslt for display.
>
>
> Bastien
>
> Sent from my iPod
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
On Fri, Aug 7, 2009 at 10:25 PM, Jonathan Tapicer<tapi...@gmail.com> wrote:
> Also, take a look at Comet Server:
> http://en.wikipedia.org/wiki/Comet_(programming)
>
> I think that Facebook uses that and also Gmail, it tends to consume
> less resources than periodical ajax calls, the hidden iframe method is
> simple and works fine. To implement it in PHP you will need to use the
> flush function to send data a continue processing/polling.
>
> Regards,
>
> Jonathan
>
> 2009/8/7 Phpster <phps...@gmail.com>:
>>
>>
>>
>>
>> On Aug 2, 2009, at 7:59 AM, Dušan Novaković <ndu...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Does anyone has any idea how to create notification system with
>>> combination of php, mysql and javascript. It should be something
>>> similar to facebook notification system (when someone make some action
>>> it should be automatically reported to other people on system through
>>> pop-up menu or something like that). I just need some basic idea how
>>> to start or if someone has some example it would be perfect.
>>>
>>> Thanks,
>>> Dusan
>>>
>>> -- made by Dusan
>>>
>>> -- PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>
>> I think you could have some kind if Ajax polling of a php function. To keep
>> the traffic down you could set it to poll once a minute or every 30 seconds
>> or so. Send a simple XML stream that could feed a defined JavaScript
>> function or a bit of xslt for display.
>>
>>
>> Bastien
>>
>> Sent from my iPod
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>

http://www.infoq.com/news/2008/05/facebookchatarchitecture is an
interesting blog on how they do it

-- 

Bastien

Cat, the other other white meat

--- End Message ---
--- Begin Message ---
Is there a case where php can become unscalable for a web sever ? If so can 
anyone please state to me how...
Thanks 
George 


      

--- End Message ---
--- Begin Message ---
Curious george wrote:

> Is there a case where php can become unscalable for a web sever ? If
> so can anyone please state to me how... Thanks
> George

Yes, any inappropriately designed application can be unscalable wherever
it runs. 


/Per

-- 
Per Jessen, Zürich (21.6°C)


--- End Message ---

Reply via email to