SlideShare ist ein Scribd-Unternehmen logo
1 von 21
The XML Database for the .NET
        Framework
Endpoint Systems
• Products
  – ShoBiz Biztalk Documentation Tool (CodePlex)
  – ShareScan LOB Connector (eCopy Document
    Management)
  – Figaro
• Services
  – Consulting (BizTalk, K2, .NET)
  – BizTalk/K2 Hosting (on-site, cloud)
     • BizTalk 2009
  – BizTalk/K2 Support
What is Figaro?
• XML Database
  – Application database
  – Client or server
  – < 7 MB (~6.34 MB)
  – Holds up to 256 TB data
• Oracle Embedded Product
  – Oracle Berkeley DB XML
  – Licensed product
Product Stack
Product Editions
• Data Store (DS)
   – Single reader, single writer
   – High performance
• Concurrent Data Store (CDS)
   – Multiple readers, single writer
• Transactional Data Store (TDS)
   – Multiple readers and writers
   – ACID transaction support
• High Availability
   – Replication layer
   – Coming soon to Figaro (late 2009)
Solution Step-by-Step

FIGARO ASP.NET MEMBERSHIP
PROVIDER
Designing the Provider
• Single-app solution
  – Data Store access (single reader/writer)
  – Build up, then out
     • CDS, TDS
• Object serialization
• One container per provider
  – CDS, TDS scenarios can help create
    SSO/centralized credential store
Membership Provider Key Objects
• FigaroMembershipProvider
• FigaroMembershipUser
  – [Serializable]
  – Intermediary to MembershipUser
• FigaroMembershipData
  – DAL
Figaro Key Objects
•   FigaroEnv
     – Environment manager
     – Not used in this example
•   XmlManager
     – Manage containers, object creation
•   Container
     – The database
     – Node storage or ‘wholedoc’ storage
     – Every entry has a ‘file name’ – either auto-generated or assigned
•   QueryContext
     – Assign variable values
     – Set XML namespaces
•   Figaro.BerkeleyDb.Xml.XmlDocument
     – Not to be confused with System.Xml.XmlDocument
          •   (but you can explicitly convert to it)
     – File name, Metadata
FigaroMembershipUser
<?xml version=quot;1.0quot; encoding=quot;utf-8quot;?>
<FigaroMembershipUser xmlns:xsi=quot;http://www.w3.org/2001/XMLSchema-instancequot;
xmlns:xsd=quot;http://www.w3.org/2001/XMLSchemaquot;
xmlns=quot;http://schemas.bdbxml.net/membership/user/2009/quot;>
            <Email>bojangles@test.com</Email>
            <Comment>comment test</Comment>
            <IsApproved>true</IsApproved>
            <LastLoginDate>2009-04-30T02:13:02.3791226-04:00</LastLoginDate>
            <LastActivityDate>2009-04-30T02:13:02.3791226-04:00</LastActivityDate>
            <CreationDate>2009-04-30T02:13:02.3791226-04:00</CreationDate>
            <IsLockedOut>false</IsLockedOut>
            <LastLockoutDate>2009-04-30T02:13:02.3791226-04:00</LastLockoutDate>
            <LastPasswordChangedDate>2009-04-30T02:13:02.3791226-04:00</LastPasswordChangedDate>
            <PasswordFormat>Clear</PasswordFormat>
            <PasswordQuestion>Favorite Food</PasswordQuestion>
            <ProviderName>FigaroMembershipProvider</ProviderName>
            <ProviderUserKey xmlns:q1=quot;http://microsoft.com/wsdl/types/quot; xsi:type=quot;q1:guidquot;>794a07ab-fe38-
48aa-869f-994fbab00a38</ProviderUserKey>
            <UserName>mrbojangles</UserName>
</FigaroMembershipUser>


 Object Serialization
Adding Users
public MembershipCreateStatus CreateUser(FigaroMembershipUser user)
       {
           var status = MembershipCreateStatus.Success;
           StartTimer();
           try
           {
               var ms = new MemoryStream();
               serializer.Serialize(ms, user);
               ms.Seek(0, SeekOrigin.Begin);
               var reader = XmlReader.Create(ms);
               var doc = mgr.CreateDocument(reader);
               doc.Name = user.UserName;
               container.PutDocument(doc,mgr.CreateUpdateContext(),PutDocumentOptions.None);
           }
           catch (Exception ex)
           {
               status = MembershipCreateStatus.ProviderError;
               var e = ExceptionHandler.HandleException(ex, source);
               if (null != e) throw e;
           }
           finally
           {
               //you must sync or your data will disappear when you close the container!
               container.Sync();
               StopTimer(quot;CreateUser quot; + user.UserName);
           }
           return status;
       }
