I get confused on setting snapshot length. Where should it be defined, client or server side? Can you provide some examples?

Thanks