|
Posted by The Natural Philosopher on 12/26/07 12:09
� wrote:
> Gilles Ganault wrote:
>
>> I wanted to have your opinion because the scripts are used with a
>> PBX, so that timing is important.
>
> Then, keep the scripts short and use efficient algorithms. Knowing the
> difference between O(n^2) and O(n*log(n)) is much more important than
> keeping the script in memory.
>
>
> That said, if you *really* need a real-time response on a mission-critical
> environment, drop PHP altogether and switch to rtlinux, lighthttpd and a
> custom C CGI.
>
:-)
he's right you know.
But real time usually just mens 'good enough' - only in real mans stuff
does it mean 'guaranteed to always be good enough'
i.e. you do NOT want your missile to decide to go memory garbage
collecting 5 ms after launch.. ;-)and self destruct when it misses a
watchdog timer..
Navigation:
[Reply to this message]
|