Getting User Info
• GetUserPassword
  – for $x in collection('membership') where
    $x/FigaroMembershipUser/UserName = $user return
    xs:string($x/FigaroMembershipUser/Password)

• GetNumberOfOnlineUsers
  – for $x in collection('membership') where
    xs:dateTime($x/FigaroMembershipUser/LastActivityDate) >=
    $y return $x
How does it perform?
                                   •
•                                      MembershipData.CreateUser
    MembershipData.Query
                                       testuser995 completed in
    completed in 0.0079436
                                       0.0581908 seconds.
    seconds.
                                   •   MembershipData.CreateUser
•   MembershipData.GetUser             testuser996 completed in
                                       0.0749375 seconds.
    completed in 0.0030428
                                   •   MembershipData.CreateUser
    seconds.
                                       testuser997 completed in
•   MembershipData.Update              0.0581884 seconds.
    completed in 0.0500253         •   MembershipData.CreateUser
    seconds.                           testuser998 completed in
                                       0.0750547 seconds.
•   MembershipData.UpdateUser
                                   •   MembershipData.CreateUser
    completed in 0.0008002
                                       testuser999 completed in
    seconds.                           0.0580407 seconds.
•                                  •
    ChangePasswordQuestionAndAns       MembershipData.CreateUser
                                       testuser1000 completed in
    wer completed in 0.1160279
                                       0.0582832 seconds.
    seconds.
MembershipProvider Design:
          Going Forward
• Concurrency
  – CDS/TDS
  – COM+ layer?
• Indexing
  – The more users added, performance will slow
  – “2 Gb Rule”
• Data Partitioning
  – Keep roles, profile properties separate, or add to
    membership container?
Planning for Concurrency
• Consider the Framework

• Consider the OS Features
  – COM+
  – MSDTC
• Consider the Figaro API
  – Concurrent Data Store (CDS) switches
  – Transactions
Benefits
•    FLEXIBILITY
       – Put whatever you want into your containers
       – Change management just got a whole lot easier
•    Scalability
       – Concurrency
       – Gigabytes, Terabytes
       – Replication/HA*
•    Security
       – File
       – Application layer
       – AES Encryption support
•    Performance
       – Sub-millisecond operations
       – ACID transaction support
       – In-memory databases, log files (TDS)
•    ROI
       – Get more out of your XML
       – Reduced need for resources (no database server!)


    * Coming late 2009
Where do you want to go today?
• Client                          • Server
   – Office                          – ASP.NET
      • Custom OpenXML Packages      – CMS (e.g. Oxite)
   – Visual Studio                   – CodePlex Projects
      • Developer tools              – WCF, REST, Services SDKs
   – WPF?                            – Cloud/Saas/Software +
   – Search/Indexing                   Services
   – ISV products                    – Server Products, Platforms
• Mobile/Embedded                        • MOSS, BizTalk
                                         • Search Server
                                         • Exchange?
                                     – ISV Products
What the Future Holds
• 64 bits
• Configuration Framework
    – Environment setup/configuration
• Replication/High Availability
    – WCF stack?
• Diversified output
    – Event Window Tracing
    – Custom Listeners
• Further Framework Integration
    – 3.0, 3.5, 4.0
    – IQueryable, LINQ
• Performance Counters
• Powershell
Licensing Options
•   Client, Server
•   DS, CDS, TDS[, HA]
•   ISV
•   Enterprise
•   Partner Programs Available
Come and Get It!
• Figaro Product Portal
  – http://bdbxml.net
• Product Documentation
  – http://help.bdbxml.net
• Endpoint Systems
  – http://endpointsystems.com
Figaro

Weitere ähnliche Inhalte

Was ist angesagt?

Advance java session 7
Advance java session 7Advance java session 7
Advance java session 7Smita B Kumar
 
