SlideShare une entreprise Scribd logo
1  sur  26
Going The Extra Mile


   Christian James          Mike Stolz
  Product Manager       VP of Architecture
Push Technology Ltd   GemStone Systems Inc.
Agenda



•   Demands within the betting industry
•   What is latency
•   The cost of latency
•   Combating latency
•   GemFire/Diffusion solution
•   Q&A
Demanding and competitive environment


Technology drives competitive advantage
Demanding business requirements
                       and drivers


•   Speed, Stability, Scalability
•   Increase the number of markets offered
•   The ability to offer more volatile markets
•   Deliver to more channels
•   Improved marketing/advertising capabilities
•   Minimize unmatched orders/bets
•   Global distribution and real-time replication
•   Localized Data creating better user experience
•   Cost effective
Latency is everywhere



What is latency?
Total latency equals



        Disk access
             +
     Sender overhead
            +
      Time of flight
             +
Message size/Bandwidth **
            +
    Receiver overhead

                            ** Potentially misleading
E-Betting flow…




                           Bet rejected

                     No                         No




                                                                   100s of Web
Accept &    Yes                           Yes         Can User
                            Valid Bet?
Place Bet                                            Afford Bet?




                                                                     Servers
               Book
                             Odds
              Position/
            Risk Monitor   Repository




                            Database
…has many sources of latency




                              Bet rejected

                     No                            No




                                                                      100s of Web
Accept &    Yes                              Yes         Can User
                               Valid Bet?
Place Bet                                               Afford Bet?




                                                                        Servers
               Book
                                Odds
              Position/
            Risk Monitor      Repository




                               Database
Why worry about it


   It Costs!
The cost of ignoring it is high,
              and its not just trading systems


• Amazon – every 100ms of latency cost them 1% in
  sales
• Google – an extra 0.5 seconds in search page
  generation time dropped traffic by 20%
• Financial – “If a broker’s electronic trading platform is 5
  ms behind the competition it could loose them at least
  1% of their flow – that’s $4 million in revenues per ms”
  (TABB Group)
Latency reduces revenue, causes losses and results in a
                  poor end-user experience




        Lost £££                  Bet Rejected (Lost Revenue £££)

Difference in odds X amt .       No                                 No




                                                                                       100s of Web
       Accept &          Yes                              Yes             Can User
                                            Valid Bet?
       Place Bet                                                         Afford Bet?




                                                                                         Servers
                           Book
                                              Odds
                          Position/
                        Risk Monitor        Repository




                                            Database
Money is lost as bets are rejected or
       taken at poor prices


    Odds generated, odds offered 10 to 1

        Bet placed for £10 @ 10 to 1

  Bet booked, odds now being offered 5 to 1

               End client wins

                 Payout is
                   £100
                  versus
                    £50

In-running greatly amplifies this effect
Operating costs are high as architecture
                                          is inefficient




       Lost £££                   Bet Rejected (Lost Revenue £££)

Difference in odds X amt .       No                                 No




                                                                                       100s of Web
       Accept &          Yes                               Yes            Can User
                                             Valid Bet?
       Place Bet                                                         Afford Bet?




                                                                                         Servers
                           Book
                                              Odds
                          Position/
                        Risk Monitor        Repository




                                             Database
Budgets are being wasted on OPEX rather than
           advancing the business via CAPEX


• 60-70% of IT budgets spent on operational costs (CIO
  Magazine)
• 5% of IT budgets spend on energy (BBC)
• 1996-2006 no. of servers in London increased from 6 
  28m.
• Avg. power consumption of each increased from 150 
  400 watts.
• In 2007 it was predicted London would run out of
  power in 2009
“Latency Exists, Cope!” (Dan Pritchett)



        Combating it:
    Hardware or software?
Moore’s law hasn’t held up for hardware speed gains,
                   they are slowing




                                                        Speed of light




                                                         Network
     Speed




                                                                 CPU Clock Speed, Moore’s law
             Ram Speed (limited to distance from CPU)                 still exists (for how long)
                                                                but for different reasons – plus
                                                                     Memory/RAM Wall broken

                                                         Desk I/O PS




                                              Date
Bandwidth should also be a cause
                     for concern…


• “Net bombs” are gobbling up the internet
   – YouTube = using the same amount of traffic as the entire
     internet in 2000
   – iPlayer 5% of UK internet usage.
