SlideShare a Scribd company logo
1 of 41
Download to read offline
The Market Risk system

                                      An Overview
                   David Harper
           Head of Market Risk IT

              Dominique Delarue
Market Risk IT Functional Architect



                                                               14 March 2008
What’s the story?
                                                                    Partition
   Number of positions a day (thousands)
                                                                             120,000




                                           Streamline
                                                            56,319

                                                38,204
                  Expansion




                                       14,004
                               9,621
                       5,948
               151
        12

      2001    2002    2003     2004    2005      2006       2007              2008

                                                        The Market Risk system at BNP Paribas   14 March 2008   2
Agenda

 Who are BNP Paribas?



 What is Market Risk?



 What are the architectural concerns of Market Risk at BNPP?



 In-depth look at the data loading architecture




                                                     The Market Risk system at BNP Paribas   14 March 2008   3
BNP Paribas: Who are we?

 One of the largest international
 banking networks with strong
 positions in Asia and a significant
 presence in the United States.
 Three core businesses
   Corporate and Investment Banking
   Retail Banking
   Asset Management and Services
 Nº6 in the banking industry and nº1
 French company (‘Global 2000
 Forbes’ 2007)
 AA+ credit rating: One of only four
 banks worldwide with this rating or
 above (‘The Banker’ magazine,
 February 2008)



                                       The Market Risk system at BNP Paribas   14 March 2008   4
We’re a global company
                                        BNP Paribas operates in over 85
                                        countries, and has 162,700
                                        employees including 126,600 in
                                        Europe - of whom 19,900 are in Italy
                                        and 64,100 in France and in the
                                        Overseas Departments; 15,000 in
                                        North America and 8,800 in Asia.

 Internationalised IT development
  3 major centres in Western Europe
  (Paris, London and Rome)
  4 global development centres in
  emerging markets (800 staff at the end
  of 2007)
  Significant development also takes
  place in New York, Singapore, Tokyo
  and Hong Kong

 Market Risk IT has over 30 staff in                  The Market Risk system at BNP Paribas   14 March 2008   5
 London, Paris, Mumbai and Hong Kong
Corporate and Investment Banking (CIB)

Award winning Corporate and Investment Banking

 Fixed Income
 Equities and Derivatives
 Corporate Finance
 Energy Commodities
 Export Project
 Structured Finance
 Cash Management
 Loan and Portfolio
 Management




                                                 The Market Risk system at BNP Paribas   14 March 2008   6
Agenda reminder

 Who are BNP Paribas?



 What is Market Risk?



 What are the architectural concerns of Market Risk at BNPP?



 In-depth look at the data loading architecture




                                                     The Market Risk system at BNP Paribas   14 March 2008   7
What is Market Risk?
 The risk of losing money because of fluctuations in financial markets
  Interest rates go up, or down
  Share prices change
  And so on …

 Why is it important?
  It’s a regulatory requirement that determines the amount of capital a bank
  must put aside on its balance sheet to cover potential loses (Regulatory
  Capital)
  It gives a view of short-term potential loses due to fluctuations in the market
  and allows us to hedge against those loses

 How do we measure it?
  Value at Risk (VaR)
    The worst loss expected for a given portfolio due to ‘normal’ market
    movements over a given time horizon within a given confidence interval.

                                                         The Market Risk system at BNP Paribas   14 March 2008   8
Value at Risk as measured at BNP Paribas
VaR measurements at BNP Paribas use a confidence level of 99% over 1 day.
So VaR at BNP Paribas is:
 The worst loss expected for a given portfolio due to normal market movements
 over 1 day with a 99% confidence level.
Or equivalently
 For normal market conditions, the minimal amount we can expect to lose on the
 next trading day no more than 1% of the time.

VaR is calculated and reported by a single global system called MRX (Market
Risk eXplorer)
 We start at the level of calculating VaR for individual deals and positions, and
 aggregate up to the VaR for the whole of BNP Paribas
 Both deal-level and aggregated views of VaR are useful
 We calculate VaR across:
   all financial products
   all BNP Paribas trading activities globally


                                                         The Market Risk system at BNP Paribas   14 March 2008   9
BNP Paribas aggregated Value at Risk (99%, 1 day)

BNP Paribas 2007 Published Results
http://invest.bnpparibas.com/en/results/documents/4Q07-Master-GB-Final.pdf




                                                    The Market Risk system at BNP Paribas   14 March 2008 10
Agenda reminder

 Who are BNP Paribas?



 What is Market Risk?



 What are the architectural concerns of Market Risk at BNPP?



 In-depth look at the data loading architecture




                                                  The Market Risk system at BNP Paribas   14 March 2008 11
MRX – The BNP Paribas Market Risk system

A single global system including:
 a data warehouse of positions, sensitivities, securities and OTC deals
 a VaR calculation engine
 a data analysis and drill-down tool




                                                        The Market Risk system at BNP Paribas   14 March 2008 12
MRX Key Facts

Data
 15,000 files received per day
 80 GB input data processed per day
 100 million rows loaded into the fact table per day
 Fact table contains about 4 billion rows
 Dimension tables contain up to 10 million rows each

Calculations
 75,000 VaR calculations per day
 10 GB of VaR statistics generated each day

Views and reports
 400,000 queries, views or reports per day
 20,000 ad-hoc queries, views or reports per day

                                                       The Market Risk system at BNP Paribas   14 March 2008 13
MRX Infrastructure




                     The Market Risk system at BNP Paribas   14 March 2008 14
MRX must be extensible by users
Calculate the risk for tomorrow based on the markets yesterday

Rapid changes happen in financial markets
 New data feeds and reports must be commissioned quickly

The MRX system must be very flexible and extensible, whilst still keeping its
industrialised reliability

Large amounts of in-house configuration features in the ETL (extract, transform,
load) pipeline allow turn-around of new feeds and transformations within one day
 Data volumes increase continually – metrics and capacity planning are very
 important

Scripting language for screens (Jython-based) allow super-users to create or
change screens within one day
 The problem of badly written queries must be managed (essentially ad-hoc
 queries from the DBA’s perspective)


                                                       The Market Risk system at BNP Paribas   14 March 2008 15
