- Posts: 4
Performance of syncing Moodle profiles to Joomla?
- George Allakhverdyan
- Topic Author
- Offline
- New Member
-
Less
More
11 years 11 months ago #1
by George Allakhverdyan
Performance of syncing Moodle profiles to Joomla? was created by George Allakhverdyan
I'm just wondering what experience's people are having with this feature. How long does it take to sync 1,000 users? 5,000 users? Is it a big hit server resources to sync so many users?
Also does it sync all profiles? Or only enrolled ones?
Thanks,
-George
Also does it sync all profiles? Or only enrolled ones?
Thanks,
-George
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
11 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Performance of syncing Moodle profiles to Joomla?
Perfomance is really poor, as it is done via webservices, so for each user, several HTTP queries are processed.
It is intended for migrating some users, but not thousands.
I have worked with clients in the past, to create custom syncing procedures, that are much faster, by exporting and processing SQL files directly, instead of making webservices calls.
It is intended for migrating some users, but not thousands.
I have worked with clients in the past, to create custom syncing procedures, that are much faster, by exporting and processing SQL files directly, instead of making webservices calls.
Please Log in or Create an account to join the conversation.
- George Allakhverdyan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
11 years 10 months ago #3
by George Allakhverdyan
Replied by George Allakhverdyan on topic Performance of syncing Moodle profiles to Joomla?
Right that makes sense. Can you provide some pointers on the process of exporting and processing SQL files directly? The user data part is straight forward, just it's not immediately obvious to me how to ensure the new Joomla user's password is in parity with the moodle MD5 stored password.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
11 years 10 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Performance of syncing Moodle profiles to Joomla?
You cannot get passwords from Moodle into Joomla, as they are crypted.
The process to migrate a user from Moodle to Joomla sets a new password for the Joomla user, and sends it by email.
To do migration with SQL files, you would need to write code to transfer user, set random password and email it.
The process to migrate a user from Moodle to Joomla sets a new password for the Joomla user, and sends it by email.
To do migration with SQL files, you would need to write code to transfer user, set random password and email it.
Please Log in or Create an account to join the conversation.