Posted: Sat May 13, 2006 11:32 pm Post subject: export code is functional
The last part of the integration code changes for olympus are now finished. Still have a little testing to go, but the integration is fully implemented now.
Wrote a script to populate the olympus users table with any number of dummy users and also remove them. Added a function to the g2 acp in olympus to un-sync the users. This makes it easy to test any number of users in both olympus and g2.
Did a little testing earlier and the export code averages around 10 users per second. I'm getting about 2900-3000 users exported in the current g2 time limit setting of 300 seconds. This is running on a 1.6Ghz windows test server with no other users and no other http traffic. A unix box will probably do better, but a shared hosting environment will probably do worse. I would say 10 users/second is probably reasonable. The current phpbb integration should be similar since the export algorithm is essentially the same other than changes for olympus db structure.
Just means if there are more than 2000-3000 users, you should probably elect the 'export user at gallery 2 access' option during integration rather than trying to export them all at once. One can also bump up the gallery2 time limit, but this might get you in trouble with your host. At 10 users/second for a site with 20,000 users this is going to amount to 2,000 seconds divided by 60 equals over 30 minutes of php execution time!
Anyways, I should have a test integration available soon if anyone wants to test, look for bugs, etc while we await the official olympus release.
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Mon May 15, 2006 6:54 am Post subject: Re: export code is functional
perhaps you can add something in that checks the number of users, and if it exceeds X, don't display the "export now" option. granted, X would be arbitrary, but 2000 might be a safe number.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum