On Fri, 21 Jan 2005 11:49:30 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
>
> Perhaps you could store all data with an index of time rounded off to
> minutes (hours, whatever).
>
> Example:
>
> //15 minutes -- Change larger/smaller for more/less frequent purges
> $purge_time = 60 *
On Wed, 19 Jan 2005 16:28:21 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> A question from another naive reader.
>
> Have you tried re-setting the array to an empty one, using array(),
> instead of using unset()?
indeed!, unset($arr); $arr = array();
or $arr = array(); directly
it's sam
i have a big array with 20k elements, i have no problem building it,
because the elements is recv from socket, i can socket_select() on 1k
clients, read from them.
i plan to unset the whole array every 1hour
this is a not big problem when for a few times, it takes me 0.02 seconds
but after many hou
to init them once and u get what you want wherever
> you want in your files
>
> On Sun, 16 Jan 2005 11:38:48 +0800, Xuefer Tinys <[EMAIL PROTECTED]> wrote:
> > $_SESSION is same as it use serialize/unserialize, alghough there're
> > some difference
> >
&g
nonblocking sockets wont work with select, blocking is ok
On Sat, 15 Jan 2005 19:30:14 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Galen wrote:
> > I'm working on a web spider application where the server has
> > considerable latency in serving the information I require, but
> > simultane
$_SESSION is same as it use serialize/unserialize, alghough there're
some difference
On Sat, 15 Jan 2005 10:06:58 +0100, Zouari Fourat <[EMAIL PROTECTED]> wrote:
> what about using $_SESSION arrays ?
>
>
> On Fri, 14 Jan 2005 19:28:24 -0500, Al <[EMAIL PROTECTED]> wrote:
> > George Schlossnagle
On Sat, 08 Jan 2005 12:03:10 -0800, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
>
> You greatly underestimate how slow unserialize is.
>
> -Rasmus
>
>
you're right, but php-devs seems going to rewrite it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
even apc/eAcc have to copy from shm to php-memory(alloc by emalloc),
because $array might be modified anytime
i'd guess this is almost same as serialize/unserialize
i doubt if there's anyway to have 1 memcpy $array<-from/to->shm, php
will release 1 element of $array when the element is unset(refcou
is fastcgi of php active? how much ppl using this?
is there any list show activity of each sapi?
On Tue, 4 Jan 2005 17:22:34 +0800, Xuefer Tinys <[EMAIL PROTECTED]> wrote:
> i'm using external fastcgi
> it seems all other request is blocked until the 1 have finished
>
i'm using external fastcgi
it seems all other request is blocked until the 1 have finished
any work arround?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
seems it will block all other php requests
i've looked into the source, and seems it's only pre-fork under *nix not win
any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
11 matches
Mail list logo