How many concurrent sessions do you have? whats the size of a typical session file? you have to know your workload to find the best solution.
Unless you have 1000+ concurrent sessions the only load you will imposing on the DB server is the network overhead, sessions come and go and so the table would stay small, with some extra indexes here and there you should be golden. Then again, even with 1000+ sessions, if the table has proper indexes, I would assume its still faster than a remote filesystem, too many factors to write about in this email. Zaid On Nov 15, 2007 10:12 AM, Ala'a Ibrahim <[EMAIL PROTECTED]> wrote: > Well, I'm avoiding the use of database, I don't want to add an extra load on > the DB server, and don't won't to get a new server for the sessions > > > > On 11/15/07, Ammar Ibrahim <[EMAIL PROTECTED]> wrote: > > Database? > > > > > > > > On Nov 15, 2007 7:48 AM, Ala'a Ibrahim < [EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I'm trying to do a small apache cluster, everything works fine, except > for PHP sessions, as they are stored on the filesystem, I tried using an NFS > share to hold the data, it worked fine on the testing environment,but on the > live servers, it wasn't a good idea, as the NFS share kept hanging up, so > I'm thinking of using a DRBD filesystem, connected on all the nodes, > something like a Replica RAID on all the servers, in the testing > environment, it worked fine, but I wonder if it would be on the live one, so > if anyone thinks this is a bad idea, has a better solution, or has some > comments please share it. > > > > > > Thanks, > > > > > > -- > > > Ala'a A. Ibrahim > > > http://guru.alaa-ibrahim.com/ > > > > > > > > > > > > > > > > > > -- > Ala'a A. Ibrahim > http://guru.alaa-ibrahim.com/ > > > -- --------------------------- Netiquette -> http://www.dtcc.edu/cs/rfc1855.html Netiquette Nazi -> http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm --------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Jolug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Jolug?hl=en-GB -~----------~----~----~----~------~----~------~--~---