• Monthly internet traffic is running at 8 exabytes (million
  trillion) – one exabyte is equivalent of 50,000 years of
  DVDs
• 2007 traffic grew by 75%, capacity by 45%
• Brownouts/jitters are due to start in 2010
• What is the alternative?
How we tackle it



      Faster software running on fewer
                  machines
"Hardware can give you a generic 20 percent improvement
in performance, but there is only so far you can go with
hardware. “ Rob Wallos, global head of market data Citi
GemFire & Diffusion kill inefficiencies reducing costs
                       and increasing revenue




       Lost £££                   Bet Rejected (Lost Revenue £££)


Difference in odds X amt .       No                                  No

       Accept &          Yes                               Yes             Can User
                                             Valid Bet?
       Place Bet                                                          Afford Bet?




                                                                                        Diffusion
                           Book
                          Position/
                        Risk Monitor
                                              Odds
                                            Repository              GemFire

                                             Database




                   GemFire looks after the first miles…                                      …and Diffusion the last
In essence, a suite of low latency
                      communication products


•   GemFire allows you to create a highly resilient, elastic, enterprise data
    fabric to improve performance while simplifying your architecture.
•   GemFire enables you to safe-store and receive data and events to and
    from any back-end data source and pass notifications off to Diffusion.
         GemFire – Enterprise Data Fabric
In essence, a suite of low latency
                     communication products


•   Diffusion allows you to create a two-way secure real-time online channel
    between an organisation and its audience.
•   Diffusion enables you to push and receive data and events to and from any
    current, or future, “net” connected device including the web browser.
       Diffusion – the power behind the Net
Smaller messages optimally delivered, reducing
                  latency and foot print


• Best Message Delivery (BDM)
   – Conflation
   – High/Low Water Marks
   – Throttling (could be used to level the ‘playing field’)
• Compression
• Your own message format avoids unnecessary
  transformation/serialization
• Only send deltas - reduces size/amount of data sent
• Hierarchical topics - reduces size/amount sent to finest grain
• Connecting various devices – browser/mobile/interactive TV etc.
• These techniques can reduce bandwidth consumption by
  up-to 80% and help achieve a better end-user experience
Hierarchical topics, in context of a
        betting exchange
Strong focus on performance & efficiency,
                 driven from the server


• NIO technology ensures data moves through Diffusion
  & GemFire as quickly as possible
• Zero Copy
• Zero Fan-out
• Bi-directional, no need to open another socket when
  sending information (executing a bet) back to the
  server as you would with a web request
• Scaling the application (massive number of clients on a
  single server)
• These approaches can massively reduce your
  hardware requirements
Global Edge Caching ensures most efficient client connectivity without
           replicating the whole application environment
Questions & Answers

Contenu connexe

Plus de gojkoadzic

Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)gojkoadzic
 
Maximum Impact, Minimum Effort
Maximum Impact, Minimum EffortMaximum Impact, Minimum Effort
Maximum Impact, Minimum Effortgojkoadzic
 
Painless visual testing
Painless visual testingPainless visual testing
Painless visual testinggojkoadzic
 
Serverless JavaScript
Serverless JavaScriptServerless JavaScript
Serverless JavaScriptgojkoadzic
 
Serverless Code Camp Barcelona
Serverless Code Camp BarcelonaServerless Code Camp Barcelona
Serverless Code Camp Barcelonagojkoadzic
 
Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015 Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015 gojkoadzic
 
How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014gojkoadzic
 
Sabotage product
Sabotage productSabotage product
Sabotage productgojkoadzic
 
Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013gojkoadzic
 
5 key challenges
5 key challenges5 key challenges
5 key challengesgojkoadzic
 
Death to the testing phase
Death to the testing phaseDeath to the testing phase
Death to the testing phasegojkoadzic
 
Challenging Requirements/Oredev
Challenging Requirements/OredevChallenging Requirements/Oredev
Challenging Requirements/Oredevgojkoadzic
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teamsgojkoadzic
 
Agile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamAgile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamgojkoadzic
 
From dedicated to cloud infrastructure
From dedicated to cloud infrastructureFrom dedicated to cloud infrastructure
From dedicated to cloud infrastructuregojkoadzic
 
