Date: 03/10/00
- Next message: Alexander Aulbach: "Re: [PHPLIB] PHPLib and upcoming versions of PHP"
- Previous message: Alexander Aulbach: "Re: [PHPLIB] builtin serialize() vs. Session->serialize()"
- In reply to: Keith Schacht: "[PHPLIB] Sessions slow?"
- Next in thread: Sascha Schumann: "Re: [PHPLIB] Sessions slow?"
- Reply: Sascha Schumann: "Re: [PHPLIB] Sessions slow?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 10 Mar 2000, Keith Schacht wrote:
}I've just figured out how to use the Session feature of phplib.
}
}>From my understanding, when using "cookies" as the mode, all that is stored
}in the actual cookie is the unique session identifier? So the page_open()
}deal grabs the cookie and looks up all the session variables in the MySql
}database.
}
}If I'm correct in this, then isn't this a rather server demanding method of
}storing a little info? The page loads pretty quick when I hit it right now
}but I'm worried the site will be slow if a large number of users are using
}it at once?
}
}So I guess my question is, would Session variables (as implemented with
}phplib) ever be used in a potentially large and active website? Or are they
}just a simple tool to be used for "fun" to ease the development process.
No, PHPLib is fast. It is no problem (tested with mySQL and Oracle) to
serv about 50 requests/second. We set the maximum waiting time to 200 ms
for each request. Normal is about 50-100 ms.
The web- and database-server load rises of course to > 1. And of course:
The web- and database-servers are bigger ones. :) On smaller webservers
this could go down to 20 requests/second for example with aceptable
waiting time of 200 ms... but this is also not so bad, cause this
dosn't mean, that 20 request is the maximum -- it could handle more,
but then the user has to wait a little bit more.
The rest of the application slows itself down much more than PHPLIB!
--SSilk - Alexander Aulbach - Herbipolis/Frankonia Minoris - (0931)22032
- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Alexander Aulbach: "Re: [PHPLIB] PHPLib and upcoming versions of PHP"
- Previous message: Alexander Aulbach: "Re: [PHPLIB] builtin serialize() vs. Session->serialize()"
- In reply to: Keith Schacht: "[PHPLIB] Sessions slow?"
- Next in thread: Sascha Schumann: "Re: [PHPLIB] Sessions slow?"
- Reply: Sascha Schumann: "Re: [PHPLIB] Sessions slow?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

