how to manage a million of user

Author Message

Johann Lemaitre

Monday 23 May 2011 8:15:02 am

Hi,

My customer want to use eZ Publish as a extranet portal. To authentificate a user, I use a special login Handler that invoke a web service.

If this first level authetification is succeded, I do not want to match this user with a eZUser because I have a million of user. Is it possible ?

If yes, how ? does exist a extension ? If I remember, Largarder won a award on the eZ Conference 2008 for a extension base on this approach with LDAP. Is that true ?

thx

Johann

Gaetano Giunta

Tuesday 24 May 2011 3:06:51 am

I've seen installations where a single eZ user account is used for all logged-in users, and all user profile data - gotten from external system - is stored in the session.

It is thus possible, but you will need to rewrite a lot of code, and loose some of the benefits of standard user management (eg permissions, unless you set up one dummy user account per group, and use that one to log in many actual users depending on their role)...

Principal Consultant International Business
Member of the Community Project Board

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:01:59
Script start
Timing: Jan 18 2025 02:01:59
Module start 'layout'
Timing: Jan 18 2025 02:01:59
Module start 'content'
Timing: Jan 18 2025 02:02:00
Module end 'content'
Timing: Jan 18 2025 02:02:00
Script end

Main resources:

Total runtime0.9650 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 591.0938152.6250
Module start 'layout' 0.00730.0033 743.718839.4531
Module start 'content' 0.01050.9529 783.1719520.7734
Module end 'content' 0.96340.0016 1,303.94538.1641
Script end 0.9650  1,312.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4131160.0002
Check MTime0.00170.1724160.0001
Mysql Total
Database connection0.00160.162810.0016
Mysqli_queries0.919195.2356540.0170
Looping result0.00050.0554520.0000
Template Total0.930396.420.4652
Template load0.00340.352120.0017
Template processing0.926996.050620.4635
Template load and register function0.00020.021510.0002
states
state_id_array0.00140.144910.0014
state_identifier_array0.00140.149020.0007
Override
Cache load0.00270.2809130.0002
Sytem overhead
Fetch class attribute can translate value0.00060.058220.0003
Fetch class attribute name0.00120.129230.0004
XML
Image XML parsing0.00060.062520.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.0789160.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs