SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 

Kürzlich hochgeladen (20)

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 

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