FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php daemon
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php daemon [message #179604 is a reply to message #179591] Mon, 12 November 2012 15:45 Go to previous messageGo to previous message
SL is currently offline  SL
Messages: 20
Registered: February 2012
Karma:
Junior Member
Jerry Stuckle wrote:
>
> Personally, I don't think PHP would make a good daemon. Among other
> things, you cannot manage memory yourself. All you can do is unset()
> variables. However, this does not release memory immediately. It
> would wait for the garbage collector to run.
>
> When I'm writing daemons, I use C or C++. They are much more
> appropriate, IMHO.

Thanks for your useful inputs gentlemen.

I sort of has given up hope for a daemon in PHP. I thought I can use its
memory allocation functions directly, it turns out not. Even if I can, there
is still garbage collector to contend with.

A helper mechanism has turned anti-mechanism in this case. :-(
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Benefits of the 3-Tier Architecture
Next Topic: Bad database design can cause unnecessary coding
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 12:14:48 GMT 2024

Total time taken to generate the page: 0.04126 seconds