Teson
Teson

Reputation: 6736

php sessions with iis, memcached or ramdisk?

I need a stable solution storing session data in ram on a MS/IIS7.

Single server setup.

Thankful for any experiences regarding

Upvotes: 1

Views: 544

Answers (1)

Muhammad Hasan Khan
Muhammad Hasan Khan

Reputation: 35126

The solution depends on your current and future scalability requirements. Any setup of the 3 you mentioned is sure going to be stable. Whether it will be sufficient for your requirements or not; is another question.

Good news is that at any point in time you can switch your strategy from in memory to distributed sessions (if you plan to add more servers) by simply installing the memcache session extension for php.

Therefore I would recommend you to not worry about it now and simply use in memory sessions unless you need to scale out.

Upvotes: 1

Related Questions