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

QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
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
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 

Kürzlich hochgeladen (20)

QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
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
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 

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