Sunday, 15 May 2011

php - How can i manage this request? -



php - How can i manage this request? -

help me how manage problem.

i have booking scheme have 50000 registered hotels. , want send created booking info each , every hotels. receiving response of hotels particular booking. if hotel can't give response particular booking in given period of time send 1 time again after 5 minutes. suggest me can store sending info , recieving response of hotels store in database. suggest me how can manage process. can store sending data.

thanks in advanced

the simple way log sent notifications

try test method

<?php echo date('h:i:s')."<br>"; $data=""; ($x=0; $x<=50000; $x++) { $data .= "notified hotel ".$x."and here comes info want track \n"; } file_put_contents('logger.txt', $data, file_append); echo date('h:i:s'); ?>

this job in milli seconds each booking id, can have 1 txt file 50k rows.

php mysql database caching filesystems

No comments:

Post a Comment