MRX must be reliable
The complete VaR for BNP Paribas must be calculated every week day all year
long
 Each week day the whole world is loaded afresh and recalculated
 Operation and support activities run 5 days a week (including all holidays) all
 year; maintenance mostly at weekends

Users around the world
 Tokyo start at 1am GMT
 New York finish at 10pm GMT
 Occasional weekend use

Data loading and user querying run in parallel for over 12 hours each day
 As soon as a file is loaded its data is available for querying and it will be queried

Large-scale industrialisation of system and data feeds – MRX must work reliably
and automatically; there’s not enough time to re-do a complete day
 Sophisticated data quality tools and expert business team to handle data issues
                                                          The Market Risk system at BNP Paribas   14 March 2008 16
Architectural Categorisation
In Market Risk we analyse our system using the following categorisation of
architectural concerns

 Availability – service/resource is accessible, business continuity

 Performance – latency (response time) and throughput (batch processing)

 Scalability – support the service as the load increases

 Reliability – the integrity and consistency of the application

 Manageability – ensure the continued health of the system

 Maintainability – add or modify code with impacting existing functions

 Usability – easily and safely use the system

 Security – protect functions and data from theft, disclosure, damage, audit

 Extensibility – user modification


                                                           The Market Risk system at BNP Paribas   14 March 2008 17
MRX Information Architecture Principles

 Data distributed across two data stores
  Availability and consistency must be considered

 BASE is important (Basically Available, Soft-state, Eventually consistent)
  Availability and scalability are higher priorities;
  State is softish – can rebuild 1-2 lost hours on restart by rerunning data loading
  jobs
  There is weak consistency between data in separate data stores; data is
  eventually consistent (via automatic and explicit synchronisation mechanisms).

 ACID isn’t important (Atomicity, Consistency, Isolation and Durability)
  Very little transaction processing (some reference data updates, task handling,
  configuration updates)
  2-phase commit not used



                                                        The Market Risk system at BNP Paribas   14 March 2008 18
MRX and the CAP Theorem

 Originally posited by Eric Brewer
  For example, refer to excellent Werner Vogels talk at QCon, London 2007
  http://www.infoq.com/presentations/availability-consistency
  http://www.webperformancematters.com/journal/2007/8/21/asynchronous-architectures-4.html

 CAP Theorem – pick two of three for distributed data
  Consistency
  Availability
  tolerance to network Partitions

 MRX values Availability and Partition tolerance over Consistency
  Strong consistency not important; eventual consistency sufficient, where
  eventual is less than a day
  It’s better to have old data available than no data (as long as we know it’s old
  data)
  Partition-tolerance is important for business continuity reasons

                                                                The Market Risk system at BNP Paribas   14 March 2008 19
How to make Architectural Concerns real

 How do we get to allocate budget and resources to our architectural concerns?
 Warning: this depends on your budget process

 Present a horror story
 The system will collapse, the bank won’t trade and everyone will lose their
 bonus’ if we don’t make this non-functional change right now!

 Never a good idea, shows you haven’t been doing your capacity planning

 Hide in a business deliverable
 We’ll deliver the risk on our new Orange Juice futures product (and nobody
 knows, but we’ll spend 50% of the effort on fixing that big operational problem)

 It makes estimating, planning, metric gathering and process improvement
 initiatives (CMMI, 6-Sigma) difficult in the long term

 Make the benefits explicit
 These are our architectural concerns; if we make this non-functional change,
 you’ll see these improvements to the architecture

 MRX does this with the help of an Architecture Heatmap

                                                        The Market Risk system at BNP Paribas   14 March 2008 20
The Architecture Heatmap
 Architectural concerns x-axis

 System components y-axis

 Colour coded severity
  Red must be addressed
  soon
  Yellow is a known issue
  Green has no know
  problems

 Reviewed after every release

 A before and after version
 help gain buy-in




                                 The Market Risk system at BNP Paribas   14 March 2008 21
Agenda reminder

 Who are BNP Paribas?



 What is Market Risk?



 What are the architectural concerns of Market Risk at BNPP?



 In-depth look at the data loading architecture
  MRX & Data
  The legacy
  Re-Architecture
  Tomorrow…

                                                     The Market Risk system at BNP Paribas   14 March 2008 22
Data Loading in MRX

MRX is a transversal system.

 Data Complexity
   Consolidate Risks from more than 40 systems
   Many different formats
   Diversity of data

 Data Volume
   15,000 files received per day
   80 GB input data processed per day

 Derived Data
   Stress, limits, VaR…
   Complex flow of data and events


                                                 The Market Risk system at BNP Paribas   14 March 2008 23
Exploding data volumes
                                                                    Partition
   Number of positions a day (thousands)
                                                                             120,000




                                           Streamline
                                                            56,319

                                                38,204
                  Expansion




                                       14,004
                               9,621
                       5,948
               151
        12

      2001    2002    2003     2004    2005      2006       2007              2008

                                                        The Market Risk system at BNP Paribas   14 March 2008 24
Batch Processing

 What is a batch
  Job
  Dependency
  Scheduling


 Architectural concerns
  Granularity of the batch
  Resource Availability
  Critical path
  Data is only available at the end of the batch




                                                   The Market Risk system at BNP Paribas   14 March 2008 25
Event Driven Processing

A continual batch is the key to MRX success

 Explosion of feeds in the last 3 years

 Flow of data and events

 Dynamic dependencies (Data driven)

 Why it matters, key factors
   Continuous feed of data
   Get data at an early stage
   Spread the load during the day
   Finer grained system
   More resilient to upstream feed issues




                                              The Market Risk system at BNP Paribas   14 March 2008 26
Continual Batch – 11pm GMT




                             The Market Risk system at BNP Paribas   14 March 2008 27
Continual Batch – 4am GMT




                            The Market Risk system at BNP Paribas   14 March 2008 28
Continual Batch – 3pm GMT




                            The Market Risk system at BNP Paribas   14 March 2008 29
