server architecture doc