![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
We're waiting on you to write it for us
.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#12 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,827
Rep Power: 5
![]() |
No thanks. I'll just scuttle back over to my corner, hide under my box, and keep toying with Python.
I've decided to be ignorant to what the industry declares is "hip". One of these days, people will stop overating PHP, and become more informed of the alternatives! ONE OF THESE DAYS!! *raises his fists to the sky* STEEEEEEEELAAAAAAAAA!!!! ... ![]() |
|
|
|
|
|
#13 |
|
Newbie
Join Date: Jun 2005
Posts: 13
Rep Power: 0
![]() |
.
Well, I don't know about php's sessions.. Maybe there's no way you can control ram.. But e.g. I have own session system which uses MySQL, and MySQL RAM preferences you can control. Mainly SQL uses RAM smartly enought so you don't have to even pay attention to such things. That's one way you could do it.
![]() |
|
|
|
|
|
#14 |
|
Newbie
Join Date: Oct 2006
Posts: 20
Rep Power: 0
![]() |
yes, this is possible.
You could use message queues or shared memory, both are supported by PHP (only on *nix systems though). you could even use shared memory in php and access that same piece of memory from another program. Details here: http://us2.php.net/manual/en/ref.sem.php Tutorial: http://www.onlamp.com/pub/a/php/2004...ed_memory.html and to respond to this: "Since PHP can not do this, it's limiting a lot of potential speed ups in efficiency. PHP could get nowhere near the speed of Python+CherryPy in some situations." This may be true, but shared memory doesn't scale very well. For high performance, it's best to use something like memcached (slashdot and livejournals use it to scale their sites to many different servers). Link: http://www.danga.com/memcached/ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When to use the new keyword in C++? | titaniumdecoy | C++ | 28 | Mar 16th, 2006 12:36 PM |
| Dynamic memory - variables | darkone916 | C++ | 4 | Dec 7th, 2005 6:24 AM |
| Which area of memory does new use? | aznluvsmc | C++ | 11 | Nov 5th, 2005 7:37 AM |
| Pointers in C (Part II) | Stack Overflow | C | 2 | Apr 29th, 2005 10:39 AM |
| Pointers in C (Part I) | Stack Overflow | C | 4 | Apr 28th, 2005 7:03 PM |