How sync contact with best solution? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: How sync contact with best solution? (/showthread.php?tid=71289) |
How sync contact with best solution? - omid_student - 07-27-2018 Hi I'm posting 24k data(contain users's mobile) to server And check users in database with IN And return users that have member in my app Now If in every 1 second,100 user sync atleast 100 contacts with my server so 100 * 15 * 100 is 15mb Is it good to this way for sync? RE: How sync contact with best solution? - InsiteFX - 07-27-2018 If your not seeing any strange results then you should be OK. If not then you would need to try different setting until you find one that works. RE: How sync contact with best solution? - omid_student - 07-27-2018 (07-27-2018, 09:30 AM)InsiteFX Wrote: If your not seeing any strange results then you should be OK. Not problem for current server But if my users increase in future,actually i confront with new problem (Bandwidth,Traffic,...) RE: How sync contact with best solution? - InsiteFX - 07-28-2018 If it's bandwidth and traffic then you would need to use a cron job. RE: How sync contact with best solution? - omid_student - 07-28-2018 (07-28-2018, 03:34 AM)InsiteFX Wrote: If it's bandwidth and traffic then you would need to use a cron job. CronJob run my script atleast in 1 minute But i need send sms in 30 second RE: How sync contact with best solution? - Paradinight - 07-28-2018 (07-28-2018, 03:34 AM)InsiteFX Wrote: If it's bandwidth and traffic then you would need to use a cron job. stupid answer... @omid_student, - use data compression - check if something changed and send only the changes RE: How sync contact with best solution? - omid_student - 07-28-2018 (07-28-2018, 08:22 AM)Paradinight Wrote:(07-28-2018, 03:34 AM)InsiteFX Wrote: If it's bandwidth and traffic then you would need to use a cron job. Yes your solution is good But i sync data for once |