Spring for heavily data driven applica3ons … Spring & ORM
Spring for heavily data driven applica3ons
… Spring & ORM
Who Am I ?
Lokesh Bhogte has been working in IT Industry over 8 years. Currently he is working with Palo IT Singapore on a message driven data integraAon plaBorm.
His experience includes product owner of a large scale brokerage system to end-‐to-‐end architecture and implementaAon of reporAng systems.
He will be talking about alternate designs for data-‐driven high performance transnaAonal systems with Spring.
We will see ORM and pure Spring framework from the point of view of :
"Effects of using frameworks against keeping it pure and simple"
What we will cover tonight
• What is what & which is which • Why? • Can’t compare but can complement • A deadly combinaAon • When? • Would they really care?
Introduc)on Hibernate: Saving Private Lokesh from SQL?
My first *guilty* approach of hibernate as a young developer was to avoid dealing too much with SQL.
Introduc)on Too much complexity
When it is supposed to simplify!
Introduc)on Data -‐ That is what maKers
[Tip:] It depends ! [Tip:] There is no silver spoon!
But what is ORM BTW?
Let’s remember: Wikipedia style
And so what about Spring?
Lots of remembering..
And the points you want to consider are ...
Select Domain Model Cost Code = Bugs
Moving to real case study The Online Brokerage System ™
Moving to real case study The Online Brokerage System ™ Let’s do it ORM style:
Moving to real case study The Client Repor3ng System ™
Spring Me, I am Famous !
Moving to real case study The Client Repor3ng System ™
Now, Spring style
Wait a minute… are we missing something?
Leveraging the infrastructure: All about scale vs needs
Wait a minute… are we missing something?
Leveraging the infrastructure what about the cost?
Wait a minute… are we missing something?
Data Model: to infinity and beyond ! The division bell
Wait a minute… are we missing something?
Data Model: to infinity and beyond ! Tradeoff: object graph for scale: do we have a deal?
Wait a minute… are we missing something?
Data Model: to infinity and beyond ! Tradeoff: object graph for scale: do we have a deal? [BONUS] let’s get shards for hibernate revived from the dead
Thank You
… And don’t forget to be awesome !!
lbhogte@palo-‐it.com asia@palo-‐it.com