web services - Best way to display 60,000 records on a php webpage -
i looking display 60,000 records on webpage php pulling records mysql database on localhost. these 60,000 records may change depending on data input.
the records have 5 text fields , due sheer number of records, significant time taken send data mysql server web browser. on localhost, time taking around 15 seconds. during time, page empty.
i seek professional opinion on how either 1. display data in alternative method, (which i'm not sure method) or 2. hasten sending of data mysql server web browser using caching technology memcache.
in end deploying application on internet lag immensely unacceptable (i.e. > 15 seconds).
thank , best regards!
i suggest trying ajax pagination. no user able see , analyze 60k records @ 1 time. can have php display first x
(however many fit on average screen or two) records fill 2-3 pages, , have javascript listen scroll change. if user starts scrolling down, have automatically query next y
records, , add them display list. possibly removing records top of list.
also, adding quick-jump links or search feature help, wouldn't want scroll down 60k records make changes.
this significantly lighten server , client load, have serve couple hundred records @ time.
Comments
Post a Comment