Changes between Version 4 and Version 5 of BoincFiles
- Timestamp:
- May 28, 2007, 8:19:18 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BoincFiles
v4 v5 5 5 The BOINC storage model is based on '''files'''. Examples of files: 6 6 7 * The inputs and /oroutputs of computation;7 * The inputs and outputs of computation; 8 8 * Components of application: executables, libraries, etc. 9 * Data for its own sake, e.g. to implementa distributed storage system.9 * Data for its own sake, e.g. as part of a distributed storage system. 10 10 11 11 The BOINC core client transfers files to and from project-operated '''data servers''' using HTTP. 12 12 13 Once a file is created (on a data server or a participant host) it is'''immutable'''. This means that all replicas of that file are assumed (and required) to be identical. If a file is changed, even by a single byte, it becomes a new file, and must be given a different name than the original.13 Files are '''immutable'''. This means that all replicas of that file are assumed (and required) to be identical. If a file is changed, even by a single byte, it becomes a new file, and must be given a different name than the original. 14 14 15 15 == File properties == … … 17 17 Files have various properties, including: 18 18 19 * ''' Name:''' unique identifier for the file. Must be nonempty, at most 255 chars, and may not contain '..' or '%'.19 * '''Physical name:''' unique identifier for the file. Must be nonempty, at most 255 chars, and may not contain '..' or '%'. 20 20 * '''Sticky:''' don't delete file on client (see below). 21 21 * '''Report on RPC:''' include a description of this file in scheduler requests. … … 26 26 == File references == 27 27 28 In addition to the properties of a file itself, there are several properties of the way a particular application uses a file; this is called a '''file reference'''. 28 The way a particular application uses a file is called a '''file reference'''. 29 File references have the following properties: 29 30 30 * ''' open_name''' (or 'logical name'): the name by which the program will refer to the file (BOINC provides a mechanism for mapping logical names to physical names, so that your applications don't have to know the physical names of their input and output files).31 * '''logical name''': the name by which the program will refer to the file. BOINC provides a mechanism for mapping logical names to physical names, so that applications don't have to know the physical names of their input and output files. 31 32 * '''copy file:''' use this if your application doesn't use BOINC's filename-mapping mechanism. 32 33 * '''optional:''' Use this for output files, to indicate that the application doesn't always generate the file, and that its absence should not be treated as an error. … … 40 41 * On the client, input files are deleted when no workunit refers to them, and output files are deleted when no result refers to them. Application-version files are deleted when they are referenced only from superseded application versions. 41 42 * On the client, the 'sticky' flag overrides the above mechanisms and suppresses the deletion of the file. The file may deleted by an explicit [DeleteFile server request]. The file may also be deleted at any time by the core client in order to honor limits on disk-space usage. 42 * On the server, the [FileDeleter file deleter daemon] deletes input and output files that are no longer needed. This can be suppressed using the 'no_delete' flag, or using command-line options to the file deleter.43 * On the server, the [FileDeleter file deleter daemon] deletes input and output files that are no longer needed. This can be suppressed setting the 'no_delete' property on the file, or using command-line options to the file deleter. 43 44