Data Loading – The Legacy

 Loader transforms, maps and loads data
  Configurability, Usability, Availability…what else?


                                Loader
                                 …                              ASE
        Data
                                Loader
 Architecture concerns
  Mostly C++ and C (highly skilled developers)
  Data centric
  In-house libraries (addressing infrastructure issues)
  Monolithic approach – (years of) over engineered software
  Perform poorly (do-it all approach), un-scalable (DB contention)…
                                                          The Market Risk system at BNP Paribas   14 March 2008 30
Paradigm Shift

 Process
  Streamline processing – break the complexity
  Staged the loading process
  Offload the Database

 Event Flow
  Message event driven processing

 Data
  Move data close to processing
  Hand on data from one processing stage to the next without going via the
  database
  Data caching



                                                     The Market Risk system at BNP Paribas   14 March 2008 31
Data Architecture

 Sybase ASE, Transactional Database
  Feed configuration,
  Reference data,
  System status…


 Sybase IQ, Database Warehouse
  Static Data,
  Market Data,
  Risk Data,
  Stress, VaR…




                                      The Market Risk system at BNP Paribas   14 March 2008 32
Data Architecture - Sybase IQ

 What is Sybase IQ?
  Storage Saving/Compression – less I/O, less disk, more CPU, more memory
  Performance - store data per column – one writer
  Table Versioning
  Reduced Maintenance Costs
  Scalability – Multiplex IQ, workload is shared between multiple servers



 How MRX uses it
  Channel data through files whenever possible
  Very fast batch load – ideal for large volume of data
  De-normalised data model
  Use Indices
  Event Driven Processing – continuously update the Database
                                                          The Market Risk system at BNP Paribas   14 March 2008 33
Data Loading – New Architecture

   Staged Data Loading
       SEDA architecture


                                                   Batch
Data           Extractor   Transformer    Mapper                                           IQ
                                                   Loader
                                                                                            IQ

   Technology
       Java + Open Source projects,
       Spring (Components),
       Mule (Integration and assembly),
       ActiveMQ (Messaging)




                                                   The Market Risk system at BNP Paribas    14 March 2008 34
Component Assembly

 POJO, Spring and Mule


                                                     Mule
                                                  Spring

                                  POJO
                         Spring

              POJO




                                  The Market Risk system at BNP Paribas   14 March 2008 35
Component & Message

 Message Pattern
  Input, Output, Status

 Status Event
  FAIL, WARN, REJECT, COMPLETE
  Event Segregation and Routing



                                   Spring
      Input                                 Output
                            POJO


                                  Status Event

                                                 The Market Risk system at BNP Paribas   14 March 2008 36
Data Loading – Partitioning

 Partitioning – Database
   Partitioning per day
   Every day is a new day
   Fast loading, Fast retrieving


                Extractor     Transformer
London
                                                          Batch
                                             Mapper                                           IQ
                                                                                               IQ
                                                          Loader

                Extractor      Transformer
 Paris



 Partitioning - Process
   Processing data where it is produced,
   Minimize data movement,
   Reduce latency
                                                      The Market Risk system at BNP Paribas   14 March 2008 37
Exploding data volumes
                                                     Distributed DBWH
    Number of positions (billion)
                                                                             160




                                                                80




                     DB                   DBWH       30

                                                 5
                                            3
                                    1.5
              0.1    0.2   0.5
             2003 2004 2005 2006 2007 2008 2009 2010 2011


                                                          The Market Risk system at BNP Paribas   14 March 2008 38
Very Large Database

 A Market Risk Data Warehouse
  5 years of positions,
  Volume increase (consolidation, deal level, organic growth…),
  Database will grow from 0.6TB to 25TB,
  Number of positions will grow from 4 billion to 300 billion

 Database Architecture
  Database Storage,
  File System, Backup system,
  Network, Fibre Channel,
  IQ Multiplex




                                                         The Market Risk system at BNP Paribas   14 March 2008 39
Summary

To recap…

 Architecture
  Java & Open Source
  Event driven architecture – Pipelined components
  Re-usable POJO components
  Multiple deployable artefacts

 Message Driven Data Loading
  continuously move data from data sources into Sybase IQ
  Fast, scalable continuous data loads
  Dynamic throttling feature
  Best for large data volumes
  no table locking - Sybase IQ versioning
  users run queries even while Data Warehouse is updating
                                                     The Market Risk system at BNP Paribas   14 March 2008 40
Questions

Thank you!



David Harper, Head of Market Risk IT

david.harper@uk.bnpparibas.com



Dominique Delarue, MRX Team Lead and Functional Architect

dominique.k.delarue@uk.bnpparibas.com




                                                   The Market Risk system at BNP Paribas   14 March 2008 41

More Related Content

Viewers also liked

LNG Markets, Pricing, Trading & Risk Management
LNG Markets, Pricing, Trading & Risk Management LNG Markets, Pricing, Trading & Risk Management
LNG Markets, Pricing, Trading & Risk Management petroEDGE
 
Boston DDD: Risk Management Trends in the 2nd Act of Market Recovery
Boston DDD: Risk Management Trends in the 2nd Act of Market RecoveryBoston DDD: Risk Management Trends in the 2nd Act of Market Recovery
Boston DDD: Risk Management Trends in the 2nd Act of Market RecoveryEDR
 
Data Management for Market Risk - PRMIA webinar presentation
Data Management for Market Risk - PRMIA webinar presentationData Management for Market Risk - PRMIA webinar presentation
Data Management for Market Risk - PRMIA webinar presentationBrian Sentance
 
ETRM Reporting and Market Risk
ETRM Reporting and Market RiskETRM Reporting and Market Risk
ETRM Reporting and Market RiskWongyu Choe
 
Trm market risk-alm.ppt by oliver germany
Trm   market risk-alm.ppt by oliver germanyTrm   market risk-alm.ppt by oliver germany
Trm market risk-alm.ppt by oliver germanyEmmanuel Okereke
 
Challenges in Market Risk Management
Challenges in Market Risk ManagementChallenges in Market Risk Management
Challenges in Market Risk ManagementCRISIL Limited
 
