• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How sync contact with best solution?

#1
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?
Reply

#2
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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#3
(07-27-2018, 09:30 AM)InsiteFX Wrote: 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.

Not problem for current server
But if my users increase in future,actually i confront with new problem (Bandwidth,Traffic,...)
Reply

#4
If it's bandwidth and traffic then you would need to use a cron job.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#5
(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
Reply

#6
(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
Reply

#7
(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.

stupid answer...



@omid_student,
- use data compression
- check if something changed and send only the changes

Yes your solution is good
But i sync data for once
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.