|
Posted by Ivαn Sαnchez Ortega on 04/28/06 20:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
awebguynow wrote:
> I come from a Java background and I was just wondering if a Singleton
> pattern is suitable for websites with heavy traffic.
This is PHP. In PHP, every HTTP request is handled by a different thread, so
there is no possibility of programming a singleton *all along* the
different requests from the different users.
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEUlL73jcQ2mg3Pc8RAqjeAJ9Kap/uhQckaf4tBzrZH/8//gEytwCfQPk/
9i7FYqP5FlD2fabZ8eX4jrw=
=II99
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|