FasterJoomla

Joomla security and optimization

Visita il nuovo sito FasterJoomla che raccoglie i nostri articoli ed estensioni per Joomla!

Si parla di sicurezza, velocità, sviluppo di estensioni per Joomla.

Trovate pubblicate anche le nostre guide pratiche.

Symptoms: Your application slowed down by two - three seconds after december 2006.

Our test environments:

  • Threaded .exe cgi running on apache 1.3 or 2.0
  • Threaded .dll cgi running on apache 1.3 or 2.0
  • Stand-alone C++ windows application compiled with BCC

Problem description:

The windows socket function GetHostByName for some unknown reasons was slowed down after a KB update microsoft put out in december 2006.

Systems affected:

Only windows XP Home 

Solution:

None known

Workaround:

Cache that info! I create a thread upon application startup or initialization, that returns the value asynchronously.  IP and network name are not subject to change too often.