> On Fri, 2004-01-23 at 12:42, PHP general wrote:
>
>> There's 1 really important thing missing in PHP as I see it, and it's the
>> ability to keep variables in memory for as long as
>> the programmer choose. If this was possible there could be some truly great
>> optimizations done. Some things are very
>> slow to create but very fast to work with. I wrote a XML class a couple of
>> days ago and while it's extremly quick to
>> search and work with, sadly it's rendered pretty much useless since creating
>> the tree which it uses isn't fast enough.



Sessions?


>> I've heard there's a feature like this in Cold Fusion, which every Cold
>> Fusion user seems to think of  as the holy grail,
>> and I would have to agree with them.


Of course, Cold Fusion 'programmers' are only one step above Microsoft ASP/.NET 'programmers.


>> One thing I've heard they use this for is to load an entire database into
>> system memory. I don't know exactly how it's
>> works but imagine having the whole database in system memory. When you
>> change data you update it both in system
>> memory and on the drive, but when you select (which is what you mostly do),
>> you just query the mirror in system memory.



Great if you're the only one hitting the db, and it's on the same machine. What happens when I have 15 webservers accessing the same database across 5 mirrored machines, and an update is made to one of my products? If I'm only reading from what was loaded up in memory, I miss the update.


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to