You are here: Re: [PHP] Is gethostbyaddr() slow? « PHP « IT news, forums, messages
Re: [PHP] Is gethostbyaddr() slow?

Posted by Jochem Maas on 08/04/05 17:55

Dotan Cohen wrote:
> Hi all, I just discovered the gethostbyaddr() function. By reading the
> user contributed notes, I get the impression that either this function
> may cause performance problems, or a user-contributed function based
> upon it may be slow. So, is gethostbyaddr() slow? Is it dangerous?

I'm guessing that the speed is very much dependent on the speed of the
underlying dns query mechanism - so probably yes, it's relatively slow.
and not something you want to be doing many times within a single request.

probably someone will now declare me a retard ;-)

> Thanks!
>
> Dotan Cohen
> http://lyricslist.com/lyrics/artist_albums/56/bangles.php
> The Bangles Song Lyrics
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация