Agility with Services – The eBay Way
description
Transcript of Agility with Services – The eBay Way
![Page 1: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/1.jpg)
Agility with Services – The eBay Way
![Page 2: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/2.jpg)
eBay Inc. confidential2
eBay built on SOA
TODAYTOMMOROW
FUTURE
![Page 3: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/3.jpg)
eBay Inc. confidential
Project Turmeric – eBay Open source initiative
• http://ebayopensource.org
• Built on top of Axis
• Capabilities– Monitoring
– Documentation framework
– Policy based authentication
– Eclipse plug-ins
– Support for variety of formats like JSON, XML, Name Value pair
– Tools for managing re-usable types
– Type and error libraries
3
![Page 4: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/4.jpg)
eBay Inc. confidential
Challenges
4
• Testability– Discover services
– Functional testing of services
• Performance– Improving performance at the wire level
– Low framework overhead (~2 ms)
• Transformations– Rest enablement
– Fast turn around times
![Page 5: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/5.jpg)
eBay Inc. confidential
SOA Express
5
• What is SOA Express ?
• Marry Governance and testability
• Lightweight
• Automated
• Test across environments
• Discover services based on a taxonomy– Service consumer
– Service producer
• Integrated with SOA Repository
![Page 6: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/6.jpg)
eBay Inc. confidential
Performance – The problem
• Data formats to consider– XML
– JSON
– Name value
• Reduce serialization / de-serialization time
• Ensure all formats can be consumed / produced by the same interface
• Reduce payload size where possible
6
![Page 7: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/7.jpg)
eBay Inc. confidential
Performance – Protocol buffers
• Google’s proprietary format
• Open source
• Define messages through proto files
• Smaller packages to transmit over the wire
• Faster serialization / de-serialization
7
![Page 8: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/8.jpg)
eBay Inc. confidential
Performance – Why Protocol buffers ?
• What about avro / thrift / msg-pack ?
• Google’s proto objects can be adapted to eBay’s POJOs
• Introducing new-message-format-X into the midst is easy
• Efficient format for internal clients
• 10x improvement in wire time
8
![Page 9: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/9.jpg)
eBay Inc. confidential
Transformations – The problem
9
• Clients require different formats– RSS
– ATOM
– JSON
– XML
• Rest enable services – SOA and ROA
• Flexible and Fast
![Page 10: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/10.jpg)
eBay Inc. confidential
Transformations – ESB
• Format conversion through mediators
• Domain specific languages (DSL) define conversion
• Transformation framework pluggable at any layer
• Dynamic updates to transformations
10
![Page 11: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/11.jpg)
eBay Inc. confidential
Transformations – Why ESB ?
• Why not XSLT ?
• Handle 700 million calls per day
• Can scale horizontally
• Monitoring with JMX
• Blends in with service routing
• Introduce additional mediators seamlessly
11
![Page 12: Agility with Services – The eBay Way](https://reader036.fdocuments.us/reader036/viewer/2022062301/56815b1f550346895dc8d411/html5/thumbnails/12.jpg)
eBay Inc. confidential
Thank you
Questions ?
12