Adventures in Multithreaded Core Data
Adventures in Multithreaded Core DataAdventures in Multithreaded Core Data
Adventures in Multithreaded Core DataInferis
 
Apache Cassandra and Drivers
Apache Cassandra and DriversApache Cassandra and Drivers
Apache Cassandra and DriversDataStax Academy
 
Open Source Ajax Solution @OSDC.tw 2009
Open Source Ajax  Solution @OSDC.tw 2009Open Source Ajax  Solution @OSDC.tw 2009
Open Source Ajax Solution @OSDC.tw 2009Robbie Cheng
 
07 cookies
07 cookies07 cookies
07 cookiessnopteck
 
Gc crash course (1)
Gc crash course (1)Gc crash course (1)
Gc crash course (1)Tier1 app
 
Introduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraIntroduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraDataStax Academy
 
Top Ten Web Defenses - DefCamp 2012
Top Ten Web Defenses  - DefCamp 2012Top Ten Web Defenses  - DefCamp 2012
Top Ten Web Defenses - DefCamp 2012DefCamp
 
Multi-threaded CoreData Done Right
Multi-threaded CoreData Done RightMulti-threaded CoreData Done Right
Multi-threaded CoreData Done Rightmorrowa_de
 
Top5 scalabilityissues withappendix
Top5 scalabilityissues withappendixTop5 scalabilityissues withappendix
Top5 scalabilityissues withappendixColdFusionConference
 
Developing on SQL Azure
Developing on SQL AzureDeveloping on SQL Azure
Developing on SQL AzureIke Ellis
 
High Performance Core Data
High Performance Core DataHigh Performance Core Data
High Performance Core DataMatthew Morey
 
Users' Data Security in iOS Applications
Users' Data Security in iOS ApplicationsUsers' Data Security in iOS Applications
Users' Data Security in iOS ApplicationsStanfy
 
Cookies in php lecture 2
Cookies in php  lecture  2Cookies in php  lecture  2
Cookies in php lecture 2Mudasir Syed
 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesGiuseppe Maxia
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLErick Vidbaz
 
smartdc by Ruby
smartdc by Rubysmartdc by Ruby
smartdc by Rubyogom_
 

Was ist angesagt? (20)

Advance java session 7
Advance java session 7Advance java session 7
Advance java session 7
 
Adventures in Multithreaded Core Data
Adventures in Multithreaded Core DataAdventures in Multithreaded Core Data
Adventures in Multithreaded Core Data
 
Apache Cassandra and Drivers
Apache Cassandra and DriversApache Cassandra and Drivers
Apache Cassandra and Drivers
 
Di and Dagger
Di and DaggerDi and Dagger
Di and Dagger
 
Open Source Ajax Solution @OSDC.tw 2009
Open Source Ajax  Solution @OSDC.tw 2009Open Source Ajax  Solution @OSDC.tw 2009
Open Source Ajax Solution @OSDC.tw 2009
 
07 cookies
07 cookies07 cookies
07 cookies
 
Gc crash course (1)
Gc crash course (1)Gc crash course (1)
Gc crash course (1)
 
Introduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache CassandraIntroduction to Data Modeling with Apache Cassandra
Introduction to Data Modeling with Apache Cassandra
 
Top Ten Web Defenses - DefCamp 2012
Top Ten Web Defenses  - DefCamp 2012Top Ten Web Defenses  - DefCamp 2012
Top Ten Web Defenses - DefCamp 2012
 
Multi-threaded CoreData Done Right
Multi-threaded CoreData Done RightMulti-threaded CoreData Done Right
Multi-threaded CoreData Done Right
 
Coursera Cassandra Driver
Coursera Cassandra DriverCoursera Cassandra Driver
Coursera Cassandra Driver
 
Top5 scalabilityissues withappendix
Top5 scalabilityissues withappendixTop5 scalabilityissues withappendix
Top5 scalabilityissues withappendix
 
Developing on SQL Azure
Developing on SQL AzureDeveloping on SQL Azure
Developing on SQL Azure
 
High Performance Core Data
High Performance Core DataHigh Performance Core Data
High Performance Core Data
 
DataStax 6 and Beyond
DataStax 6 and BeyondDataStax 6 and Beyond
DataStax 6 and Beyond
 
