KevinM
KevinM

Reputation: 468

Comet and long polling requests on DreamHost?

Is there any solution for running these kind of operations on DreamHost or other shared hosting environments where I don't have access to tweak apache?

Upvotes: 2

Views: 749

Answers (1)

Vasil Remeniuk
Vasil Remeniuk

Reputation: 20619

You certainly can, but as long as Apache HTTP server doesn't provide non-blocking IO capabilities (and each polling connection has a server thread associated to it), you'll be running out of memory very fast (after 2-3k connections).

If you meant Apache Tomcat, NIO is turned off by default, and you need to have access to configuration files in order to change this.

Upvotes: 1

Related Questions