Send
Close Add comments:
(status displays here)
Got it! This site "robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website. Note: This appears on each machine/browser from which this site is accessed.
Scalability
1. Scalability
Scalability of solutions is important.
As the size of the length of one dimension increases by one, the area increases by the square and the volume increases as the cube.
2. Cube scalability
1. Cube of 1
2. Cube of 4
3. Cube of 27
4. Cube of 64
5. Cube of 125
6. Cube of 216
7. Cube of 343
8. Cube of 512
As the size of the length of one dimension increases by one, the area increases by the square and the volume increases as the cube.
Note how the cube grows much faster than the square which grows much faster than the unit addition.
3. Connection scalability
1. TPS 3
2. TPS 4
3. TPS 5
4. TPS 6
5. TPS 7
6. TPS 8
7. TPS 9
8. TPS 10
9. TPS 11
10. TPS 12
As the number of nodes increases, the number of connections between nodes increases as the square of the number of nodes.
4. Files
One way to easily scale up the number of files in a system is to have one level of files in a folder.
This works well up to a thousand or more files. Naming conventions:
documents
|
programs
|
name-00.docx
name-01.docx
name-02.docx
name-03.docx
...
|
name9.py
name1.py
name2.py
name3.py
...
|
5. Folders
One way to easily scale up the number of folders in a system is to have one level of folders right below some root.
This works well up to a thousand or more folders.
6. Personal convention
Personal convention: (if allowed)
Folders in all uppercase letters.
Files in all lowercase letters.
No spaces in file or folder names.
Names ending in "0" are used for "trash" code, etc.
Some languages do not permit certain naming conventions and some may require mixed case names, etc.
7. File references
Every file can now be referenced using the following pattern.
..\FOLDER\name
../FOLDER/name
8. Drives
The root of all source code and/or document files is one root.
D:\F
/rms/F
This is part of code relocatability.
Host name
OS
IP address - MAC address
server or client
9. Scalability
We tell ourselves that what we can do once, we can also do twice and by induction we fool ourselves into believing that we can do it as many times as needed, but this is just not true! A factor of a thousand is already far beyond our powers of imagination. Edsger Dijkstra (computer scientist)
Dahl, O., Dijkstra, E., & Hoare, C. (1972).
Structured programming. New York: Academic Press., p. 2.
10. End of page