[Rails-deploy] Re: Excessive sessions

2008-04-28 Thread Pat Allan
Hi Greg My approach with Monit and sessions was to create a specific controller action to poll, and turn sessions off for it. http://pastie.textmate.org/188359 It does feel like overkill, mind you, and I'm a little surprised that calling a static file (which is a more elegant solution)

[Rails-deploy] Re: Sphinx: Install oinly on MySQL server?

2008-04-25 Thread Pat Allan
Hi Raul Since Sphinx talks directly to MySQL, it's definitely best to have it on the same server. Theplugins will be able to talk to a remote server (provided the port isn't blocked), so you should be fine with just the one Sphinx daemon. That said, if it does prove to be a bottleneck

[Rails-deploy] Re: sphinx vs ferret

2008-04-10 Thread Pat Allan
On 10/04/2008, at 7:48 PM, Adhiraj Rankhambe wrote: 2. It's Java - which is extra overhead for some people - I certainly don't use any other Java tools, and I've not dealt with Java since Uni. Again, each to their own, but that may push non-Java people away from Solr. You don't need to know

[Rails-deploy] Re: sphinx vs ferret

2008-04-03 Thread Pat Allan
On 03/04/2008, at 4:55 PM, Adhiraj Rankhambe wrote: Sphinx:- Advantages:- 1. Great at speed of indexing and searching. 2. Its at the database level so just one copy of indexes unlike ferret. Disadvantages:- 1. Difficult to integrate as compared to Ferret or Solr. Arguable, but each to

[Rails-deploy] Re: sqlite3 on my live server - question about command line

2008-02-10 Thread Pat Allan
On 10/02/2008, at 3:27 PM, Dave Amos wrote: Shawn Balestracci wrote: The database is stored in its own file (named in your database.yml) To access it, on the commandline: sqlite3 filename on the server and directory where it is located (or use the full path). The database will most

[Rails-deploy] sphinx vs ferret

2008-01-29 Thread Pat Allan
On 1/29/2008, Peter Vandenabeele [EMAIL PROTECTED] wrote: Jeff Cc wrote: - No wildcards at all (Sphinx doesn't support them) Do you mean the * feature (prefix* and *infix*) ? Where the search term program* matches the database text program, programmer, programs ... Those work for me in

[Rails-deploy] Re: sphinx vs ferret

2008-01-18 Thread Pat Allan
On 19/01/2008, at 10:17 AM, Jeff wrote: How difficult would it be to change over to Sphinx? The overall process? Not hard, with the caveat Adrian mentioned (ie: advanced Ferret features). But keep in mind Sphinx does not allow updating fields of index records (Ferret does) - you have to