Date: 03/30/00
- Next message: Björn Schotte: "Re: [PHPLIB] Too long session.val with PHP4.0RC1"
- Previous message: Kristian Koehntopp: "Re: [PHPLIB] Too long session.val with PHP4.0RC1"
- In reply to: Kristian Koehntopp: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Reply: Kristian Koehntopp: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kristian Koehntopp wrote:
> Storing sessions in MySQL will effectively store them in server
> memory, unless you chose your MySQL buffer size near zero. Using
> MySQL adds some overhead due to context switches and
> interprocess communication, but if you connect using
> "localhost", MySQL will usually use a Unix Domain Socket or
> Windows Named Pipe instead of an TCP/IP Socket to communicate,
> which is much, much faster. On Linux, Unix Domain Socket speeds
> approach shared memory speed for small session sizes.
>
Kristian,
What if the mysql server is on another host, all by itself? In that case you
wouldn't have the context switch, but you would have the network overhead.
-
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: Björn Schotte: "Re: [PHPLIB] Too long session.val with PHP4.0RC1"
- Previous message: Kristian Koehntopp: "Re: [PHPLIB] Too long session.val with PHP4.0RC1"
- In reply to: Kristian Koehntopp: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Reply: Kristian Koehntopp: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

