git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 13, 2009, 15:08 UTC
Message-ID
<20090313150806.GE22920@spearce.org>
In-Reply-To
<1236844931-12807-1-git-send-email-j16sdiz+freenet@gmail.com>
"Daniel Cheng (aka SDiZ)" <j16sdiz+freenet@gmail.com> wrote:
Show 9 quoted lines
> 
> 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.
Previous: Daniel Cheng (aka SDiZ)Next: Daniel Cheng
Message 2 of 3 in “Allow writeObject() write to OutputStream”
  1. Allow writeObject() write to OutputStreamDaniel Cheng (aka SDiZ), Mar 12, 2009
  2. Shawn O. PearceMar 13, 2009
  3. Daniel ChengMar 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.