On 13 June 2013 12:45, Pat Tressel <
ptre...@myuw.net> wrote:
>> My interest is in having a shared Lucene install for multiple Eden
>> instances.
>> This is useful for:
>> * Load balancing of Eden instances in a single deployment
>> * Offering Hosted Eden instances with full funcitonality without a
>> separate Lucene per install.
>> Does this suggest either PyLucene or SOLR as preferred?
> Not yet...
> By "Eden instances in a single deployment", do you mean the separate
> processes that Apache / Cherokee starts? Or do you mean load balancing
> across IP addresses?
LB across IPs
> (Lumping the Lucene work together is anti-load
> balancing, no? If there isn't much text searching, it could still be ok.)
I would be envisaging text-searching as not being such a major activity.
LB of Lucene itself would be an entirely diff project.
I just want to ensure we don't build a 1 Eden <> 1 Lucene dependency
> One could bring up multiple Solr / Lucene instances. Or not. So one could
> (or not) do load balancing for Solr / Lucene. For pylucene / Lucene, there
> would be one per instance -- each would have a local JVM, which would not
> span instances in separate machines or VMs.
But I want to be able to have multiple Eden instances share a single
Lucene instance
Much like they can share a common DB, Memcache, GeoServer, etc
> pylucene would likely have one JVM per Eden instance, but we might be able
> to get around that.
Is PyLucene on the Eden end of the connection or the Lucene end?
I guess the former?
Seems odd that *Py*Lucene runs a JVM...I expected that PyLucene was a
Python library to allow Python apps to easily talk to Lucene.
My hope was that this comms would happen via TCP/IP
> Solr could probably be set up as one instance, but
> we're not entirely sure yet. Thing is, the processed data and indices for
> each instance would (according to the plan we came up with last night) go in
> each instance's eden directory.
Into the filesystem? Why?
Not a huge deal as the folders could be NFS'd back to a common
host...however does Eden need direct access to this? I thought that
Lucene would need the indices, etc & Eden would only ever access them
via PyLucene?
> That would be no issue for a separate instance of Lucene per each, accessed via pylucene.
Which is exactly what I *don't* want ;)
It seems like a major overhead.
> We're checking how we can get each JVM's VMID so we can see if we really are
> connecting to the same one across separate (Apache / Cherokee) processes for
> one instance.
I would really prefer to see all the tests run on 2 completely
separate machines to get the architecture right from the start.
If Lucene can run on a separate server to Eden, then the simplified
version where both run on the same server should be cake.
Whereas splitting up a common system can be painful, which is why I
would rather start with the architecture split.
F