You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@solr.apache.org by Houston Putman <ho...@apache.org> on 2023/09/07 16:33:37 UTC
Future of the cross-dc work
Hey everyone,
I think it's a good time to talk about the future of the cross DC work
that's been going on in the Solr Sandbox repo.
Mark (and others) have been doing amazing work there, and I think it's
close to a state that we can bring it out of the sandbox and into Solr
itself. It's been running successfully in Apple, and moving it into Solr
would allow others to use and collaborate on it easier.
There are two parts to this cross DC tool.
- A cross-dc-producer
<https://github.com/apache/solr-sandbox/tree/main/crossdc-producer>,
which is a Solr plugin that has a Update-request-processor that adds
documents to a Kafka Queue to be indexed asynchronously.
- A cross-dc-consumer
<https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer>,
which is a separate application that handles consuming documents from Kafka
and sending it to Solr to be indexed.
In my mind, I envision when we move the cross-dc-consumer into the Solr
codebase, it would live much like the Prometheus Exporter. Where it's
released as a part of the same binary package, but not in the slim
distribution.
As for the cross-dc-producer, that can live as a Solr module, much like the
other modules that Solr ships with. Once again, this would not be included
with the Slim distribution.
This ties the cross-dc packages to specific Solr versions, much like other
Modules or SolrJ. I think this is an acceptable thing, but others might
want it to be more version agnostic or have a separate release schedule
from Solr.
Overall this thread is to just get the conversation started so that we can
throw all the ideas out there before we make a decision on one.
- Houston
Re: Future of the cross-dc work
Posted by Mark Miller <ma...@gmail.com>.
The only real complexity around it is properly dealing with the queue in a
large scale production environment, and none of that is code complexity.
CrossDC is a critical feature for many, the problem with the previous
iteration was it tried to be the queuing system and was obviously never
going to be near the level of a real one, and it had to be deeply
integrated with Solr and so it had high costs on all fronts and was always
going to struggle with the reliability you’d need from a disaster recovery
feature.
This approach offloads the heavy lifting to systems made and hardened and
dedicated to that lifting, and is extremely loosely integrated with Solr -
it is currently as loose as a plugin.
Because of that, we have no need for this to be part of Solr. We use it
fine outside of Solr. The only motivation to contribute CrossDC to Solr is
so that others don’t have to build 10 other solutions separately, and
because the effort on those 10 other solutions could be focused on a shared
solution.
There are plenty of things that have been thrown in Solr because someone
needed it in Solr due to their work situation and integration requirements
of that feature. This isn’t one of them. Our need is extremely low. It
simply makes sense to do. The pain of not doing would be almost non
existent.
Re: Future of the cross-dc work
Posted by Mark Miller <ma...@gmail.com>.
FYI, there are two branches that we have used.
The crossdc-wip branch has a fully single threaded polling loop, and
batches updates to the queue, and those batches are then also batched by
the queue. This branch has been used on clusters of billion document scale
and in a production environment for a long time.
The main branch has a multi-threaded polling loop that hands off batches to
an executor, and it lets the queue handle all the batching at the update
level. This branch is currently in preproduction testing.
There is also an md file called CROSSDC.md I believe, that has some initial
documentation. It’s not in README as it’s a shared repo.
On Sun, Sep 10, 2023 at 2:59 PM Andrzej Białecki <ab...@getopt.org> wrote:
> I can assure you that this project is interesting to other parties, too :)
> I’ve been spending some time testing it and making improvements, and it
> seems to work quite well.
>
> Removal of CDCR left a gap that users will try to fill in various
> haphazard ways. The impact of this hasn’t been fully felt yet because most
> production systems still use 8.x, but as soon as they start moving to 9.x
> the problem will become more acute.
>
> And this here’s a good candidate that can replace the lost functionality -
> even if it still needs some work it’s a good starting point, and it’s a
> first-party solution that shows how we, as the Solr community, think this
> stuff should be done.
>
> Overall, as Mark said, it’s not a big or hugely complex component, so I
> think it makes sense to include it in Solr.
>
> > On 9 Sep 2023, at 09:08, Ishan Chattopadhyaya <ic...@gmail.com>
> wrote:
> >
> > So far, this project has been an experimental project, mainly something
> > that's being used and developed by Apple committers. I would be hesitant
> to
> > support an official Apache release for the same without testing or
> interest
> > by the broader community.
> >
> > Towards that, can we invite community members to try it out from the
> > sandbox repo itself, and graduate it to a main repository based on
> feedback
> > or interest?
> >
> > On Sat, 9 Sept, 2023, 4:48 am Mark Miller, <ma...@gmail.com>
> wrote:
> >
> >> I think the main motivation would be cost savings.
> >>
> >> The main thing I like about keeping it separate is the ability to have
> an
> >> independent release cycle. I initially preferred a separation due to
> that.
> >>
> >> But the cost for what it actually is, is high.
> >>
> >> It essentially consists of two fairly simple parts. An update processor
> >> that puts updates on a Kafka queue (the queue system could be pluggable
> >> given sufficient need, but now its Kafka) and a simple application that
> >> polls the Kafka queue and sends updates to Solr via SolrJ.
> >>
> >> As a separate component, it needs its own little build system. It needs
> its
> >> own CI setup. It needs its own documentation setup. It's own independent
> >> release testing and voting and announcements, etc. And it will miss out
> on
> >> various helpers, checkers, smoke testers, etc from the Solr build.
> >>
> >> It's a pretty heavy ongoing burden for something that could reasonably
> be
> >> packed into two classes (it's not two classes, because it's much nicer
> not
> >> to be).
> >>
> >> On Fri, Sep 8, 2023 at 5:57 PM Houston Putman <ho...@apache.org>
> wrote:
> >>
> >>> I always assumed after the CDCR stuff was removed from Solr, the idea
> was
> >>> to provide a better first-party solution one day.
> >>> To me, first party means not "experimental" or "sandbox", so it makes
> >> sense
> >>> to live in the main Solr repo.
> >>>
> >>> In general, I agree with Eric, nothing should "live" in the
> solr-sandbox
> >>> repo forever. It should be developed there, and either be promoted or
> >>> abandoned.
> >>> The same goes for the file encryption stuff that lives there. Once it
> >>> reaches a certain level of stability, it should be moved in.
> >>>
> >>> I think as a module, it's much easier to develop as a part of Solr
> >> instead
> >>> of separately. This was certainly the case for the Docker image.
> >>>
> >>> - Houston
> >>>
> >>> On Fri, Sep 8, 2023 at 6:04 PM Eric Pugh
> >>> <ep...@opensourceconnections.com.invalid> wrote:
> >>>
> >>>> My perspective of Solr-sandbox is that it’s an area for ideas to be
> >>> worked
> >>>> on, but no real promises…. They might be abandoned at any moment, or
> >>> have
> >>>> issues.. No real expectation of docs or any kind of support. It’s
> >>> meant
> >>>> for solr committers to collaborate with other solr committers on new
> >>> things…
> >>>>
> >>>> So if we are going to ref guide it etc, seems like it should live in
> >> the
> >>>> main Solr repo. Or, be promoted to some repo that doesn’t have
> >>> “sandbox”
> >>>> in the name, like the Solr-operator project….
> >>>>
> >>>>
> >>>>
> >>>>> On Sep 8, 2023, at 4:50 PM, David Smiley <da...@gmail.com>
> >>>> wrote:
> >>>>>
> >>>>> Hi Houston,
> >>>>>
> >>>>> Can you please elaborate on the purpose:
> >>>>>> and moving it into Solr would allow others to use and collaborate on
> >>> it
> >>>>> easier.
> >>>>>
> >>>>> How is that?
> >>>>>
> >>>>> I am guessing another motivation may be visibility / awareness. If
> >>> that
> >>>> is
> >>>>> a motivation, I think that can be addressed with prominent references
> >>> in
> >>>>> the Solr Reference Guide and website news updates.
> >>>>>
> >>>>> ~ David
> >>>>>
> >>>>>
> >>>>> On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org>
> >>>> wrote:
> >>>>>
> >>>>>> Hey everyone,
> >>>>>>
> >>>>>> I think it's a good time to talk about the future of the cross DC
> >> work
> >>>>>> that's been going on in the Solr Sandbox repo.
> >>>>>>
> >>>>>> Mark (and others) have been doing amazing work there, and I think
> >> it's
> >>>>>> close to a state that we can bring it out of the sandbox and into
> >> Solr
> >>>>>> itself. It's been running successfully in Apple, and moving it into
> >>> Solr
> >>>>>> would allow others to use and collaborate on it easier.
> >>>>>>
> >>>>>> There are two parts to this cross DC tool.
> >>>>>>
> >>>>>> - A cross-dc-producer
> >>>>>> <
> >> https://github.com/apache/solr-sandbox/tree/main/crossdc-producer
> >>>> ,
> >>>>>> which is a Solr plugin that has a Update-request-processor that
> >> adds
> >>>>>> documents to a Kafka Queue to be indexed asynchronously.
> >>>>>> - A cross-dc-consumer
> >>>>>> <
> >> https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer
> >>>> ,
> >>>>>> which is a separate application that handles consuming documents
> >>> from
> >>>>>> Kafka
> >>>>>> and sending it to Solr to be indexed.
> >>>>>>
> >>>>>> In my mind, I envision when we move the cross-dc-consumer into the
> >>> Solr
> >>>>>> codebase, it would live much like the Prometheus Exporter. Where
> >> it's
> >>>>>> released as a part of the same binary package, but not in the slim
> >>>>>> distribution.
> >>>>>>
> >>>>>> As for the cross-dc-producer, that can live as a Solr module, much
> >>> like
> >>>> the
> >>>>>> other modules that Solr ships with. Once again, this would not be
> >>>> included
> >>>>>> with the Slim distribution.
> >>>>>>
> >>>>>> This ties the cross-dc packages to specific Solr versions, much like
> >>>> other
> >>>>>> Modules or SolrJ. I think this is an acceptable thing, but others
> >>> might
> >>>>>> want it to be more version agnostic or have a separate release
> >>> schedule
> >>>>>> from Solr.
> >>>>>>
> >>>>>> Overall this thread is to just get the conversation started so that
> >> we
> >>>> can
> >>>>>> throw all the ideas out there before we make a decision on one.
> >>>>>>
> >>>>>> - Houston
> >>>>>>
> >>>>
> >>>> _______________________
> >>>> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467
> >> |
> >>>> http://www.opensourceconnections.com <
> >>>> http://www.opensourceconnections.com/> | My Free/Busy <
> >>>> http://tinyurl.com/eric-cal>
> >>>> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> >>>>
> >>>
> >>
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw
> >>>>
> >>>>
> >>>> This e-mail and all contents, including attachments, is considered to
> >> be
> >>>> Company Confidential unless explicitly stated otherwise, regardless of
> >>>> whether attachments are marked as such.
> >>>>
> >>>>
> >>>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
> For additional commands, e-mail: dev-help@solr.apache.org
>
>
Re: Future of the cross-dc work
Posted by Andrzej Białecki <ab...@getopt.org>.
I can assure you that this project is interesting to other parties, too :) I’ve been spending some time testing it and making improvements, and it seems to work quite well.
Removal of CDCR left a gap that users will try to fill in various haphazard ways. The impact of this hasn’t been fully felt yet because most production systems still use 8.x, but as soon as they start moving to 9.x the problem will become more acute.
And this here’s a good candidate that can replace the lost functionality - even if it still needs some work it’s a good starting point, and it’s a first-party solution that shows how we, as the Solr community, think this stuff should be done.
Overall, as Mark said, it’s not a big or hugely complex component, so I think it makes sense to include it in Solr.
> On 9 Sep 2023, at 09:08, Ishan Chattopadhyaya <ic...@gmail.com> wrote:
>
> So far, this project has been an experimental project, mainly something
> that's being used and developed by Apple committers. I would be hesitant to
> support an official Apache release for the same without testing or interest
> by the broader community.
>
> Towards that, can we invite community members to try it out from the
> sandbox repo itself, and graduate it to a main repository based on feedback
> or interest?
>
> On Sat, 9 Sept, 2023, 4:48 am Mark Miller, <ma...@gmail.com> wrote:
>
>> I think the main motivation would be cost savings.
>>
>> The main thing I like about keeping it separate is the ability to have an
>> independent release cycle. I initially preferred a separation due to that.
>>
>> But the cost for what it actually is, is high.
>>
>> It essentially consists of two fairly simple parts. An update processor
>> that puts updates on a Kafka queue (the queue system could be pluggable
>> given sufficient need, but now its Kafka) and a simple application that
>> polls the Kafka queue and sends updates to Solr via SolrJ.
>>
>> As a separate component, it needs its own little build system. It needs its
>> own CI setup. It needs its own documentation setup. It's own independent
>> release testing and voting and announcements, etc. And it will miss out on
>> various helpers, checkers, smoke testers, etc from the Solr build.
>>
>> It's a pretty heavy ongoing burden for something that could reasonably be
>> packed into two classes (it's not two classes, because it's much nicer not
>> to be).
>>
>> On Fri, Sep 8, 2023 at 5:57 PM Houston Putman <ho...@apache.org> wrote:
>>
>>> I always assumed after the CDCR stuff was removed from Solr, the idea was
>>> to provide a better first-party solution one day.
>>> To me, first party means not "experimental" or "sandbox", so it makes
>> sense
>>> to live in the main Solr repo.
>>>
>>> In general, I agree with Eric, nothing should "live" in the solr-sandbox
>>> repo forever. It should be developed there, and either be promoted or
>>> abandoned.
>>> The same goes for the file encryption stuff that lives there. Once it
>>> reaches a certain level of stability, it should be moved in.
>>>
>>> I think as a module, it's much easier to develop as a part of Solr
>> instead
>>> of separately. This was certainly the case for the Docker image.
>>>
>>> - Houston
>>>
>>> On Fri, Sep 8, 2023 at 6:04 PM Eric Pugh
>>> <ep...@opensourceconnections.com.invalid> wrote:
>>>
>>>> My perspective of Solr-sandbox is that it’s an area for ideas to be
>>> worked
>>>> on, but no real promises…. They might be abandoned at any moment, or
>>> have
>>>> issues.. No real expectation of docs or any kind of support. It’s
>>> meant
>>>> for solr committers to collaborate with other solr committers on new
>>> things…
>>>>
>>>> So if we are going to ref guide it etc, seems like it should live in
>> the
>>>> main Solr repo. Or, be promoted to some repo that doesn’t have
>>> “sandbox”
>>>> in the name, like the Solr-operator project….
>>>>
>>>>
>>>>
>>>>> On Sep 8, 2023, at 4:50 PM, David Smiley <da...@gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi Houston,
>>>>>
>>>>> Can you please elaborate on the purpose:
>>>>>> and moving it into Solr would allow others to use and collaborate on
>>> it
>>>>> easier.
>>>>>
>>>>> How is that?
>>>>>
>>>>> I am guessing another motivation may be visibility / awareness. If
>>> that
>>>> is
>>>>> a motivation, I think that can be addressed with prominent references
>>> in
>>>>> the Solr Reference Guide and website news updates.
>>>>>
>>>>> ~ David
>>>>>
>>>>>
>>>>> On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org>
>>>> wrote:
>>>>>
>>>>>> Hey everyone,
>>>>>>
>>>>>> I think it's a good time to talk about the future of the cross DC
>> work
>>>>>> that's been going on in the Solr Sandbox repo.
>>>>>>
>>>>>> Mark (and others) have been doing amazing work there, and I think
>> it's
>>>>>> close to a state that we can bring it out of the sandbox and into
>> Solr
>>>>>> itself. It's been running successfully in Apple, and moving it into
>>> Solr
>>>>>> would allow others to use and collaborate on it easier.
>>>>>>
>>>>>> There are two parts to this cross DC tool.
>>>>>>
>>>>>> - A cross-dc-producer
>>>>>> <
>> https://github.com/apache/solr-sandbox/tree/main/crossdc-producer
>>>> ,
>>>>>> which is a Solr plugin that has a Update-request-processor that
>> adds
>>>>>> documents to a Kafka Queue to be indexed asynchronously.
>>>>>> - A cross-dc-consumer
>>>>>> <
>> https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer
>>>> ,
>>>>>> which is a separate application that handles consuming documents
>>> from
>>>>>> Kafka
>>>>>> and sending it to Solr to be indexed.
>>>>>>
>>>>>> In my mind, I envision when we move the cross-dc-consumer into the
>>> Solr
>>>>>> codebase, it would live much like the Prometheus Exporter. Where
>> it's
>>>>>> released as a part of the same binary package, but not in the slim
>>>>>> distribution.
>>>>>>
>>>>>> As for the cross-dc-producer, that can live as a Solr module, much
>>> like
>>>> the
>>>>>> other modules that Solr ships with. Once again, this would not be
>>>> included
>>>>>> with the Slim distribution.
>>>>>>
>>>>>> This ties the cross-dc packages to specific Solr versions, much like
>>>> other
>>>>>> Modules or SolrJ. I think this is an acceptable thing, but others
>>> might
>>>>>> want it to be more version agnostic or have a separate release
>>> schedule
>>>>>> from Solr.
>>>>>>
>>>>>> Overall this thread is to just get the conversation started so that
>> we
>>>> can
>>>>>> throw all the ideas out there before we make a decision on one.
>>>>>>
>>>>>> - Houston
>>>>>>
>>>>
>>>> _______________________
>>>> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467
>> |
>>>> http://www.opensourceconnections.com <
>>>> http://www.opensourceconnections.com/> | My Free/Busy <
>>>> http://tinyurl.com/eric-cal>
>>>> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
>>>>
>>>
>> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw
>>>>
>>>>
>>>> This e-mail and all contents, including attachments, is considered to
>> be
>>>> Company Confidential unless explicitly stated otherwise, regardless of
>>>> whether attachments are marked as such.
>>>>
>>>>
>>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org
Re: Future of the cross-dc work
Posted by Mark Miller <ma...@gmail.com>.
It has integration tests, Kafka has an embedded version for tests, just no
CI setup currently. If it comes into Solr, it will just pick up Solr’s CI.
The design can work with any queuing system, but due to the various
intricacies involved in the different queue implementations, adding support
is best done by someone with experience with that system or involvement in
building for, or access to, a real world cluster. It’s also better to add
based on how most features are added vs building things that won’t be used.
Re: Future of the cross-dc work
Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,
There has for sure been interest since CDCR disappeared. Given the close integration with Solr and its small footprint, I’m supportive of this becoming a Solr module with URP and a standalone app in the main repo.
So the code can be cleaned up, documented and migrated over in a few PRs as any other feature.
We need integration tests as well of course, don’t know how that looks like with Kafka and all, but it is crucial that new components have test coverage.
What other queues could be considered? Would it be natural to support the managed queues of the major three public cloud providers?
Jan Høydahl
> 9. sep. 2023 kl. 17:58 skrev Anshum Gupta <an...@anshumgupta.net>:
>
> I wouldn't term people who work at a particular company as <company name>
> committers. I'm reasonably sure when folks contribute to the project they
> wear their ASF hat. If they don't, they should.
>
> Like most other features, this one also is a result of the need by users of
> the project. I completely agree it's been experimental so far, and the
> intent isn't to release it straight off in the shape it exists right now
> but for the code to move first. The code is certainly good to be used
> functionally at scale, but we need to clean it up and bring it up to follow
> the best practices that we follow for the main repo. As someone who's been
> involved with this actively, I can certainly say that there has been some
> interest from the broader community. I hope those folks participate in this
> conversation :)
>
> As Houston and Mark said, this is a fairly simple and isolated code base.
> There's an update request processor, and a standalone application just like
> the Prometheus Exporter. I'd actually created this separate repository with
> an intent to have independent release cycles but over the course of time I
> am convinced that it would be more efficient and reasonable for this code
> to not be a part of the sandbox. This doesn't affect Solr core in anyway
> and would be an optional component that folks wouldn't even need to
> download as we wouldn't include this in the slim distribution.
>
> @Ishan - I hope that answers some of your questions. If not, we can perhaps
> get on a quick call and discuss this.
>
> -Anshum
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@solr.apache.org
For additional commands, e-mail: dev-help@solr.apache.org
Re: Future of the cross-dc work
Posted by Ishan Chattopadhyaya <ic...@gmail.com>.
Hi Anshum,
I mostly agree with you. My point is that we shouldn't *release* it until
broader community has had a chance to weigh in, both development and
testing. Towards that, I like Jan's idea of using PRs etc for more code
reviews, before merging it to some official branch.
I'm not comfortable in bringing it into the main Solr repository, due to
Kafka and other dependencies. My preference would be to let it be a
separate top level repository: e.g. solr-crossdc.
It can use the solr repository as a sub module. Btw, having a slim tarball
doesn't mean we should bloat up the main tarball. Instead, we should
attempt to release all packages/modules etc independently of Solr.
Just some thoughts.
Regards,
Ishan
On Sat, 9 Sept, 2023, 9:28 pm Anshum Gupta, <an...@anshumgupta.net> wrote:
> I wouldn't term people who work at a particular company as <company name>
> committers. I'm reasonably sure when folks contribute to the project they
> wear their ASF hat. If they don't, they should.
>
> Like most other features, this one also is a result of the need by users of
> the project. I completely agree it's been experimental so far, and the
> intent isn't to release it straight off in the shape it exists right now
> but for the code to move first. The code is certainly good to be used
> functionally at scale, but we need to clean it up and bring it up to follow
> the best practices that we follow for the main repo. As someone who's been
> involved with this actively, I can certainly say that there has been some
> interest from the broader community. I hope those folks participate in this
> conversation :)
>
> As Houston and Mark said, this is a fairly simple and isolated code base.
> There's an update request processor, and a standalone application just like
> the Prometheus Exporter. I'd actually created this separate repository with
> an intent to have independent release cycles but over the course of time I
> am convinced that it would be more efficient and reasonable for this code
> to not be a part of the sandbox. This doesn't affect Solr core in anyway
> and would be an optional component that folks wouldn't even need to
> download as we wouldn't include this in the slim distribution.
>
> @Ishan - I hope that answers some of your questions. If not, we can perhaps
> get on a quick call and discuss this.
>
> -Anshum
>
Re: Future of the cross-dc work
Posted by Anshum Gupta <an...@anshumgupta.net>.
I wouldn't term people who work at a particular company as <company name>
committers. I'm reasonably sure when folks contribute to the project they
wear their ASF hat. If they don't, they should.
Like most other features, this one also is a result of the need by users of
the project. I completely agree it's been experimental so far, and the
intent isn't to release it straight off in the shape it exists right now
but for the code to move first. The code is certainly good to be used
functionally at scale, but we need to clean it up and bring it up to follow
the best practices that we follow for the main repo. As someone who's been
involved with this actively, I can certainly say that there has been some
interest from the broader community. I hope those folks participate in this
conversation :)
As Houston and Mark said, this is a fairly simple and isolated code base.
There's an update request processor, and a standalone application just like
the Prometheus Exporter. I'd actually created this separate repository with
an intent to have independent release cycles but over the course of time I
am convinced that it would be more efficient and reasonable for this code
to not be a part of the sandbox. This doesn't affect Solr core in anyway
and would be an optional component that folks wouldn't even need to
download as we wouldn't include this in the slim distribution.
@Ishan - I hope that answers some of your questions. If not, we can perhaps
get on a quick call and discuss this.
-Anshum
Re: Future of the cross-dc work
Posted by Ishan Chattopadhyaya <ic...@gmail.com>.
So far, this project has been an experimental project, mainly something
that's being used and developed by Apple committers. I would be hesitant to
support an official Apache release for the same without testing or interest
by the broader community.
Towards that, can we invite community members to try it out from the
sandbox repo itself, and graduate it to a main repository based on feedback
or interest?
On Sat, 9 Sept, 2023, 4:48 am Mark Miller, <ma...@gmail.com> wrote:
> I think the main motivation would be cost savings.
>
> The main thing I like about keeping it separate is the ability to have an
> independent release cycle. I initially preferred a separation due to that.
>
> But the cost for what it actually is, is high.
>
> It essentially consists of two fairly simple parts. An update processor
> that puts updates on a Kafka queue (the queue system could be pluggable
> given sufficient need, but now its Kafka) and a simple application that
> polls the Kafka queue and sends updates to Solr via SolrJ.
>
> As a separate component, it needs its own little build system. It needs its
> own CI setup. It needs its own documentation setup. It's own independent
> release testing and voting and announcements, etc. And it will miss out on
> various helpers, checkers, smoke testers, etc from the Solr build.
>
> It's a pretty heavy ongoing burden for something that could reasonably be
> packed into two classes (it's not two classes, because it's much nicer not
> to be).
>
> On Fri, Sep 8, 2023 at 5:57 PM Houston Putman <ho...@apache.org> wrote:
>
> > I always assumed after the CDCR stuff was removed from Solr, the idea was
> > to provide a better first-party solution one day.
> > To me, first party means not "experimental" or "sandbox", so it makes
> sense
> > to live in the main Solr repo.
> >
> > In general, I agree with Eric, nothing should "live" in the solr-sandbox
> > repo forever. It should be developed there, and either be promoted or
> > abandoned.
> > The same goes for the file encryption stuff that lives there. Once it
> > reaches a certain level of stability, it should be moved in.
> >
> > I think as a module, it's much easier to develop as a part of Solr
> instead
> > of separately. This was certainly the case for the Docker image.
> >
> > - Houston
> >
> > On Fri, Sep 8, 2023 at 6:04 PM Eric Pugh
> > <ep...@opensourceconnections.com.invalid> wrote:
> >
> > > My perspective of Solr-sandbox is that it’s an area for ideas to be
> > worked
> > > on, but no real promises…. They might be abandoned at any moment, or
> > have
> > > issues.. No real expectation of docs or any kind of support. It’s
> > meant
> > > for solr committers to collaborate with other solr committers on new
> > things…
> > >
> > > So if we are going to ref guide it etc, seems like it should live in
> the
> > > main Solr repo. Or, be promoted to some repo that doesn’t have
> > “sandbox”
> > > in the name, like the Solr-operator project….
> > >
> > >
> > >
> > > > On Sep 8, 2023, at 4:50 PM, David Smiley <da...@gmail.com>
> > > wrote:
> > > >
> > > > Hi Houston,
> > > >
> > > > Can you please elaborate on the purpose:
> > > >> and moving it into Solr would allow others to use and collaborate on
> > it
> > > > easier.
> > > >
> > > > How is that?
> > > >
> > > > I am guessing another motivation may be visibility / awareness. If
> > that
> > > is
> > > > a motivation, I think that can be addressed with prominent references
> > in
> > > > the Solr Reference Guide and website news updates.
> > > >
> > > > ~ David
> > > >
> > > >
> > > > On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org>
> > > wrote:
> > > >
> > > >> Hey everyone,
> > > >>
> > > >> I think it's a good time to talk about the future of the cross DC
> work
> > > >> that's been going on in the Solr Sandbox repo.
> > > >>
> > > >> Mark (and others) have been doing amazing work there, and I think
> it's
> > > >> close to a state that we can bring it out of the sandbox and into
> Solr
> > > >> itself. It's been running successfully in Apple, and moving it into
> > Solr
> > > >> would allow others to use and collaborate on it easier.
> > > >>
> > > >> There are two parts to this cross DC tool.
> > > >>
> > > >> - A cross-dc-producer
> > > >> <
> https://github.com/apache/solr-sandbox/tree/main/crossdc-producer
> > >,
> > > >> which is a Solr plugin that has a Update-request-processor that
> adds
> > > >> documents to a Kafka Queue to be indexed asynchronously.
> > > >> - A cross-dc-consumer
> > > >> <
> https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer
> > >,
> > > >> which is a separate application that handles consuming documents
> > from
> > > >> Kafka
> > > >> and sending it to Solr to be indexed.
> > > >>
> > > >> In my mind, I envision when we move the cross-dc-consumer into the
> > Solr
> > > >> codebase, it would live much like the Prometheus Exporter. Where
> it's
> > > >> released as a part of the same binary package, but not in the slim
> > > >> distribution.
> > > >>
> > > >> As for the cross-dc-producer, that can live as a Solr module, much
> > like
> > > the
> > > >> other modules that Solr ships with. Once again, this would not be
> > > included
> > > >> with the Slim distribution.
> > > >>
> > > >> This ties the cross-dc packages to specific Solr versions, much like
> > > other
> > > >> Modules or SolrJ. I think this is an acceptable thing, but others
> > might
> > > >> want it to be more version agnostic or have a separate release
> > schedule
> > > >> from Solr.
> > > >>
> > > >> Overall this thread is to just get the conversation started so that
> we
> > > can
> > > >> throw all the ideas out there before we make a decision on one.
> > > >>
> > > >> - Houston
> > > >>
> > >
> > > _______________________
> > > Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467
> |
> > > http://www.opensourceconnections.com <
> > > http://www.opensourceconnections.com/> | My Free/Busy <
> > > http://tinyurl.com/eric-cal>
> > > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> > >
> >
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw
> > >
> > >
> > > This e-mail and all contents, including attachments, is considered to
> be
> > > Company Confidential unless explicitly stated otherwise, regardless of
> > > whether attachments are marked as such.
> > >
> > >
> >
>
Re: Future of the cross-dc work
Posted by Mark Miller <ma...@gmail.com>.
I think the main motivation would be cost savings.
The main thing I like about keeping it separate is the ability to have an
independent release cycle. I initially preferred a separation due to that.
But the cost for what it actually is, is high.
It essentially consists of two fairly simple parts. An update processor
that puts updates on a Kafka queue (the queue system could be pluggable
given sufficient need, but now its Kafka) and a simple application that
polls the Kafka queue and sends updates to Solr via SolrJ.
As a separate component, it needs its own little build system. It needs its
own CI setup. It needs its own documentation setup. It's own independent
release testing and voting and announcements, etc. And it will miss out on
various helpers, checkers, smoke testers, etc from the Solr build.
It's a pretty heavy ongoing burden for something that could reasonably be
packed into two classes (it's not two classes, because it's much nicer not
to be).
On Fri, Sep 8, 2023 at 5:57 PM Houston Putman <ho...@apache.org> wrote:
> I always assumed after the CDCR stuff was removed from Solr, the idea was
> to provide a better first-party solution one day.
> To me, first party means not "experimental" or "sandbox", so it makes sense
> to live in the main Solr repo.
>
> In general, I agree with Eric, nothing should "live" in the solr-sandbox
> repo forever. It should be developed there, and either be promoted or
> abandoned.
> The same goes for the file encryption stuff that lives there. Once it
> reaches a certain level of stability, it should be moved in.
>
> I think as a module, it's much easier to develop as a part of Solr instead
> of separately. This was certainly the case for the Docker image.
>
> - Houston
>
> On Fri, Sep 8, 2023 at 6:04 PM Eric Pugh
> <ep...@opensourceconnections.com.invalid> wrote:
>
> > My perspective of Solr-sandbox is that it’s an area for ideas to be
> worked
> > on, but no real promises…. They might be abandoned at any moment, or
> have
> > issues.. No real expectation of docs or any kind of support. It’s
> meant
> > for solr committers to collaborate with other solr committers on new
> things…
> >
> > So if we are going to ref guide it etc, seems like it should live in the
> > main Solr repo. Or, be promoted to some repo that doesn’t have
> “sandbox”
> > in the name, like the Solr-operator project….
> >
> >
> >
> > > On Sep 8, 2023, at 4:50 PM, David Smiley <da...@gmail.com>
> > wrote:
> > >
> > > Hi Houston,
> > >
> > > Can you please elaborate on the purpose:
> > >> and moving it into Solr would allow others to use and collaborate on
> it
> > > easier.
> > >
> > > How is that?
> > >
> > > I am guessing another motivation may be visibility / awareness. If
> that
> > is
> > > a motivation, I think that can be addressed with prominent references
> in
> > > the Solr Reference Guide and website news updates.
> > >
> > > ~ David
> > >
> > >
> > > On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org>
> > wrote:
> > >
> > >> Hey everyone,
> > >>
> > >> I think it's a good time to talk about the future of the cross DC work
> > >> that's been going on in the Solr Sandbox repo.
> > >>
> > >> Mark (and others) have been doing amazing work there, and I think it's
> > >> close to a state that we can bring it out of the sandbox and into Solr
> > >> itself. It's been running successfully in Apple, and moving it into
> Solr
> > >> would allow others to use and collaborate on it easier.
> > >>
> > >> There are two parts to this cross DC tool.
> > >>
> > >> - A cross-dc-producer
> > >> <https://github.com/apache/solr-sandbox/tree/main/crossdc-producer
> >,
> > >> which is a Solr plugin that has a Update-request-processor that adds
> > >> documents to a Kafka Queue to be indexed asynchronously.
> > >> - A cross-dc-consumer
> > >> <https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer
> >,
> > >> which is a separate application that handles consuming documents
> from
> > >> Kafka
> > >> and sending it to Solr to be indexed.
> > >>
> > >> In my mind, I envision when we move the cross-dc-consumer into the
> Solr
> > >> codebase, it would live much like the Prometheus Exporter. Where it's
> > >> released as a part of the same binary package, but not in the slim
> > >> distribution.
> > >>
> > >> As for the cross-dc-producer, that can live as a Solr module, much
> like
> > the
> > >> other modules that Solr ships with. Once again, this would not be
> > included
> > >> with the Slim distribution.
> > >>
> > >> This ties the cross-dc packages to specific Solr versions, much like
> > other
> > >> Modules or SolrJ. I think this is an acceptable thing, but others
> might
> > >> want it to be more version agnostic or have a separate release
> schedule
> > >> from Solr.
> > >>
> > >> Overall this thread is to just get the conversation started so that we
> > can
> > >> throw all the ideas out there before we make a decision on one.
> > >>
> > >> - Houston
> > >>
> >
> > _______________________
> > Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 |
> > http://www.opensourceconnections.com <
> > http://www.opensourceconnections.com/> | My Free/Busy <
> > http://tinyurl.com/eric-cal>
> > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> >
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw
> >
> >
> > This e-mail and all contents, including attachments, is considered to be
> > Company Confidential unless explicitly stated otherwise, regardless of
> > whether attachments are marked as such.
> >
> >
>
Re: Future of the cross-dc work
Posted by Houston Putman <ho...@apache.org>.
I always assumed after the CDCR stuff was removed from Solr, the idea was
to provide a better first-party solution one day.
To me, first party means not "experimental" or "sandbox", so it makes sense
to live in the main Solr repo.
In general, I agree with Eric, nothing should "live" in the solr-sandbox
repo forever. It should be developed there, and either be promoted or
abandoned.
The same goes for the file encryption stuff that lives there. Once it
reaches a certain level of stability, it should be moved in.
I think as a module, it's much easier to develop as a part of Solr instead
of separately. This was certainly the case for the Docker image.
- Houston
On Fri, Sep 8, 2023 at 6:04 PM Eric Pugh
<ep...@opensourceconnections.com.invalid> wrote:
> My perspective of Solr-sandbox is that it’s an area for ideas to be worked
> on, but no real promises…. They might be abandoned at any moment, or have
> issues.. No real expectation of docs or any kind of support. It’s meant
> for solr committers to collaborate with other solr committers on new things…
>
> So if we are going to ref guide it etc, seems like it should live in the
> main Solr repo. Or, be promoted to some repo that doesn’t have “sandbox”
> in the name, like the Solr-operator project….
>
>
>
> > On Sep 8, 2023, at 4:50 PM, David Smiley <da...@gmail.com>
> wrote:
> >
> > Hi Houston,
> >
> > Can you please elaborate on the purpose:
> >> and moving it into Solr would allow others to use and collaborate on it
> > easier.
> >
> > How is that?
> >
> > I am guessing another motivation may be visibility / awareness. If that
> is
> > a motivation, I think that can be addressed with prominent references in
> > the Solr Reference Guide and website news updates.
> >
> > ~ David
> >
> >
> > On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org>
> wrote:
> >
> >> Hey everyone,
> >>
> >> I think it's a good time to talk about the future of the cross DC work
> >> that's been going on in the Solr Sandbox repo.
> >>
> >> Mark (and others) have been doing amazing work there, and I think it's
> >> close to a state that we can bring it out of the sandbox and into Solr
> >> itself. It's been running successfully in Apple, and moving it into Solr
> >> would allow others to use and collaborate on it easier.
> >>
> >> There are two parts to this cross DC tool.
> >>
> >> - A cross-dc-producer
> >> <https://github.com/apache/solr-sandbox/tree/main/crossdc-producer>,
> >> which is a Solr plugin that has a Update-request-processor that adds
> >> documents to a Kafka Queue to be indexed asynchronously.
> >> - A cross-dc-consumer
> >> <https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer>,
> >> which is a separate application that handles consuming documents from
> >> Kafka
> >> and sending it to Solr to be indexed.
> >>
> >> In my mind, I envision when we move the cross-dc-consumer into the Solr
> >> codebase, it would live much like the Prometheus Exporter. Where it's
> >> released as a part of the same binary package, but not in the slim
> >> distribution.
> >>
> >> As for the cross-dc-producer, that can live as a Solr module, much like
> the
> >> other modules that Solr ships with. Once again, this would not be
> included
> >> with the Slim distribution.
> >>
> >> This ties the cross-dc packages to specific Solr versions, much like
> other
> >> Modules or SolrJ. I think this is an acceptable thing, but others might
> >> want it to be more version agnostic or have a separate release schedule
> >> from Solr.
> >>
> >> Overall this thread is to just get the conversation started so that we
> can
> >> throw all the ideas out there before we make a decision on one.
> >>
> >> - Houston
> >>
>
> _______________________
> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 |
> http://www.opensourceconnections.com <
> http://www.opensourceconnections.com/> | My Free/Busy <
> http://tinyurl.com/eric-cal>
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
>
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless of
> whether attachments are marked as such.
>
>
Re: Future of the cross-dc work
Posted by Eric Pugh <ep...@opensourceconnections.com.INVALID>.
My perspective of Solr-sandbox is that it’s an area for ideas to be worked on, but no real promises…. They might be abandoned at any moment, or have issues.. No real expectation of docs or any kind of support. It’s meant for solr committers to collaborate with other solr committers on new things…
So if we are going to ref guide it etc, seems like it should live in the main Solr repo. Or, be promoted to some repo that doesn’t have “sandbox” in the name, like the Solr-operator project….
> On Sep 8, 2023, at 4:50 PM, David Smiley <da...@gmail.com> wrote:
>
> Hi Houston,
>
> Can you please elaborate on the purpose:
>> and moving it into Solr would allow others to use and collaborate on it
> easier.
>
> How is that?
>
> I am guessing another motivation may be visibility / awareness. If that is
> a motivation, I think that can be addressed with prominent references in
> the Solr Reference Guide and website news updates.
>
> ~ David
>
>
> On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org> wrote:
>
>> Hey everyone,
>>
>> I think it's a good time to talk about the future of the cross DC work
>> that's been going on in the Solr Sandbox repo.
>>
>> Mark (and others) have been doing amazing work there, and I think it's
>> close to a state that we can bring it out of the sandbox and into Solr
>> itself. It's been running successfully in Apple, and moving it into Solr
>> would allow others to use and collaborate on it easier.
>>
>> There are two parts to this cross DC tool.
>>
>> - A cross-dc-producer
>> <https://github.com/apache/solr-sandbox/tree/main/crossdc-producer>,
>> which is a Solr plugin that has a Update-request-processor that adds
>> documents to a Kafka Queue to be indexed asynchronously.
>> - A cross-dc-consumer
>> <https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer>,
>> which is a separate application that handles consuming documents from
>> Kafka
>> and sending it to Solr to be indexed.
>>
>> In my mind, I envision when we move the cross-dc-consumer into the Solr
>> codebase, it would live much like the Prometheus Exporter. Where it's
>> released as a part of the same binary package, but not in the slim
>> distribution.
>>
>> As for the cross-dc-producer, that can live as a Solr module, much like the
>> other modules that Solr ships with. Once again, this would not be included
>> with the Slim distribution.
>>
>> This ties the cross-dc packages to specific Solr versions, much like other
>> Modules or SolrJ. I think this is an acceptable thing, but others might
>> want it to be more version agnostic or have a separate release schedule
>> from Solr.
>>
>> Overall this thread is to just get the conversation started so that we can
>> throw all the ideas out there before we make a decision on one.
>>
>> - Houston
>>
_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.
Re: Future of the cross-dc work
Posted by David Smiley <da...@gmail.com>.
Hi Houston,
Can you please elaborate on the purpose:
> and moving it into Solr would allow others to use and collaborate on it
easier.
How is that?
I am guessing another motivation may be visibility / awareness. If that is
a motivation, I think that can be addressed with prominent references in
the Solr Reference Guide and website news updates.
~ David
On Thu, Sep 7, 2023 at 12:33 PM Houston Putman <ho...@apache.org> wrote:
> Hey everyone,
>
> I think it's a good time to talk about the future of the cross DC work
> that's been going on in the Solr Sandbox repo.
>
> Mark (and others) have been doing amazing work there, and I think it's
> close to a state that we can bring it out of the sandbox and into Solr
> itself. It's been running successfully in Apple, and moving it into Solr
> would allow others to use and collaborate on it easier.
>
> There are two parts to this cross DC tool.
>
> - A cross-dc-producer
> <https://github.com/apache/solr-sandbox/tree/main/crossdc-producer>,
> which is a Solr plugin that has a Update-request-processor that adds
> documents to a Kafka Queue to be indexed asynchronously.
> - A cross-dc-consumer
> <https://github.com/apache/solr-sandbox/tree/main/crossdc-consumer>,
> which is a separate application that handles consuming documents from
> Kafka
> and sending it to Solr to be indexed.
>
> In my mind, I envision when we move the cross-dc-consumer into the Solr
> codebase, it would live much like the Prometheus Exporter. Where it's
> released as a part of the same binary package, but not in the slim
> distribution.
>
> As for the cross-dc-producer, that can live as a Solr module, much like the
> other modules that Solr ships with. Once again, this would not be included
> with the Slim distribution.
>
> This ties the cross-dc packages to specific Solr versions, much like other
> Modules or SolrJ. I think this is an acceptable thing, but others might
> want it to be more version agnostic or have a separate release schedule
> from Solr.
>
> Overall this thread is to just get the conversation started so that we can
> throw all the ideas out there before we make a decision on one.
>
> - Houston
>