Ứng dụng của em hiện tại có khoảng 100k người dùng, và có chức năng tracking location như của grab, vậy có nên dùng socket không anh nhỉ?
Http em sợ server k chịu tải được anh, vì cứ 5s là gửi request lên server 1 lần để update location
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Anh nghĩ em nên dùng socket với TCP hoặc UDP em ạ, nhưng UDP có vẻ hợp hơn, vì trong trường hợp của em gói tin tương đối nhỏ. 100k user thì CCU chắc khoảng 20K, như vậy sử dụng 1 socket server như ezyfox-server là ok rồi em ạ.