php-mongo-session icon indicating copy to clipboard operation
php-mongo-session copied to clipboard

WiredTiger support?

Open rocksfrow opened this issue 9 years ago • 4 comments

@nicktacular I was curious if you've done any testing on mongodb 3.0 using the new wiredtiger storage engine?

I plan to do the drop-in upgrade from 2.6 to 3.0 on my testbed and I will confirm that drop-in replacement works fine (I don't expect any issues).

BUT, I am definitely going to do more testing once switching out the storage engine.

3.0 boasts up to 10x performance -- while using 80% less disk space.

http://docs.mongodb.org/manual/release-notes/3.0-upgrade/

rocksfrow avatar Mar 23 '15 21:03 rocksfrow

FYI - switching to WiredTiger is a diff process than the normal upgrade.

I don't expect any issues but I wanted to open this issue as a reference to get some feedback from others / if others have upgraded yet.

http://docs.mongodb.org/manual/release-notes/3.0-upgrade/#upgrade-repl-set-wiredtiger

rocksfrow avatar Mar 23 '15 21:03 rocksfrow

@nicktacular any thoughts on this? You might be able to shrink your cluster size after making this upgrade ;)

rocksfrow avatar Apr 26 '15 22:04 rocksfrow

Hey @rocksfrow haven't had a chance to work on this yet. I'm unable to do any work on this for the moment and will have to postpone for a few months at this point.

nicktacular avatar Apr 27 '15 14:04 nicktacular

Nick,

Thanks for letting me know. I will be testing with wired tiger later this week and will let you know how it goes.

btw, have you thought of using the ttl on the session collection to avoid the need for the cleanup method? IE just set the ttl of the record to session expire time and Mongo will auto purge (as of 2.2).

Also, are you using sharing or just replica?

Note, this email was sent from my cell phone.

Hey @rocksfrow https://github.com/rocksfrow haven't had a chance to work on this yet. I'm unable to do any work on this for the moment and will have to postpone for a few months at this point.

— Reply to this email directly or view it on GitHub https://github.com/nicktacular/php-mongo-session/issues/23#issuecomment-96670669 .

rocksfrow avatar Apr 27 '15 14:04 rocksfrow