Hosted by Sourceforge TWiki > DLibrary > DLibraryDesign > ProxyStorageInterface TWiki webs:
Main | TWiki | Know | Sandbox
DLibrary . { Changes | Index | Search | Go }
The proxy server (RabbIT) currently stores meta-data and data seperately: there is a single file which contains cache data, plus the header of each of the request which resulted in the object being cached. This file is managed by the NCache and NCacheEntry objects. This is great, since it provides a single class through which all the metadata.

Data, however, is managed by several classes since it is streamed, rather than read and then written (a good design for a proxy cache, but which complicates things for us). The relevant classes are

Both interfaces (lucene and rabbit) want to deal with streams, so I have defined a set of classes that allow you to pass references to streams across process boundaries. RemoteIO, I define a detailed interface for remote streams. The code is in CVS under the package remoteio.

With remote streams, the interface to the RemoteRepository works as follows

Topic ProxyStorageInterface . { Edit | Attach | Ref-By | Printable | Diffs | r1.2 | > | r1.1 | More }
Revision r1.2 - 22 Nov 2003 - 19:03 GMT - RjHonicky
Parents: WebHome > DLibraryDesign
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.