Chapter 13 basel iv market risk framework
Chapter 13   basel iv market risk frameworkChapter 13   basel iv market risk framework
Chapter 13 basel iv market risk frameworkQuan Risk
 
Three Ways to Minimize Market Risk
Three Ways to Minimize Market RiskThree Ways to Minimize Market Risk
Three Ways to Minimize Market RiskEndeavor Management
 
Measuring and Managing Market Risk
Measuring and Managing Market RiskMeasuring and Managing Market Risk
Measuring and Managing Market RiskDanial822
 

Viewers also liked (13)

LNG Markets, Pricing, Trading & Risk Management
LNG Markets, Pricing, Trading & Risk Management LNG Markets, Pricing, Trading & Risk Management
LNG Markets, Pricing, Trading & Risk Management
 
International market risk mngt
International market risk mngtInternational market risk mngt
International market risk mngt
 
Boston DDD: Risk Management Trends in the 2nd Act of Market Recovery
Boston DDD: Risk Management Trends in the 2nd Act of Market RecoveryBoston DDD: Risk Management Trends in the 2nd Act of Market Recovery
Boston DDD: Risk Management Trends in the 2nd Act of Market Recovery
 
Data Management for Market Risk - PRMIA webinar presentation
Data Management for Market Risk - PRMIA webinar presentationData Management for Market Risk - PRMIA webinar presentation
Data Management for Market Risk - PRMIA webinar presentation
 
ETRM Reporting and Market Risk
ETRM Reporting and Market RiskETRM Reporting and Market Risk
ETRM Reporting and Market Risk
 
Trm market risk-alm.ppt by oliver germany
Trm   market risk-alm.ppt by oliver germanyTrm   market risk-alm.ppt by oliver germany
Trm market risk-alm.ppt by oliver germany
 
Market Risk Modelling
Market Risk ModellingMarket Risk Modelling
Market Risk Modelling
 
Challenges in Market Risk Management
Challenges in Market Risk ManagementChallenges in Market Risk Management
Challenges in Market Risk Management
 
Chapter 13 basel iv market risk framework
Chapter 13   basel iv market risk frameworkChapter 13   basel iv market risk framework
Chapter 13 basel iv market risk framework
 
Three Ways to Minimize Market Risk
Three Ways to Minimize Market RiskThree Ways to Minimize Market Risk
Three Ways to Minimize Market Risk
 
Measuring and Managing Market Risk
Measuring and Managing Market RiskMeasuring and Managing Market Risk
Measuring and Managing Market Risk
 
Market Risk
Market RiskMarket Risk
Market Risk
 
Market risk
Market riskMarket risk
Market risk
 

Similar to Market Risk System Bnp Paribas

Parallel Trading Systems business proposition
Parallel Trading Systems business propositionParallel Trading Systems business proposition
Parallel Trading Systems business propositionDavide Zari
 
Press and analyst presentation
Press and analyst presentationPress and analyst presentation
Press and analyst presentationFRSGlobal
 
Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...
Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...
Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...confluent
 
Case Study: Increasing Produban's Critical Systems Availability and Performance
Case Study: Increasing Produban's Critical Systems Availability and PerformanceCase Study: Increasing Produban's Critical Systems Availability and Performance
Case Study: Increasing Produban's Critical Systems Availability and PerformanceCA Technologies
 
Narrowband io t market ppt
Narrowband io t market  pptNarrowband io t market  ppt
Narrowband io t market pptDheerajPawar4
 
Narrowband io t market ppt
Narrowband io t market  pptNarrowband io t market  ppt
Narrowband io t market pptDheerajPawar4
 
Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...
Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...
Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...IMARC Group
 
Fostering An Open Alliance Among Competitors The Itanium Solutions Alliance
Fostering An Open Alliance Among Competitors   The Itanium Solutions AllianceFostering An Open Alliance Among Competitors   The Itanium Solutions Alliance
Fostering An Open Alliance Among Competitors The Itanium Solutions AllianceAndrew Masland
 
DockerCon 2017 - General Session Day 2 - Ben Golub
DockerCon 2017 - General Session Day 2 - Ben GolubDockerCon 2017 - General Session Day 2 - Ben Golub
DockerCon 2017 - General Session Day 2 - Ben GolubDocker, Inc.
 
Société Générale: Monitoring as a service with the Elastic Stack
Société Générale: Monitoring as a service with the Elastic StackSociété Générale: Monitoring as a service with the Elastic Stack
Société Générale: Monitoring as a service with the Elastic StackElasticsearch
 
Business plan presentationfinal
Business plan presentationfinalBusiness plan presentationfinal
Business plan presentationfinalrohit131131
 
Storage software market ppt
Storage software market  pptStorage software market  ppt
Storage software market pptDheerajPawar4
 
Case study commodity value chain banking luxoft for one of the largest global...
Case study commodity value chain banking luxoft for one of the largest global...Case study commodity value chain banking luxoft for one of the largest global...
Case study commodity value chain banking luxoft for one of the largest global...Luxoft
 
Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...
Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...
Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...camunda services GmbH
 
Network access control market worth 2,645.5 million usd by 2020
Network access control market worth 2,645.5 million usd by 2020Network access control market worth 2,645.5 million usd by 2020
Network access control market worth 2,645.5 million usd by 2020DheerajPawar4
 
The programmable RegTech Eco System by Liv Apneseth Watson
The programmable RegTech Eco System by Liv Apneseth WatsonThe programmable RegTech Eco System by Liv Apneseth Watson
The programmable RegTech Eco System by Liv Apneseth WatsonWorkiva
 
Erp & e commerce
Erp & e commerceErp & e commerce
Erp & e commerceAli Mcc
 

Similar to Market Risk System Bnp Paribas (20)

Parallel Trading Systems business proposition
Parallel Trading Systems business propositionParallel Trading Systems business proposition
Parallel Trading Systems business proposition
 
Press and analyst presentation
Press and analyst presentationPress and analyst presentation
Press and analyst presentation
 
Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...
Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...
Un Systeme d'Information Fait Pour Durer (Thierry Fraudet, Michelin) Paris 20...
 
Case Study: Increasing Produban's Critical Systems Availability and Performance
Case Study: Increasing Produban's Critical Systems Availability and PerformanceCase Study: Increasing Produban's Critical Systems Availability and Performance
Case Study: Increasing Produban's Critical Systems Availability and Performance
 
Narrowband io t market ppt
Narrowband io t market  pptNarrowband io t market  ppt
Narrowband io t market ppt
 
Narrowband io t market ppt
Narrowband io t market  pptNarrowband io t market  ppt
Narrowband io t market ppt
 
Global Data Center Rack PDU Market 2017 - 2021
Global Data Center Rack PDU Market 2017 - 2021Global Data Center Rack PDU Market 2017 - 2021
Global Data Center Rack PDU Market 2017 - 2021
 
Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...
Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...
Europe Artificial Intelligence Market PPT: Growth, Outlook, Demand, Keyplayer...
 
Fostering An Open Alliance Among Competitors The Itanium Solutions Alliance
Fostering An Open Alliance Among Competitors   The Itanium Solutions AllianceFostering An Open Alliance Among Competitors   The Itanium Solutions Alliance
Fostering An Open Alliance Among Competitors The Itanium Solutions Alliance
 
DockerCon 2017 - General Session Day 2 - Ben Golub
DockerCon 2017 - General Session Day 2 - Ben GolubDockerCon 2017 - General Session Day 2 - Ben Golub
DockerCon 2017 - General Session Day 2 - Ben Golub
 
EY-Performance-Products
EY-Performance-ProductsEY-Performance-Products
EY-Performance-Products
 
Société Générale: Monitoring as a service with the Elastic Stack
Société Générale: Monitoring as a service with the Elastic StackSociété Générale: Monitoring as a service with the Elastic Stack
Société Générale: Monitoring as a service with the Elastic Stack
 
Business plan presentationfinal
Business plan presentationfinalBusiness plan presentationfinal
Business plan presentationfinal
 
Storage software market ppt
Storage software market  pptStorage software market  ppt
Storage software market ppt
 
Case study commodity value chain banking luxoft for one of the largest global...
Case study commodity value chain banking luxoft for one of the largest global...Case study commodity value chain banking luxoft for one of the largest global...
Case study commodity value chain banking luxoft for one of the largest global...
 
Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...
Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...
Uwe Koch from Talanx - Talanx - our journey to the digital world of insurance...
 
Network access control market worth 2,645.5 million usd by 2020
Network access control market worth 2,645.5 million usd by 2020Network access control market worth 2,645.5 million usd by 2020
Network access control market worth 2,645.5 million usd by 2020
 
The programmable RegTech Eco System by Liv Apneseth Watson
The programmable RegTech Eco System by Liv Apneseth WatsonThe programmable RegTech Eco System by Liv Apneseth Watson
The programmable RegTech Eco System by Liv Apneseth Watson
 
Erp & e commerce
Erp & e commerceErp & e commerce
Erp & e commerce
 
Erp and e commerce
Erp and e commerceErp and e commerce
Erp and e commerce
 

More from QConLondon2008

J Ruby Power On The Jvm
J Ruby Power On The JvmJ Ruby Power On The Jvm
J Ruby Power On The JvmQConLondon2008
 
Evolving The Java Language
Evolving The Java LanguageEvolving The Java Language
Evolving The Java LanguageQConLondon2008
 
Google G Data Reading And Writing Data On The Web
Google G Data Reading And Writing Data On The WebGoogle G Data Reading And Writing Data On The Web
Google G Data Reading And Writing Data On The WebQConLondon2008
 
14147503 Intentions Interfaces Making Patterns Concrete
14147503 Intentions Interfaces Making Patterns Concrete14147503 Intentions Interfaces Making Patterns Concrete
14147503 Intentions Interfaces Making Patterns ConcreteQConLondon2008
 
The Dom Scripting Toolkit J Query
The Dom Scripting Toolkit J QueryThe Dom Scripting Toolkit J Query
The Dom Scripting Toolkit J QueryQConLondon2008
 
Google G Data Reading And Writing Data On The Web 1
Google G Data Reading And Writing Data On The Web 1Google G Data Reading And Writing Data On The Web 1
Google G Data Reading And Writing Data On The Web 1QConLondon2008
 
Application Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomApplication Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomQConLondon2008
 
Rest Reuse And Serendipity
Rest Reuse And SerendipityRest Reuse And Serendipity
Rest Reuse And SerendipityQConLondon2008
 

More from QConLondon2008 (11)

J Ruby Power On The Jvm
J Ruby Power On The JvmJ Ruby Power On The Jvm
J Ruby Power On The Jvm
 
Agile Mashups
Agile MashupsAgile Mashups
Agile Mashups
 
A Tale Of Two Systems
A Tale Of Two SystemsA Tale Of Two Systems
A Tale Of Two Systems
 
Evolving The Java Language
Evolving The Java LanguageEvolving The Java Language
Evolving The Java Language
 
Google G Data Reading And Writing Data On The Web
Google G Data Reading And Writing Data On The WebGoogle G Data Reading And Writing Data On The Web
Google G Data Reading And Writing Data On The Web
 
14147503 Intentions Interfaces Making Patterns Concrete
14147503 Intentions Interfaces Making Patterns Concrete14147503 Intentions Interfaces Making Patterns Concrete
14147503 Intentions Interfaces Making Patterns Concrete
 
The Dom Scripting Toolkit J Query
The Dom Scripting Toolkit J QueryThe Dom Scripting Toolkit J Query
The Dom Scripting Toolkit J Query
 
Google G Data Reading And Writing Data On The Web 1
Google G Data Reading And Writing Data On The Web 1Google G Data Reading And Writing Data On The Web 1
Google G Data Reading And Writing Data On The Web 1
 
Application Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomApplication Services On The Web Sales Forcecom
Application Services On The Web Sales Forcecom
 
Managers In Scrum
Managers In ScrumManagers In Scrum
Managers In Scrum
 
Rest Reuse And Serendipity
Rest Reuse And SerendipityRest Reuse And Serendipity
Rest Reuse And Serendipity
 

Recently uploaded

