From: <php...@li...> - 2018-01-03 12:06:47
|
Hi, > I'm using the php java bridge and lucene to search for documents. What I'm finding is that any speed gains that I've obtained from > lucene are greatly outweighed by the time it takes to get the java bridge .war (and apache lucene .jar in /lib/) from Tomcat with each > and every browser-based search request umm, what do you mean with this? > I'm thinking of writing a tcp server in php As long as PHP has no GC, a long-running tcp server isn't feasible. You'll have to implement your own garbage collection. But even then, the memory footprint of your tcp server will grow over time. -- That's why the FastCGI server restarts after MAX_REQUESTS. |