Optimal: piecemeal. As in: X sockets on a board, each socket takes a chip that adds CPU core(s), GPU cores, and some amount of main RAM. More chips, more powerful computer.
Keyword: socket. Read: replaceable. Bad chip out, good chip in. Slow chip out, faster chip in. Soldered onto board = reliable, but a defect could junk the whole machine.