Specification Workshops - The Missing Link
Specification Workshops - The Missing LinkSpecification Workshops - The Missing Link
Specification Workshops - The Missing Linkgojkoadzic
 
Specification by example and agile acceptance testing
Specification by example and agile acceptance testingSpecification by example and agile acceptance testing
Specification by example and agile acceptance testinggojkoadzic
 
Space Based Programming
Space Based ProgrammingSpace Based Programming
Space Based Programminggojkoadzic
 
Getting business people and developers to listen to testers
Getting business people and developers to listen to testersGetting business people and developers to listen to testers
Getting business people and developers to listen to testersgojkoadzic
 
Is the cloud a gamble
Is the cloud a gambleIs the cloud a gamble
Is the cloud a gamblegojkoadzic
 

Plus de gojkoadzic (20)

Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)
 
Maximum Impact, Minimum Effort
Maximum Impact, Minimum EffortMaximum Impact, Minimum Effort
Maximum Impact, Minimum Effort
 
Painless visual testing
Painless visual testingPainless visual testing
Painless visual testing
 
Serverless JavaScript
Serverless JavaScriptServerless JavaScript
Serverless JavaScript
 
Serverless Code Camp Barcelona
Serverless Code Camp BarcelonaServerless Code Camp Barcelona
Serverless Code Camp Barcelona
 
Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015 Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015
 
How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014
 
Sabotage product
Sabotage productSabotage product
Sabotage product
 
Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013
 
5 key challenges
5 key challenges5 key challenges
5 key challenges
 
Death to the testing phase
Death to the testing phaseDeath to the testing phase
Death to the testing phase
 
Challenging Requirements/Oredev
Challenging Requirements/OredevChallenging Requirements/Oredev
Challenging Requirements/Oredev
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teams
 
Agile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamAgile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your team
 
From dedicated to cloud infrastructure
From dedicated to cloud infrastructureFrom dedicated to cloud infrastructure
From dedicated to cloud infrastructure
 
Specification Workshops - The Missing Link
Specification Workshops - The Missing LinkSpecification Workshops - The Missing Link
Specification Workshops - The Missing Link
 
Specification by example and agile acceptance testing
Specification by example and agile acceptance testingSpecification by example and agile acceptance testing
Specification by example and agile acceptance testing
 
Space Based Programming
Space Based ProgrammingSpace Based Programming
Space Based Programming
 
Getting business people and developers to listen to testers
Getting business people and developers to listen to testersGetting business people and developers to listen to testers
Getting business people and developers to listen to testers
 
Is the cloud a gamble
Is the cloud a gambleIs the cloud a gamble
Is the cloud a gamble
 

