agibralter wrote: > Here's the problem with async/delayed deltas: so let's say I have 2 > app servers: App1 and App2. App1 has searchd running and App2 simply > connects to App1 for searches. App1 and App2 both have workling/ > starling (I'm pretty sure something similar would happen with delayed > job)... So... if a request comes in on App2 that updates a record with > a delta index, App2 will add a job to its queue to update the delta > indexes. Now, if App2 tries to process the job, it will fail -- only > App1, the one with searchd running can run the delta indexer.
You have async workers on both app servers? I only have a single DelayedJob worker in my setup, so regardless of which app server adds a delta index jobs to the queue, the job is always executed on the sphinx server. Does workling support multiple queues? Can you setup a separate work queue just for the delta tasks that is only processed on your sphinx server? -- James Healy <[email protected]> Tue, 20 Apr 2010 23:38:43 +1000 -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