Users' Data Security in iOS Applications
Users' Data Security in iOS ApplicationsUsers' Data Security in iOS Applications
Users' Data Security in iOS Applications
 
Cookies in php lecture 2
Cookies in php  lecture  2Cookies in php  lecture  2
Cookies in php lecture 2
 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 roles
 
Manual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQLManual Tecnico OGG Oracle to MySQL
Manual Tecnico OGG Oracle to MySQL
 
smartdc by Ruby
smartdc by Rubysmartdc by Ruby
smartdc by Ruby
 

Andere mochten auch

FigaroCoffeeCompany
FigaroCoffeeCompanyFigaroCoffeeCompany
FigaroCoffeeCompanyOLFU-AC
 
Micro market analysis coffee shops
Micro market analysis   coffee shopsMicro market analysis   coffee shops
Micro market analysis coffee shopshenryjamesavecilla
 
Situation analysis of nokia
Situation analysis of nokiaSituation analysis of nokia
Situation analysis of nokianomanalhasan
 
Micro market analysis coffee shop group 3
Micro market analysis coffee shop group 3Micro market analysis coffee shop group 3
Micro market analysis coffee shop group 3Hannah Abellera
 
Micro market analysis for mc cafe & starbucks[1]
Micro market analysis for mc cafe & starbucks[1]Micro market analysis for mc cafe & starbucks[1]
Micro market analysis for mc cafe & starbucks[1]Alvin Bilolo
 
Coffee shop (santosian cafe)
Coffee shop (santosian cafe)Coffee shop (santosian cafe)
Coffee shop (santosian cafe)Abhilash Agrawal
 
Figaro Search: Don't go viral, go useful
Figaro Search: Don't go viral, go usefulFigaro Search: Don't go viral, go useful
Figaro Search: Don't go viral, go usefulBranded3
 
coffee shop market ppt
coffee shop market pptcoffee shop market ppt
coffee shop market pptmarket1234
 
Situational analysis, Business strategy and BCG matrix
Situational analysis, Business strategy and BCG matrixSituational analysis, Business strategy and BCG matrix
Situational analysis, Business strategy and BCG matrixPinnakk Paul
 
Starbucks marketing strategy
Starbucks marketing strategyStarbucks marketing strategy
Starbucks marketing strategySaravanan Murugan
 

Andere mochten auch (15)

Figaro
FigaroFigaro
Figaro
 
Figaro Coffee Company
Figaro Coffee CompanyFigaro Coffee Company
Figaro Coffee Company
 
Figaro and Gloria Jeans
Figaro and Gloria JeansFigaro and Gloria Jeans
Figaro and Gloria Jeans
 
FigaroCoffeeCompany
FigaroCoffeeCompanyFigaroCoffeeCompany
FigaroCoffeeCompany
 
Micro market analysis coffee shops
Micro market analysis   coffee shopsMicro market analysis   coffee shops
Micro market analysis coffee shops
 
Situation analysis of nokia
Situation analysis of nokiaSituation analysis of nokia
Situation analysis of nokia
 
The Coffee Industry: Philippines & Abroad
The Coffee Industry:  Philippines & AbroadThe Coffee Industry:  Philippines & Abroad
The Coffee Industry: Philippines & Abroad
 
Micro market analysis coffee shop group 3
Micro market analysis coffee shop group 3Micro market analysis coffee shop group 3
Micro market analysis coffee shop group 3
 
Micro market analysis for mc cafe & starbucks[1]
Micro market analysis for mc cafe & starbucks[1]Micro market analysis for mc cafe & starbucks[1]
Micro market analysis for mc cafe & starbucks[1]
 
Coffee shop (santosian cafe)
Coffee shop (santosian cafe)Coffee shop (santosian cafe)
Coffee shop (santosian cafe)
 
Figaro Search: Don't go viral, go useful
Figaro Search: Don't go viral, go usefulFigaro Search: Don't go viral, go useful
Figaro Search: Don't go viral, go useful
 
coffee shop market ppt
coffee shop market pptcoffee shop market ppt
coffee shop market ppt
 
Situational analysis, Business strategy and BCG matrix
Situational analysis, Business strategy and BCG matrixSituational analysis, Business strategy and BCG matrix
Situational analysis, Business strategy and BCG matrix
 