Dernier

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Dernier (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Going the extra mile

  • 1. Going The Extra Mile Christian James Mike Stolz Product Manager VP of Architecture Push Technology Ltd GemStone Systems Inc.
  • 2. Agenda • Demands within the betting industry • What is latency • The cost of latency • Combating latency • GemFire/Diffusion solution • Q&A
  • 3. Demanding and competitive environment Technology drives competitive advantage
  • 4. Demanding business requirements and drivers • Speed, Stability, Scalability • Increase the number of markets offered • The ability to offer more volatile markets • Deliver to more channels • Improved marketing/advertising capabilities • Minimize unmatched orders/bets • Global distribution and real-time replication • Localized Data creating better user experience • Cost effective
  • 6. Total latency equals Disk access + Sender overhead + Time of flight + Message size/Bandwidth ** + Receiver overhead ** Potentially misleading
  • 7. E-Betting flow… Bet rejected No No 100s of Web Accept & Yes Yes Can User Valid Bet? Place Bet Afford Bet? Servers Book Odds Position/ Risk Monitor Repository Database
  • 8. …has many sources of latency Bet rejected No No 100s of Web Accept & Yes Yes Can User Valid Bet? Place Bet Afford Bet? Servers Book Odds Position/ Risk Monitor Repository Database
  • 9. Why worry about it It Costs!
  • 10. The cost of ignoring it is high, and its not just trading systems • Amazon – every 100ms of latency cost them 1% in sales • Google – an extra 0.5 seconds in search page generation time dropped traffic by 20% • Financial – “If a broker’s electronic trading platform is 5 ms behind the competition it could loose them at least 1% of their flow – that’s $4 million in revenues per ms” (TABB Group)
  • 11. Latency reduces revenue, causes losses and results in a poor end-user experience Lost £££ Bet Rejected (Lost Revenue £££) Difference in odds X amt . No No 100s of Web Accept & Yes Yes Can User Valid Bet? Place Bet Afford Bet? Servers Book Odds Position/ Risk Monitor Repository Database
  • 12. Money is lost as bets are rejected or taken at poor prices Odds generated, odds offered 10 to 1 Bet placed for £10 @ 10 to 1 Bet booked, odds now being offered 5 to 1 End client wins Payout is £100 versus £50 In-running greatly amplifies this effect
  • 13. Operating costs are high as architecture is inefficient Lost £££ Bet Rejected (Lost Revenue £££) Difference in odds X amt . No No 100s of Web Accept & Yes Yes Can User Valid Bet? Place Bet Afford Bet? Servers Book Odds Position/ Risk Monitor Repository Database
  • 14. Budgets are being wasted on OPEX rather than advancing the business via CAPEX • 60-70% of IT budgets spent on operational costs (CIO Magazine) • 5% of IT budgets spend on energy (BBC) • 1996-2006 no. of servers in London increased from 6  28m. • Avg. power consumption of each increased from 150  400 watts. • In 2007 it was predicted London would run out of power in 2009
  • 15. “Latency Exists, Cope!” (Dan Pritchett) Combating it: Hardware or software?
  • 16. Moore’s law hasn’t held up for hardware speed gains, they are slowing Speed of light Network Speed CPU Clock Speed, Moore’s law Ram Speed (limited to distance from CPU) still exists (for how long) but for different reasons – plus Memory/RAM Wall broken Desk I/O PS Date
  • 17. Bandwidth should also be a cause for concern… • “Net bombs” are gobbling up the internet – YouTube = using the same amount of traffic as the entire internet in 2000 – iPlayer 5% of UK internet usage. • Monthly internet traffic is running at 8 exabytes (million trillion) – one exabyte is equivalent of 50,000 years of DVDs • 2007 traffic grew by 75%, capacity by 45% • Brownouts/jitters are due to start in 2010 • What is the alternative?
  • 18. How we tackle it Faster software running on fewer machines "Hardware can give you a generic 20 percent improvement in performance, but there is only so far you can go with hardware. “ Rob Wallos, global head of market data Citi
  • 19. GemFire & Diffusion kill inefficiencies reducing costs and increasing revenue Lost £££ Bet Rejected (Lost Revenue £££) Difference in odds X amt . No No Accept & Yes Yes Can User Valid Bet? Place Bet Afford Bet? Diffusion Book Position/ Risk Monitor Odds Repository GemFire Database GemFire looks after the first miles… …and Diffusion the last
  • 20. In essence, a suite of low latency communication products • GemFire allows you to create a highly resilient, elastic, enterprise data fabric to improve performance while simplifying your architecture. • GemFire enables you to safe-store and receive data and events to and from any back-end data source and pass notifications off to Diffusion. GemFire – Enterprise Data Fabric
  • 21. In essence, a suite of low latency communication products • Diffusion allows you to create a two-way secure real-time online channel between an organisation and its audience. • Diffusion enables you to push and receive data and events to and from any current, or future, “net” connected device including the web browser. Diffusion – the power behind the Net
  • 22. Smaller messages optimally delivered, reducing latency and foot print • Best Message Delivery (BDM) – Conflation – High/Low Water Marks – Throttling (could be used to level the ‘playing field’) • Compression • Your own message format avoids unnecessary transformation/serialization • Only send deltas - reduces size/amount of data sent • Hierarchical topics - reduces size/amount sent to finest grain • Connecting various devices – browser/mobile/interactive TV etc. • These techniques can reduce bandwidth consumption by up-to 80% and help achieve a better end-user experience
  • 23. Hierarchical topics, in context of a betting exchange
  • 24. Strong focus on performance & efficiency, driven from the server • NIO technology ensures data moves through Diffusion & GemFire as quickly as possible • Zero Copy • Zero Fan-out • Bi-directional, no need to open another socket when sending information (executing a bet) back to the server as you would with a web request • Scaling the application (massive number of clients on a single server) • These approaches can massively reduce your hardware requirements
  • 25. Global Edge Caching ensures most efficient client connectivity without replicating the whole application environment