Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5947761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:00:37+00:00 2026-05-22T17:00:37+00:00

Why would a Comet Server like Tornado be especially prone to memory leaks if

  • 0

Why would a Comet Server like Tornado be especially prone to memory leaks if written in PHP?

Are there genuine weaknesses particular to PHP for implementing a long polling framework/service like Tornado?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:00:37+00:00Added an answer on May 22, 2026 at 5:00 pm

    The gist of it is that PHP was originally written with the intent of having a brand new process for every request that you could just throw away once said request ended, at a time where things like Comet and long polling weren’t really on the table.

    As such there are quite a few areas – notably the garbage collector – where at its origin PHP just wasn’t made for running during a long period of time, and it didn’t care much because every http request got a brand new php instance.

    It got clearly better in the recent years, but I still wouldn’t use it for creating that sort of long-lifetime applications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how Gmail (or anyone else) does comet on Opera.
I would like to know if there are any ASP.NET MVC control suites from
I have a UTF-16LE encoded string that comes from a server. I would like
I would to use com.sun.net.httpserver.HttpServer to do comet/cometd. I am wondering how tough it
I come from a java background. But I would like a cross-platform perspective on
I've come across the following piece of JavaScript and would like to know what
I would like to have a tooltip that only comes up when you click
So I have a website already set up, and I need a comet server
I recently encountered a few cases where a server would distribute an event stream
I'm just wondering if there is a way to have a server push information

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.