Chapter 6-THEORETICAL & CONCEPTUAL FRAMEWORK
Chapter 6-THEORETICAL & CONCEPTUAL FRAMEWORKChapter 6-THEORETICAL & CONCEPTUAL FRAMEWORK
Chapter 6-THEORETICAL & CONCEPTUAL FRAMEWORK
 
Starbucks marketing strategy
Starbucks marketing strategyStarbucks marketing strategy
Starbucks marketing strategy
 

Ähnlich wie Figaro

Docker Logging and analysing with Elastic Stack - Jakub Hajek
Docker Logging and analysing with Elastic Stack - Jakub Hajek Docker Logging and analysing with Elastic Stack - Jakub Hajek
Docker Logging and analysing with Elastic Stack - Jakub Hajek PROIDEA
 
Docker Logging and analysing with Elastic Stack
Docker Logging and analysing with Elastic StackDocker Logging and analysing with Elastic Stack
Docker Logging and analysing with Elastic StackJakub Hajek
 
Elk its big log season
Elk its big log seasonElk its big log season
Elk its big log seasonEric Luellen
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSPC Adriatics
 
CQRS / ES & DDD Demystified
CQRS / ES & DDD DemystifiedCQRS / ES & DDD Demystified
CQRS / ES & DDD DemystifiedVic Metcalfe
 
Being HAPI! Reverse Proxying on Purpose
Being HAPI! Reverse Proxying on PurposeBeing HAPI! Reverse Proxying on Purpose
Being HAPI! Reverse Proxying on PurposeAman Kohli
 
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...Aman Kohli
 
6 tips for improving ruby performance
6 tips for improving ruby performance6 tips for improving ruby performance
6 tips for improving ruby performanceEngine Yard
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)Michael Collier
 
Kerberizing spark. Spark Summit east
Kerberizing spark. Spark Summit eastKerberizing spark. Spark Summit east
Kerberizing spark. Spark Summit eastJorge Lopez-Malla
 
Whatever it takes - Fixing SQLIA and XSS in the process
Whatever it takes - Fixing SQLIA and XSS in the processWhatever it takes - Fixing SQLIA and XSS in the process
Whatever it takes - Fixing SQLIA and XSS in the processguest3379bd
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfAlex446314
 
Presentation of OrientDB v2.2 - Webinar
Presentation of OrientDB v2.2 - WebinarPresentation of OrientDB v2.2 - Webinar
Presentation of OrientDB v2.2 - WebinarOrient Technologies
 
Rsyslog log normalization
Rsyslog log normalizationRsyslog log normalization
Rsyslog log normalizationRainer Gerhards
 
Geek Sync | Performance Tune Like an MVP
Geek Sync | Performance Tune Like an MVPGeek Sync | Performance Tune Like an MVP
Geek Sync | Performance Tune Like an MVPIDERA Software
 
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...BradNeuberg
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...Amazon Web Services
 
Realtime Analytics on AWS
Realtime Analytics on AWSRealtime Analytics on AWS
Realtime Analytics on AWSSungmin Kim
 

Ähnlich wie Figaro (20)

Into The Box 2018 Ortus Keynote
Into The Box 2018 Ortus KeynoteInto The Box 2018 Ortus Keynote
Into The Box 2018 Ortus Keynote
 
Docker Logging and analysing with Elastic Stack - Jakub Hajek
Docker Logging and analysing with Elastic Stack - Jakub Hajek Docker Logging and analysing with Elastic Stack - Jakub Hajek
Docker Logging and analysing with Elastic Stack - Jakub Hajek
 
Docker Logging and analysing with Elastic Stack
Docker Logging and analysing with Elastic StackDocker Logging and analysing with Elastic Stack
Docker Logging and analysing with Elastic Stack
 
Elk its big log season
Elk its big log seasonElk its big log season
Elk its big log season
 
T5 Oli Aro
T5 Oli AroT5 Oli Aro
T5 Oli Aro
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi Vončina
 
CQRS / ES & DDD Demystified
CQRS / ES & DDD DemystifiedCQRS / ES & DDD Demystified
CQRS / ES & DDD Demystified
 
Being HAPI! Reverse Proxying on Purpose
Being HAPI! Reverse Proxying on PurposeBeing HAPI! Reverse Proxying on Purpose
Being HAPI! Reverse Proxying on Purpose
 
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
 
