Your SlideShare is downloading. ×

Recipes for the Perfect PI v2.0


Published on

An updated (and less technical) slide pack presented as a keynote at Mastering SAP Technologies 2013 in South Africa covering some of the lessons we learned implementing SAP Process Integration over …

An updated (and less technical) slide pack presented as a keynote at Mastering SAP Technologies 2013 in South Africa covering some of the lessons we learned implementing SAP Process Integration over the years.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. Recipes for the Perfect PI Sascha Wenninger @sufw
  • 2. • π
  • 3. • π
  • 4. NetWeaver PI
  • 5. @sufw on twitter Technical Architect Focus: SAP Integration Co-founder of Blue T SAP Mentor Wannabe Performance Engineer Enterprise IT != Boring Sascha Wenninger
  • 6. This presentation is online: Licensed under:
  • 7. Largest retail network in Australia 3,500+ stores across Australia 8,000+ Point of Sale terminals
  • 8. SAP IS-Retail Backend Various Point of Sale systems Large non-SAP footprint
  • 9. Real-time Processing of Retail Transactions ~1 million transactions per day Peak of 75/second
  • 10. No Impact to Other Interfaces, e.g. 2m+ parcel track events per day
  • 11. Mission Critical
  • 12. Challenge Accepted!
  • 13. Luck
  • 14. People
  • 15. T -Shaped People
  • 16. T Broad Knowledge Shallow
  • 17. T Narrow Expertise Deep
  • 18. T T T T T
  • 19. PI ABAP JavaScript J2EE JMS TIBCO XSLT Ariba IDocs UNIX Baking jMeter soapUI XML Schema Visio Writing Groovy WebDynpro
  • 20. Try Things
  • 21. Technology and products change quickly Don’t expect people to know it all up-front
  • 22. Collaboration
  • 23. Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
  • 24. Architecture
  • 25. Java
  • 26. PI on ABAP is deprecated. Since 7.1, more functionality has moved to Java: AAE Advanced Adapter Engine Advanced Adapter Extended AEX
  • 27. We moved 1 interface from ABAP/Java to AAE: Throughput 11x >50% DB space saved HalvedCPU allocation
  • 28. We started with: Dual-stack PI 7.1 50,000messages/day 6CPUs
  • 29. 3 Years Later: Dual-stack PI 7.11 1,000,000+messages/day 3CPUs
  • 30. You don’t have to be on a single-stack Java system to benefit! Migrate interfaces to Integrated Configuration Objects Redesign interfaces to remove ccBPMs where possible.
  • 31. Stateless
  • 32. Orchestration should be your last option Prefer: Bigger, more specific services over orchestration Async notifications over distributed transactions Keeping state in application systems over BPM
  • 33. In ~4 years at Australia Post, how many ccBPMs did we deploy?
  • 34. 0
  • 35. blah Memory Memory
  • 36. blah Memory Life’s too short for swapping to disk. Buy More RAM.
  • 37. Memory Budget Start with: 1 GB Shared Objects Per Java Server Node 4 GB Heap 10 GB For ABAP 5 GB For your DBMS 5 GB “spare” for OS caches
  • 38. Java Memory via the MMC
  • 39. ABAP Memory: ST02
  • 40. The JVM
  • 41. PI 7.1 and later use the SAPJVM by default. This is A Good Thing. Fixes and enhancements delivered all the time New Garbage Collection algorithms J è Always upgrade the JVM to the latest release (Not just the one that comes with the SPS) Takes 30 minutes with JSPM
  • 42. Keep Tuning.
  • 43. SolMan’s Java Memory Analyser can help
  • 44. Your system should never swap to disk SAP used to recommend heap sizes of 2-3 GB. No longer true! Running out of memory usually triggers garbage collection. Swapping slows down garbage collection in Java Memory Tips
  • 45. Java Server Nodes
  • 46. Have at least 2, but don’t have too many A heavy-weight way to scale Tune thread pool sizes before adding more. Java processes can have unlimited memory now!
  • 47. The Database
  • 48. Keep your Stats up to date! Fixing stats improved throughput 6x Best of all: It’s Free Database Statistics
  • 49. Reorg your DB!
  • 50. Some PI tables churn a lot, others not much at all. Reorganise frequently: • Save disk space • Balance load across disk drives • Automate reorgs!
  • 51. Monitoring
  • 52. Wily Introscope is great! A limited license is bundled for free with NetWeaver Provides detailed monitoring of a Java stack
  • 53. XML Schema
  • 54. 0% 20% 40% 60% 80% 100% ABAP Proxy ESR Supported Partially Supported Not Supported Support of XML Schema Features Based on information from Note 944029
  • 55. etc.
  • 56. People
  • 57. Dan Getliffe Dieter Bauer Jo Haslett Joy Massimino Nam Nguyen Praneel Kumar Wing Leung
  • 58. Sascha Wenninger +61 403 933 472 @sufw
  • 59. Attributions – Thank you for the CC licensing! :-) •  Pie photo, by Jay Peg: •  Memory gallery, by Steve Jurvetson: •  Mr. Tune, by Oskar Seljeskog: •  Broken Harddrives, by purplemattfish: •  Institutul National de Statistica, by cod_gabriel: •  The Old Library, Trinity College Dublin Ireland, by Mark Colliton: •  Jet Engine, by Rainer Hungershausen: •  International Building, by Kelvin Dickinson: •  Sticker on TBL’s NeXT box, by Robert Scoble: •  Java’s Monte Bromo, by Javier Martin Espartosa: •  Cancelled Passport, by Ken Mayer: •  The Final Whistle, by Craig Sunter:
  • 60. Attributions – Thank you for the CC licensing! :-) •  Turbine Monitoring, by Michael Connell: •  Forskerfabrikken, by Aktiv Oslo: •  Le Sacre ballet troupe, by Lorenzo Gaudenzi: •  Red Letter Box, by Les Haines: •  Lego Avengers, by Andrew Becraft: •  Safety First, by David “darkmatter”: •  Casino Chips “Eleven”, by Marie M: