rail thickness/deck shape

how does deck shape affect a board’s performance? and how do rail thickness and deck shape coordinate?