6 tips for improving ruby performance
6 tips for improving ruby performance6 tips for improving ruby performance
6 tips for improving ruby performance
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
 
Kerberizing spark. Spark Summit east
Kerberizing spark. Spark Summit eastKerberizing spark. Spark Summit east
Kerberizing spark. Spark Summit east
 
Whatever it takes - Fixing SQLIA and XSS in the process
Whatever it takes - Fixing SQLIA and XSS in the processWhatever it takes - Fixing SQLIA and XSS in the process
Whatever it takes - Fixing SQLIA and XSS in the process
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdf
 
Presentation of OrientDB v2.2 - Webinar
Presentation of OrientDB v2.2 - WebinarPresentation of OrientDB v2.2 - Webinar
Presentation of OrientDB v2.2 - Webinar
 
Rsyslog log normalization
Rsyslog log normalizationRsyslog log normalization
Rsyslog log normalization
 
Geek Sync | Performance Tune Like an MVP
Geek Sync | Performance Tune Like an MVPGeek Sync | Performance Tune Like an MVP
Geek Sync | Performance Tune Like an MVP
 
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
Realtime Analytics on AWS
Realtime Analytics on AWSRealtime Analytics on AWS
Realtime Analytics on AWS
 

Kürzlich hochgeladen

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Kürzlich hochgeladen (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

Figaro

  • 1. The XML Database for the .NET Framework
  • 2. Endpoint Systems • Products – ShoBiz Biztalk Documentation Tool (CodePlex) – ShareScan LOB Connector (eCopy Document Management) – Figaro • Services – Consulting (BizTalk, K2, .NET) – BizTalk/K2 Hosting (on-site, cloud) • BizTalk 2009 – BizTalk/K2 Support
  • 3. What is Figaro? • XML Database – Application database – Client or server – < 7 MB (~6.34 MB) – Holds up to 256 TB data • Oracle Embedded Product – Oracle Berkeley DB XML – Licensed product
  • 5. Product Editions • Data Store (DS) – Single reader, single writer – High performance • Concurrent Data Store (CDS) – Multiple readers, single writer • Transactional Data Store (TDS) – Multiple readers and writers – ACID transaction support • High Availability – Replication layer – Coming soon to Figaro (late 2009)
  • 7. Designing the Provider • Single-app solution – Data Store access (single reader/writer) – Build up, then out • CDS, TDS • Object serialization • One container per provider – CDS, TDS scenarios can help create SSO/centralized credential store
  • 8. Membership Provider Key Objects • FigaroMembershipProvider • FigaroMembershipUser – [Serializable] – Intermediary to MembershipUser • FigaroMembershipData – DAL
  • 9. Figaro Key Objects • FigaroEnv – Environment manager – Not used in this example • XmlManager – Manage containers, object creation • Container – The database – Node storage or ‘wholedoc’ storage – Every entry has a ‘file name’ – either auto-generated or assigned • QueryContext – Assign variable values – Set XML namespaces • Figaro.BerkeleyDb.Xml.XmlDocument – Not to be confused with System.Xml.XmlDocument • (but you can explicitly convert to it) – File name, Metadata
  • 10. FigaroMembershipUser <?xml version=quot;1.0quot; encoding=quot;utf-8quot;?> <FigaroMembershipUser xmlns:xsi=quot;http://www.w3.org/2001/XMLSchema-instancequot; xmlns:xsd=quot;http://www.w3.org/2001/XMLSchemaquot; xmlns=quot;http://schemas.bdbxml.net/membership/user/2009/quot;> <Email>bojangles@test.com</Email> <Comment>comment test</Comment> <IsApproved>true</IsApproved> <LastLoginDate>2009-04-30T02:13:02.3791226-04:00</LastLoginDate> <LastActivityDate>2009-04-30T02:13:02.3791226-04:00</LastActivityDate> <CreationDate>2009-04-30T02:13:02.3791226-04:00</CreationDate> <IsLockedOut>false</IsLockedOut> <LastLockoutDate>2009-04-30T02:13:02.3791226-04:00</LastLockoutDate> <LastPasswordChangedDate>2009-04-30T02:13:02.3791226-04:00</LastPasswordChangedDate> <PasswordFormat>Clear</PasswordFormat> <PasswordQuestion>Favorite Food</PasswordQuestion> <ProviderName>FigaroMembershipProvider</ProviderName> <ProviderUserKey xmlns:q1=quot;http://microsoft.com/wsdl/types/quot; xsi:type=quot;q1:guidquot;>794a07ab-fe38- 48aa-869f-994fbab00a38</ProviderUserKey> <UserName>mrbojangles</UserName> </FigaroMembershipUser> Object Serialization
  • 11. Adding Users public MembershipCreateStatus CreateUser(FigaroMembershipUser user) { var status = MembershipCreateStatus.Success; StartTimer(); try { var ms = new MemoryStream(); serializer.Serialize(ms, user); ms.Seek(0, SeekOrigin.Begin); var reader = XmlReader.Create(ms); var doc = mgr.CreateDocument(reader); doc.Name = user.UserName; container.PutDocument(doc,mgr.CreateUpdateContext(),PutDocumentOptions.None); } catch (Exception ex) { status = MembershipCreateStatus.ProviderError; var e = ExceptionHandler.HandleException(ex, source); if (null != e) throw e; } finally { //you must sync or your data will disappear when you close the container! container.Sync(); StopTimer(quot;CreateUser quot; + user.UserName); } return status; }
  • 12. Getting User Info • GetUserPassword – for $x in collection('membership') where $x/FigaroMembershipUser/UserName = $user return xs:string($x/FigaroMembershipUser/Password) • GetNumberOfOnlineUsers – for $x in collection('membership') where xs:dateTime($x/FigaroMembershipUser/LastActivityDate) >= $y return $x
  • 13. How does it perform? • • MembershipData.CreateUser MembershipData.Query testuser995 completed in completed in 0.0079436 0.0581908 seconds. seconds. • MembershipData.CreateUser • MembershipData.GetUser testuser996 completed in 0.0749375 seconds. completed in 0.0030428 • MembershipData.CreateUser seconds. testuser997 completed in • MembershipData.Update 0.0581884 seconds. completed in 0.0500253 • MembershipData.CreateUser seconds. testuser998 completed in 0.0750547 seconds. • MembershipData.UpdateUser • MembershipData.CreateUser completed in 0.0008002 testuser999 completed in seconds. 0.0580407 seconds. • • ChangePasswordQuestionAndAns MembershipData.CreateUser testuser1000 completed in wer completed in 0.1160279 0.0582832 seconds. seconds.
  • 14. MembershipProvider Design: Going Forward • Concurrency – CDS/TDS – COM+ layer? • Indexing – The more users added, performance will slow – “2 Gb Rule” • Data Partitioning – Keep roles, profile properties separate, or add to membership container?
  • 15. Planning for Concurrency • Consider the Framework • Consider the OS Features – COM+ – MSDTC • Consider the Figaro API – Concurrent Data Store (CDS) switches – Transactions
  • 16. Benefits • FLEXIBILITY – Put whatever you want into your containers – Change management just got a whole lot easier • Scalability – Concurrency – Gigabytes, Terabytes – Replication/HA* • Security – File – Application layer – AES Encryption support • Performance – Sub-millisecond operations – ACID transaction support – In-memory databases, log files (TDS) • ROI – Get more out of your XML – Reduced need for resources (no database server!) * Coming late 2009
  • 17. Where do you want to go today? • Client • Server – Office – ASP.NET • Custom OpenXML Packages – CMS (e.g. Oxite) – Visual Studio – CodePlex Projects • Developer tools – WCF, REST, Services SDKs – WPF? – Cloud/Saas/Software + – Search/Indexing Services – ISV products – Server Products, Platforms • Mobile/Embedded • MOSS, BizTalk • Search Server • Exchange? – ISV Products
  • 18. What the Future Holds • 64 bits • Configuration Framework – Environment setup/configuration • Replication/High Availability – WCF stack? • Diversified output – Event Window Tracing – Custom Listeners • Further Framework Integration – 3.0, 3.5, 4.0 – IQueryable, LINQ • Performance Counters • Powershell
  • 19. Licensing Options • Client, Server • DS, CDS, TDS[, HA] • ISV • Enterprise • Partner Programs Available
  • 20. Come and Get It! • Figaro Product Portal – http://bdbxml.net • Product Documentation – http://help.bdbxml.net • Endpoint Systems – http://endpointsystems.com