spring for heavily data driven application

19
Spring for heavily data driven applica3ons … Spring & ORM

Upload: paloit-singapore

Post on 14-Jul-2015

249 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Spring For Heavily Data Driven Application

Spring  for  heavily  data  driven  applica3ons  

…  Spring  &  ORM  

Page 2: Spring For Heavily Data Driven Application

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"  

Page 3: Spring For Heavily Data Driven Application

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?  

Page 4: Spring For Heavily Data Driven Application

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.  

               

Page 5: Spring For Heavily Data Driven Application

Introduc)on  Too  much  complexity    

When  it  is  supposed  to  simplify!  

Page 6: Spring For Heavily Data Driven Application

Introduc)on  Data  -­‐  That  is  what  maKers    

[Tip:]  It  depends  !  [Tip:]  There  is  no  silver  spoon!  

Page 7: Spring For Heavily Data Driven Application

But  what  is  ORM  BTW?      

Let’s  remember:  Wikipedia  style  

Page 8: Spring For Heavily Data Driven Application

And  so  what  about  Spring?      

Lots  of  remembering..  

Page 9: Spring For Heavily Data Driven Application

And  the  points  you  want  to  consider  are  ...      

Select  Domain  Model  Cost  Code  =  Bugs    

Page 10: Spring For Heavily Data Driven Application

Moving  to  real  case  study  The  Online  Brokerage  System  ™        

Page 11: Spring For Heavily Data Driven Application

Moving  to  real  case  study  The  Online  Brokerage  System  ™        Let’s  do  it  ORM  style:  

Page 12: Spring For Heavily Data Driven Application

Moving  to  real  case  study  The  Client  Repor3ng  System  ™        

Spring  Me,  I  am  Famous  !  

Page 13: Spring For Heavily Data Driven Application

Moving  to  real  case  study  The  Client  Repor3ng  System  ™        

Now,  Spring  style  

Page 14: Spring For Heavily Data Driven Application

Wait  a  minute…  are  we  missing  something?      

Leveraging  the  infrastructure:  All  about  scale  vs  needs  

Page 15: Spring For Heavily Data Driven Application

Wait  a  minute…  are  we  missing  something?      

Leveraging  the  infrastructure  what  about  the  cost?  

Page 16: Spring For Heavily Data Driven Application

Wait  a  minute…  are  we  missing  something?      

Data  Model:  to  infinity  and  beyond  !  The  division  bell    

Page 17: Spring For Heavily Data Driven Application

Wait  a  minute…  are  we  missing  something?      

Data  Model:  to  infinity  and  beyond  !  Tradeoff:  object  graph  for  scale:  do  we  have  a  deal?      

Page 18: Spring For Heavily Data Driven Application

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      

Page 19: Spring For Heavily Data Driven Application

Thank  You  

…  And  don’t  forget  to  be  awesome  !!  

lbhogte@palo-­‐it.com  asia@palo-­‐it.com