InfoQ

InfoQ

Presentation

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Recorded at:
Recorded at

Futures Trade Flow

Presented by Ian Bond on Jun 15, 2011 Length 01:01:11     Download: MP3
     Slides
Sections
Enterprise Architecture,
Architecture & Design
Topics
Domain-Driven Design ,
QCon London 2011 ,
Event Driven Architecture ,
Methodologies ,
Stories & Case Studies ,
QCon ,
Architecture ,
Design ,
Programming ,
Conferences ,
Agile
The next QCon is in New York June 18-22, Join us!
 

How would you like to view the presentation?

In case you are having issues watching this video, please follow these simple steps to help us investigate the issue:
1. Right click on the video player and select Copy log
2. Paste the copied information in an email to video-issue@infoq.com (clicking this link will fill in the default details in most email clients).
Note: in case your email client hasn't automatically picked up the email subject, please include in your email the URL of the video too.
3. Done.
We will investigate the issue and get back to you as soon as possible. Thanks for helping us improve our site!
Summary
Ian Bond presents the development of a trade flow event-driven architecture, providing the background of futures trade, the domain and the solution, sharing some of the lessons learned along the way.

Bio
Ian Bond is currently the lead for trade management technology within Exchange Traded Derivatives at UBS. Before UBS, he worked as a consultant for the Thomson Corporation. Part development manager, part architect, part developer, his main interests are trying to apply Agile methods, domain modeling, mixing financial technology with more mainstream technology and keeping things simple.

About the conference
QCon is a conference that is organized by the community, for the community.The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community.QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.
  • This article is part of a featured topic series on Agile and also QCon
Transactions by planet jones Posted
Re: Transactions by Ian Bond Posted
  1. Back to top

    Transactions

    by planet jones

    I thought that was a really great talk and really pleased I spent the hour watching it.

    I have a question regarding transactions. In the system it shows trades entering the distributed cache via messaging e.g. point to point queue or topic which it subscribes to. It also says that persistence is via Hibernate mappings which are invoked asynchronously. I just wanted to get a feel for how the transactions work in this system e.g. in terms of trades entering the system does an initial persistence action take place, which has to succeed before the transactions with the queue or topic ends (so you don't lose the trade). When events are being executed against the domain objects and the data is changing, it's implied that async calls keep the persistence state synced with the cache state. How does the system ensure that writes aren't lost e.g. if the persistence is asynchronous how would you rollback the cache data if that action fails.

    Thanks again.

  2. Back to top

    Re: Transactions

    by Ian Bond

    Yes, I didn't expand on this area in the presentation. But within the transaction that takes the trade message off the topic, as well as the trade being saved to the cache it is also written to a file. The trades from the file are then persisted to the database via Hibernate asynchronously. Therefore the database call is out of the critical path, but the trade is persisted, initially to just a file.