C11 implement server side paging