(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办fqiuho152
 
Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713Sonam Pathan
 
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一S SDS
 
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...Amil baba
 
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...Amil Baba Dawood bangali
 
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一S SDS
 
Bladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results PresentationBladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results PresentationBladex
 
Stock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdfStock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdfMichael Silva
 
NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...
NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...
NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...Amil baba
 
2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGeckoCoinGecko
 
Classical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithClassical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithAdamYassin2
 
Current Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptxCurrent Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptxuzma244191
 
The AES Investment Code - the go-to counsel for the most well-informed, wise...
The AES Investment Code -  the go-to counsel for the most well-informed, wise...The AES Investment Code -  the go-to counsel for the most well-informed, wise...
The AES Investment Code - the go-to counsel for the most well-informed, wise...AES International
 
(中央兰开夏大学毕业证学位证成绩单-案例)
(中央兰开夏大学毕业证学位证成绩单-案例)(中央兰开夏大学毕业证学位证成绩单-案例)
(中央兰开夏大学毕业证学位证成绩单-案例)twfkn8xj
 
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...yordanosyohannes2
 
Vp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsAppVp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsAppmiss dipika
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managmentfactical
 
212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technology212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technologyz xss
 

Recently uploaded (20)

(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
(办理原版一样)QUT毕业证昆士兰科技大学毕业证学位证留信学历认证成绩单补办
 
Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713
 
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
(办理学位证)美国加州州立大学东湾分校毕业证成绩单原版一比一
 
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
NO1 Certified Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Ami...
 
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
 
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
(办理学位证)加拿大萨省大学毕业证成绩单原版一比一
 
Bladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results PresentationBladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results Presentation
 
Stock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdfStock Market Brief Deck for "this does not happen often".pdf
Stock Market Brief Deck for "this does not happen often".pdf
 
Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024Monthly Economic Monitoring of Ukraine No 231, April 2024
Monthly Economic Monitoring of Ukraine No 231, April 2024
 
NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...
NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...
NO1 WorldWide Genuine vashikaran specialist Vashikaran baba near Lahore Vashi...
 
2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko
 
Classical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithClassical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam Smith
 
Current Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptxCurrent Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptx
 
The AES Investment Code - the go-to counsel for the most well-informed, wise...
The AES Investment Code -  the go-to counsel for the most well-informed, wise...The AES Investment Code -  the go-to counsel for the most well-informed, wise...
The AES Investment Code - the go-to counsel for the most well-informed, wise...
 
(中央兰开夏大学毕业证学位证成绩单-案例)
(中央兰开夏大学毕业证学位证成绩单-案例)(中央兰开夏大学毕业证学位证成绩单-案例)
(中央兰开夏大学毕业证学位证成绩单-案例)
 
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
AfRESFullPaper22018EmpiricalPerformanceofRealEstateInvestmentTrustsandShareho...
 
Q1 2024 Newsletter | Financial Synergies Wealth Advisors
Q1 2024 Newsletter | Financial Synergies Wealth AdvisorsQ1 2024 Newsletter | Financial Synergies Wealth Advisors
Q1 2024 Newsletter | Financial Synergies Wealth Advisors
 
Vp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsAppVp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsApp
 
SBP-Market-Operations and market managment
SBP-Market-Operations and market managmentSBP-Market-Operations and market managment
SBP-Market-Operations and market managment
 
212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technology212MTAMount Durham University Bachelor's Diploma in Technology
212MTAMount Durham University Bachelor's Diploma in Technology
 

Market Risk System Bnp Paribas

  • 1. The Market Risk system An Overview David Harper Head of Market Risk IT Dominique Delarue Market Risk IT Functional Architect 14 March 2008
  • 2. What’s the story? Partition Number of positions a day (thousands) 120,000 Streamline 56,319 38,204 Expansion 14,004 9,621 5,948 151 12 2001 2002 2003 2004 2005 2006 2007 2008 The Market Risk system at BNP Paribas 14 March 2008 2
  • 3. Agenda Who are BNP Paribas? What is Market Risk? What are the architectural concerns of Market Risk at BNPP? In-depth look at the data loading architecture The Market Risk system at BNP Paribas 14 March 2008 3
  • 4. BNP Paribas: Who are we? One of the largest international banking networks with strong positions in Asia and a significant presence in the United States. Three core businesses Corporate and Investment Banking Retail Banking Asset Management and Services Nº6 in the banking industry and nº1 French company (‘Global 2000 Forbes’ 2007) AA+ credit rating: One of only four banks worldwide with this rating or above (‘The Banker’ magazine, February 2008) The Market Risk system at BNP Paribas 14 March 2008 4
  • 5. We’re a global company BNP Paribas operates in over 85 countries, and has 162,700 employees including 126,600 in Europe - of whom 19,900 are in Italy and 64,100 in France and in the Overseas Departments; 15,000 in North America and 8,800 in Asia. Internationalised IT development 3 major centres in Western Europe (Paris, London and Rome) 4 global development centres in emerging markets (800 staff at the end of 2007) Significant development also takes place in New York, Singapore, Tokyo and Hong Kong Market Risk IT has over 30 staff in The Market Risk system at BNP Paribas 14 March 2008 5 London, Paris, Mumbai and Hong Kong
  • 6. Corporate and Investment Banking (CIB) Award winning Corporate and Investment Banking Fixed Income Equities and Derivatives Corporate Finance Energy Commodities Export Project Structured Finance Cash Management Loan and Portfolio Management The Market Risk system at BNP Paribas 14 March 2008 6
  • 7. Agenda reminder Who are BNP Paribas? What is Market Risk? What are the architectural concerns of Market Risk at BNPP? In-depth look at the data loading architecture The Market Risk system at BNP Paribas 14 March 2008 7
  • 8. What is Market Risk? The risk of losing money because of fluctuations in financial markets Interest rates go up, or down Share prices change And so on … Why is it important? It’s a regulatory requirement that determines the amount of capital a bank must put aside on its balance sheet to cover potential loses (Regulatory Capital) It gives a view of short-term potential loses due to fluctuations in the market and allows us to hedge against those loses How do we measure it? Value at Risk (VaR) The worst loss expected for a given portfolio due to ‘normal’ market movements over a given time horizon within a given confidence interval. The Market Risk system at BNP Paribas 14 March 2008 8
  • 9. Value at Risk as measured at BNP Paribas VaR measurements at BNP Paribas use a confidence level of 99% over 1 day. So VaR at BNP Paribas is: The worst loss expected for a given portfolio due to normal market movements over 1 day with a 99% confidence level. Or equivalently For normal market conditions, the minimal amount we can expect to lose on the next trading day no more than 1% of the time. VaR is calculated and reported by a single global system called MRX (Market Risk eXplorer) We start at the level of calculating VaR for individual deals and positions, and aggregate up to the VaR for the whole of BNP Paribas Both deal-level and aggregated views of VaR are useful We calculate VaR across: all financial products all BNP Paribas trading activities globally The Market Risk system at BNP Paribas 14 March 2008 9
  • 10. BNP Paribas aggregated Value at Risk (99%, 1 day) BNP Paribas 2007 Published Results http://invest.bnpparibas.com/en/results/documents/4Q07-Master-GB-Final.pdf The Market Risk system at BNP Paribas 14 March 2008 10
  • 11. Agenda reminder Who are BNP Paribas? What is Market Risk? What are the architectural concerns of Market Risk at BNPP? In-depth look at the data loading architecture The Market Risk system at BNP Paribas 14 March 2008 11
  • 12. MRX – The BNP Paribas Market Risk system A single global system including: a data warehouse of positions, sensitivities, securities and OTC deals a VaR calculation engine a data analysis and drill-down tool The Market Risk system at BNP Paribas 14 March 2008 12
  • 13. MRX Key Facts Data 15,000 files received per day 80 GB input data processed per day 100 million rows loaded into the fact table per day Fact table contains about 4 billion rows Dimension tables contain up to 10 million rows each Calculations 75,000 VaR calculations per day 10 GB of VaR statistics generated each day Views and reports 400,000 queries, views or reports per day 20,000 ad-hoc queries, views or reports per day The Market Risk system at BNP Paribas 14 March 2008 13
  • 14. MRX Infrastructure The Market Risk system at BNP Paribas 14 March 2008 14
  • 15. MRX must be extensible by users Calculate the risk for tomorrow based on the markets yesterday Rapid changes happen in financial markets New data feeds and reports must be commissioned quickly The MRX system must be very flexible and extensible, whilst still keeping its industrialised reliability Large amounts of in-house configuration features in the ETL (extract, transform, load) pipeline allow turn-around of new feeds and transformations within one day Data volumes increase continually – metrics and capacity planning are very important Scripting language for screens (Jython-based) allow super-users to create or change screens within one day The problem of badly written queries must be managed (essentially ad-hoc queries from the DBA’s perspective) The Market Risk system at BNP Paribas 14 March 2008 15
  • 16. MRX must be reliable The complete VaR for BNP Paribas must be calculated every week day all year long Each week day the whole world is loaded afresh and recalculated Operation and support activities run 5 days a week (including all holidays) all year; maintenance mostly at weekends Users around the world Tokyo start at 1am GMT New York finish at 10pm GMT Occasional weekend use Data loading and user querying run in parallel for over 12 hours each day As soon as a file is loaded its data is available for querying and it will be queried Large-scale industrialisation of system and data feeds – MRX must work reliably and automatically; there’s not enough time to re-do a complete day Sophisticated data quality tools and expert business team to handle data issues The Market Risk system at BNP Paribas 14 March 2008 16
  • 17. Architectural Categorisation In Market Risk we analyse our system using the following categorisation of architectural concerns Availability – service/resource is accessible, business continuity Performance – latency (response time) and throughput (batch processing) Scalability – support the service as the load increases Reliability – the integrity and consistency of the application Manageability – ensure the continued health of the system Maintainability – add or modify code with impacting existing functions Usability – easily and safely use the system Security – protect functions and data from theft, disclosure, damage, audit Extensibility – user modification The Market Risk system at BNP Paribas 14 March 2008 17
  • 18. MRX Information Architecture Principles Data distributed across two data stores Availability and consistency must be considered BASE is important (Basically Available, Soft-state, Eventually consistent) Availability and scalability are higher priorities; State is softish – can rebuild 1-2 lost hours on restart by rerunning data loading jobs There is weak consistency between data in separate data stores; data is eventually consistent (via automatic and explicit synchronisation mechanisms). ACID isn’t important (Atomicity, Consistency, Isolation and Durability) Very little transaction processing (some reference data updates, task handling, configuration updates) 2-phase commit not used The Market Risk system at BNP Paribas 14 March 2008 18
  • 19. MRX and the CAP Theorem Originally posited by Eric Brewer For example, refer to excellent Werner Vogels talk at QCon, London 2007 http://www.infoq.com/presentations/availability-consistency http://www.webperformancematters.com/journal/2007/8/21/asynchronous-architectures-4.html CAP Theorem – pick two of three for distributed data Consistency Availability tolerance to network Partitions MRX values Availability and Partition tolerance over Consistency Strong consistency not important; eventual consistency sufficient, where eventual is less than a day It’s better to have old data available than no data (as long as we know it’s old data) Partition-tolerance is important for business continuity reasons The Market Risk system at BNP Paribas 14 March 2008 19
  • 20. How to make Architectural Concerns real How do we get to allocate budget and resources to our architectural concerns? Warning: this depends on your budget process Present a horror story The system will collapse, the bank won’t trade and everyone will lose their bonus’ if we don’t make this non-functional change right now! Never a good idea, shows you haven’t been doing your capacity planning Hide in a business deliverable We’ll deliver the risk on our new Orange Juice futures product (and nobody knows, but we’ll spend 50% of the effort on fixing that big operational problem) It makes estimating, planning, metric gathering and process improvement initiatives (CMMI, 6-Sigma) difficult in the long term Make the benefits explicit These are our architectural concerns; if we make this non-functional change, you’ll see these improvements to the architecture MRX does this with the help of an Architecture Heatmap The Market Risk system at BNP Paribas 14 March 2008 20
  • 21. The Architecture Heatmap Architectural concerns x-axis System components y-axis Colour coded severity Red must be addressed soon Yellow is a known issue Green has no know problems Reviewed after every release A before and after version help gain buy-in The Market Risk system at BNP Paribas 14 March 2008 21
  • 22. Agenda reminder Who are BNP Paribas? What is Market Risk? What are the architectural concerns of Market Risk at BNPP? In-depth look at the data loading architecture MRX & Data The legacy Re-Architecture Tomorrow… The Market Risk system at BNP Paribas 14 March 2008 22
  • 23. Data Loading in MRX MRX is a transversal system. Data Complexity Consolidate Risks from more than 40 systems Many different formats Diversity of data Data Volume 15,000 files received per day 80 GB input data processed per day Derived Data Stress, limits, VaR… Complex flow of data and events The Market Risk system at BNP Paribas 14 March 2008 23
  • 24. Exploding data volumes Partition Number of positions a day (thousands) 120,000 Streamline 56,319 38,204 Expansion 14,004 9,621 5,948 151 12 2001 2002 2003 2004 2005 2006 2007 2008 The Market Risk system at BNP Paribas 14 March 2008 24
  • 25. Batch Processing What is a batch Job Dependency Scheduling Architectural concerns Granularity of the batch Resource Availability Critical path Data is only available at the end of the batch The Market Risk system at BNP Paribas 14 March 2008 25
  • 26. Event Driven Processing A continual batch is the key to MRX success Explosion of feeds in the last 3 years Flow of data and events Dynamic dependencies (Data driven) Why it matters, key factors Continuous feed of data Get data at an early stage Spread the load during the day Finer grained system More resilient to upstream feed issues The Market Risk system at BNP Paribas 14 March 2008 26
  • 27. Continual Batch – 11pm GMT The Market Risk system at BNP Paribas 14 March 2008 27
  • 28. Continual Batch – 4am GMT The Market Risk system at BNP Paribas 14 March 2008 28
  • 29. Continual Batch – 3pm GMT The Market Risk system at BNP Paribas 14 March 2008 29
  • 30. Data Loading – The Legacy Loader transforms, maps and loads data Configurability, Usability, Availability…what else? Loader … ASE Data Loader Architecture concerns Mostly C++ and C (highly skilled developers) Data centric In-house libraries (addressing infrastructure issues) Monolithic approach – (years of) over engineered software Perform poorly (do-it all approach), un-scalable (DB contention)… The Market Risk system at BNP Paribas 14 March 2008 30
  • 31. Paradigm Shift Process Streamline processing – break the complexity Staged the loading process Offload the Database Event Flow Message event driven processing Data Move data close to processing Hand on data from one processing stage to the next without going via the database Data caching The Market Risk system at BNP Paribas 14 March 2008 31
  • 32. Data Architecture Sybase ASE, Transactional Database Feed configuration, Reference data, System status… Sybase IQ, Database Warehouse Static Data, Market Data, Risk Data, Stress, VaR… The Market Risk system at BNP Paribas 14 March 2008 32
  • 33. Data Architecture - Sybase IQ What is Sybase IQ? Storage Saving/Compression – less I/O, less disk, more CPU, more memory Performance - store data per column – one writer Table Versioning Reduced Maintenance Costs Scalability – Multiplex IQ, workload is shared between multiple servers How MRX uses it Channel data through files whenever possible Very fast batch load – ideal for large volume of data De-normalised data model Use Indices Event Driven Processing – continuously update the Database The Market Risk system at BNP Paribas 14 March 2008 33
  • 34. Data Loading – New Architecture Staged Data Loading SEDA architecture Batch Data Extractor Transformer Mapper IQ Loader IQ Technology Java + Open Source projects, Spring (Components), Mule (Integration and assembly), ActiveMQ (Messaging) The Market Risk system at BNP Paribas 14 March 2008 34
  • 35. Component Assembly POJO, Spring and Mule Mule Spring POJO Spring POJO The Market Risk system at BNP Paribas 14 March 2008 35
  • 36. Component & Message Message Pattern Input, Output, Status Status Event FAIL, WARN, REJECT, COMPLETE Event Segregation and Routing Spring Input Output POJO Status Event The Market Risk system at BNP Paribas 14 March 2008 36
  • 37. Data Loading – Partitioning Partitioning – Database Partitioning per day Every day is a new day Fast loading, Fast retrieving Extractor Transformer London Batch Mapper IQ IQ Loader Extractor Transformer Paris Partitioning - Process Processing data where it is produced, Minimize data movement, Reduce latency The Market Risk system at BNP Paribas 14 March 2008 37
  • 38. Exploding data volumes Distributed DBWH Number of positions (billion) 160 80 DB DBWH 30 5 3 1.5 0.1 0.2 0.5 2003 2004 2005 2006 2007 2008 2009 2010 2011 The Market Risk system at BNP Paribas 14 March 2008 38
  • 39. Very Large Database A Market Risk Data Warehouse 5 years of positions, Volume increase (consolidation, deal level, organic growth…), Database will grow from 0.6TB to 25TB, Number of positions will grow from 4 billion to 300 billion Database Architecture Database Storage, File System, Backup system, Network, Fibre Channel, IQ Multiplex The Market Risk system at BNP Paribas 14 March 2008 39
  • 40. Summary To recap… Architecture Java & Open Source Event driven architecture – Pipelined components Re-usable POJO components Multiple deployable artefacts Message Driven Data Loading continuously move data from data sources into Sybase IQ Fast, scalable continuous data loads Dynamic throttling feature Best for large data volumes no table locking - Sybase IQ versioning users run queries even while Data Warehouse is updating The Market Risk system at BNP Paribas 14 March 2008 40
  • 41. Questions Thank you! David Harper, Head of Market Risk IT david.harper@uk.bnpparibas.com Dominique Delarue, MRX Team Lead and Functional Architect dominique.k.delarue@uk.bnpparibas.com The Market Risk system at BNP Paribas 14 March 2008 41