So often as developers do we sit down and go “I can do this better”, then File –> New. With so many awesome open source projects, shouldn’t we be doing a “git clone” instead and submitting pull requests?
I have been guilty of this forever, and I think most windows developers have.
Last week I blogged about not being happy with how the Elasticsearch .Net clients work. I was all amped up to create my own client, and sit in a dark room during TechEd and just get it hammered out. I spent the first two nights in Houston working on a new HttpClient based Elasticsearch client with all the plans of being awesome.
First of all, I was wrong in my last post. Deep under the hood in the default HttpMessageHandler for HttpClient it uses HttpWebRequest and HttpWebResponse. The benefits of the HttpClient however is that the internals are swappable and it has a nice clean Async API. For example, CurlSharp is a new HttpMessageHandler using the libcurl library.
With all that being said, AsyncElastic is gone, I deleted the repository, because I don’t want to roll my own, not only is it generally about 5,000% more work than you originally estimate, I legitimately don’t have the time to run an open source project of this scale.
I am happy to say that I have submitted pull requests to Elasticsearch.Net for the HttpClient implementation, and hope to in the future continue to submitting to this project to make it more robust and flexible.
I am unclear on the timelines, but I expect that the Elasticsearch.Net.Connection.HttpClient will be available on NuGet sometime in the future.