by sdesol · 4y ago · 0 comments
When OpenSearch was announced, I shared some insights into how both Elasticsearch and OpenSearch were evolving, and I'll share some more up to date insights here.
Looking at recent pull request activity, OpenSearch had 52 contributors
https://oss.gitsense.com/insights/github?q=pull-age%3A%3C%3D...
while Elasticsearch had 181
https://oss.gitsense.com/insights/github?q=pull-age%3A%3C%3D...
The metric that I'm most interested in, is knowing how many people committed within the last 14 days compared to those that committed more than 14 days ago. For Elasticsearch, they had 87 contributors which accounts for 68% of all contributors. OpenSearch had 20, which accounts for 67%. With these numbers, I can ball park how many people are working on Elasticsearch and OpenSearch full time and I would say Elasticsearch at the present moment has probably 5 times more people working on it fulltime vs OpenSearch.
An important thing to note is, Amazon has other projects that are related to OpenSearch so these numbers don't necessary give the full picture, but it is pretty obvious that Elasticsearch is evolving at a much faster pace and time will tell if they (OpenSearch) can keep up.
https://github.com/elastic/elasticsearch/graphs/contributors
https://github.com/opensearch-project/OpenSearch/graphs/cont...
Over an order of magnitude more development on Elasticsearch than OpenSearch since that fork
repo | commits | authors
------------+---------+---------
elastic | 2719 | 179
opensearch | 265 | 54
Here's a breakdown based on commits with at least 15 lines of code churn (lines added, changed or deleted). repo | commits | authors
------------+---------+---------
elastic | 1681 | 122
opensearch | 153 | 41
What is interesting about these numbers, is they clearly show a lot of people (57 authors) took the time to create a small pull request, which goes to show how popular the project is.But I still think having a bunch of folks contribute isn't trivial and worth highlighting (57 is a ton for many projects) and anytime I see a truly OSS project at this scale I think it's a good thing.
https://oss.gitsense.com/insights/github?q=pull-age%3A%3C%3D...
For my tool, I can analyze any combination of repositories so getting the bigger picture isn't challenging. Out of curiosity, I decided to index all the opensearch repos which will take a few hours to index and I'll update this post if I can or just reply to it when the other repos have been indexed.
I think the next wave of search tech will be
1. Leveraging automated ingestion optimization.
2. Capable of searching across mixed media: text, audio, images to start out with. This is only possible because of optimized ingestion. The ingestion layer will perform vectorization of the inputs. The vectors will be the entires stored in inverted indices.
3. A great jump from two to an optimized data store for searching mixed media.
People obsessing over elastic/splunk features are lost. Nobody will care in 5 years. Both will be legacy enterprise tech.
lots of software ist stable and just works. everyone uses bash. let the elastic guys make their new software more shiny, good for them. i am now glad i can use a real opensource version at home and for small to midsized projects. if opensearch won't cut it? no problem, the customer can pay elastic :)
In practical terms, I now have to worry about supporting both Elastic and Opensearch as a consultant (always looking for new customers to help, if you need some advice) and I can't really recommend people stick with Elastic with a straight face either because Opensearch really is a decent alternative and increasingly the default for new users; as I have noticed with my own customers.
I maintain a Kotlin client for Elasticsearch and I have started work on making that work for both Elasticsearch 7, 8 and Opensearch; something that is complicated by the fact that Elastic intentionally made sure their Java client (which I depend on) no longer talks to opensearch. They also deprecated it and introduced a completely new one recently. And of course the recently released Elasticsearch 8 complicates things with a few new features, compatibility breaking changes, etc.
On top of that, Opensearch is starting to get its own features or alternatives to Elastic-only features. I agree that the momentum is still with Elastic but it is not the case that Opensearch is a dead fork. I know of several people that quit their jobs at Elastic because of the license change and that are now working on Opensearch or on Opensearch plugins. It will be interesting to see how the two forks evolve.
IMHO, the license change is long term a mistake for Elastic. They've cut themselves off from open source contributors who can still contribute to making Opensearch, Lucene, or Solr better. So, that's long term not going to be helpful. Elastic has always leaned on opensource heavily for contributions and hiring. A lot of their early hires came from the Lucene community and the many researchers contributing to that and later from people contributing to Elasticsearch. Additionally, a lot of value gets added to the ecosystem by OSS plugins. The authors of those now have to choose between Opensearch and Elastic. That's long term not good for Elastic as a lot of cutting edge stuff usually starts in the plugin community.
I don't necessarily like what Amazon did but I do think they did it the right way from the point of view of creating a credible alternative. And I think that the way Elastic responded to that is throwing out the baby out with the bathwater.
Perhaps the most striking statistic is that the total number of PRs for both combined declined: everybody loses. IMHO, they should just roll back the license change and grow their community rather than fragmenting and shrinking it. Amazon is going to get some of their customers either way. I actually think the fork is working out better for Amazon than it is for Elastic currently. It was a mistake. Amazon is not the most likely steward of open source. But stranger things have happened. Take MS in recent years for example. It's a sound business strategy to not piss off OSS developers. Elastic would do well to take note of that.
repo | month | commits | authors
------------+---------+---------+---------
elastic | 2022-02 | 195 | 66
elastic | 2022-01 | 269 | 68
elastic | 2021-12 | 194 | 64
elastic | 2021-11 | 233 | 59
elastic | 2021-10 | 435 | 74
elastic | 2021-09 | 318 | 64
elastic | 2021-08 | 49 | 30
opensearch | 2022-02 | 18 | 11
opensearch | 2022-01 | 34 | 17
opensearch | 2021-12 | 32 | 10
opensearch | 2021-11 | 19 | 13
opensearch | 2021-10 | 28 | 12
opensearch | 2021-09 | 20 | 10
opensearch | 2021-08 | 3 | 3
It seems like the contribution for Elasticsearch hasn't drastically changed that much (if any really), but what is interesting is contributions for OpenSearch has been increasing.