Meego Wiki
Views

Architecture/Documentation/Security/Accounts

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
m (Removed the broken [[Category::]] link)
Line 1: Line 1:
[[Category:Accounts and SSO]]
[[Category:Accounts and SSO]]
[[Category:Accounts]]
[[Category:Accounts]]
-
 
-
<center>Accounts architecture</center>
 
-
 
-
<center>Subsystem Architecture Specification</center>
 
-
 
-
== References ==
 
-
 
-
{| class="prettytable"
 
-
| '''Tag'''
 
-
| '''Document name'''
 
-
| '''Repository (with hyperlinks)'''
 
-
 
-
|-
 
-
| <nowiki>[ArchGoals</nowiki>]
 
-
| Architecture Goals
 
-
| [xxx]
 
-
 
-
|-
 
-
| <nowiki>[SystemModel]</nowiki>
 
-
| Maemo System Model
 
-
| [xxx]
 
-
 
-
|-
 
-
| <nowiki>[SSOArch]</nowiki>
 
-
| SSO Architecture Study
 
-
| [xxx]
 
-
 
-
|}
 
-
 
-
== Glossary ==
 
-
 
-
{| class="prettytable"
 
-
| '''Acronym or term'''
 
-
| '''Description'''
 
-
 
-
|-
 
-
| API
 
-
| Application Programming Interface
 
-
 
-
|-
 
-
| UI
 
-
| User Interface
 
-
 
-
|-
 
-
|
 
-
|
 
-
 
-
|}
 
-
== Summary of changes in current version ==
 
-
List the full set of dependencies.
 
-
 
-
 
-
= Architecture =
 
-
 
-
=== Hardware ===
 
-
No hardware dependencies.
 
-
 
-
== Licensing and IPR view ==
 
-
Accounts subsystem is a newly developed Nokia software; no known OSS product provides the required functionality. libAccountsUI license is currently Nokia closed, while libaccounts-glib and libaccounts-qt have been released as open-source.
 
= Performance =
= Performance =
Line 80: Line 21:
|-
|-
| Flash/OneNAND  
| Flash/OneNAND  
-
| Debian packages
+
| Packages
| 500
| 500
Line 107: Line 48:
= Security =
= Security =
Accounts settings are not sensitive data.
Accounts settings are not sensitive data.
-
 
-
Below is a table depicting executables and their credentials.
 
-
 
-
{| border="1" cellpadding="5" cellspacing="0"
 
-
|+'''Credentials required by Accounts subsystem executables'''
 
-
|-
 
-
! style="background:#efefef; width:200px;" | Executable
 
-
! style="background:#efefef; width:350px;" | Credential
 
-
|-
 
-
| accounts-ui
 
-
| nokiamessagingcds::ReadAccess
 
-
|-
 
-
| accounts-ui
 
-
| nokiamessagingcds::WriteAccess
 
-
|}
 
= Open items =
= Open items =
No open items.
No open items.

Revision as of 10:02, 4 February 2011


Contents

Performance

General Performance Considerations

The performances of the Accounts subsystem heavily depend on SQLite performances, as this is the database being used for storing the account settings.

A typical account will consist of less than 5 records in the SQLite database, plus 1 record for each service enabled on the account; an experienced internet user will have a few dozens of installed accounts.

The records in the database are fairly simple, consisting mostly of a pair of key and value (with values being typically strings, integers and booleans); the size of the accounts database can be reasonably estimated to be below 100KB.

There are no real time requirements known.

Memory

  Explanation Size [kB]
Flash/OneNAND Packages 500
Flash/eMMC Account settings database 100
RAM/Idle Memory footprint when account libraries are loaded 200
RAM/Peak Memory footprint when libraries and plugins are loaded, account settings are loaded and accounts are being edited 2000

Runtime

The most frequent scenario of usage of the Accounts subsystem is application initializing its accounts’ data: Accounts libraries will be loaded along with the application, which will need to list the accounts enabled for the specific service(s) it uses, and load their settings. Once the accounts are loaded, the impact of the libraries on the system is negligible.

Power Consumption

Disc access happens only when loading accounts (which typically happens on application startup) and when editing them.

Security

Accounts settings are not sensitive data.

Open items

No open items.

Personal tools