/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/costs.txt

  • Committer: Martin Pool
  • Date: 2006-01-13 09:57:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060113095713-1fa5912229a3898e
Review updates of pycurl transport

Split them out into 

  bzrlib.transport.http             common base
  bzrlib.transport.http._urllib     pure python
  bzrlib.transport.http._pycurl     calls pycurl

Update to work with robert's nice transport test multiplexer.

Add PyCurlTransport.has() which does just a HEAD request; should be faster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Costs
 
2
=====
 
3
 
 
4
User thought is most expensive.  User time spent waiting is next.
 
5
Developer time for the version control system is also relatively
 
6
expensive.  
 
7
 
 
8
Machine resources are cheap.  In particular; disk is generally very
 
9
cheap; an ordinary programmer earns enough to buy hundreds of GB of
 
10
disk per day.  However, it is sometimes limited, as on a laptop.
 
11
Therefore it is generally OK to trade off disk space for anything
 
12
else, but it should be possible to be compact.
 
13
 
 
14
Network round trips are very bad.
 
15
 
 
16
Consider scalability also; avoid anything worse than O(n).  Try to
 
17
avoid anything that needs e.g. to hold the whole tree in memory at any
 
18
time, or to hold the entire history of the project.
 
19
 
 
20
 
 
21