Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH JGIT] Allow writeObject() write to OutputStream

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:46:23

"Daniel Cheng (aka SDiZ)" [off-list ref] wrote:
This patch make factor out the object writing code in ObjectWriter,
allow it to write to any OutputStream. 
Subclass class may then override
  writeObject(final int type, long len, InputStream is, boolean store)
to make it write to alternative locations.

There are some discussion on devl@freenetproject.org to use raw 
(uncompressed) object to freenet. This patch allow the testing.
Ok, I understand the code as-is, but I'm not sure I understand the
reasoning for the change, or where you are trying to go with it.

Are you guys talking about making every object a loose object on
freenet, and avoiding pack files?  Or making a form of JGit that
access a Repository directly stored on freenode?

I ask because there's some folks starting to talk about putting JGit
onto a distributed hash table sort of system like Hadoop HBase,
to allow the underlying storage to scale efficiently for really
big hosting sites.  I would rather see a pooling of effort here
than folks going in different directions.
 
-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help