Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Dropping storage.dht package

On Tue, Aug 14, 2012 at 1:55 PM, Matthias Sohn <matthias.sohn@xxxxxxxxxxxxxx> wrote:
2012/8/14 Shawn Pearce <spearce@xxxxxxxxxxx>
I am considering deleting the DHT storage backend for JGit. Its
horribly complex and doesn't perform well compared to the local
filesystem and DFS backends. The DFS backend is in heavy use at
Google, and we are hoping we can find the time to port it to open
source systems like HDFS. If we do want to keep a pure a database sort
of backend, it shouldn't be what the DHT one is given how complex it
is, and how slow it is. We should instead have a simpler schema, and
accept whatever performance tradeoff that makes.

Unfortunately the DHT storage backend might be viewed as part of the
2.0 API. So deleting it means a breaking API change. But if nobody is
actually using the DHT backend, nobody would notice such a deletion.

+1, if it's complex, slow and hard to maintain we should remove it
the implementations of this API I am aware of are:
- your cassandra implementation
- your hbase impementation
- Philpp's JDBC implementation prototype

+1, there's also nothing saying that we can't just bump the major version since this would be considered "breaking" if we considered DHT a public API.

--
Cheers,

Chris Aniszczyk
http://aniszczyk.org
+1 512 961 6719

Back to the top