views:

87

answers:

1

server side is PHP + zend framework.

problem:

i have huge of data appox 5000 records and no of columns are 5 in input.txt file. i like to read all data into memory only once and send some data to the every browser request. but if i update that input.txt file then updated data must be auto synchronized to that memory location.

so i need to solve that problem by using memory caching technique.but caching technique has expire time.but if input.txt is updated before cache expire then i need to auto synchronize to that memory location.

now i am using zend framework 1.10.is it possible in zend framework. can anybody give me some line of code of zendfrmawork

i have no option to use memchached server(distributed).

Only zend framwork.

A: 

It is possible to cache something like that using zend framework. Check Zend documentation online - its not complete but can give you a head start: http://framework.zend.com/manual/en/zend.cache.introduction.html

Ronaldo Junior