hardware accelerated
play

Hardware Accelerated Application Integration: Challenges and - PowerPoint PPT Presentation

Hardware Accelerated Application Integration: Challenges and Opportunities Active @ ACM/IFIP/USENIX Middleware 2017 Daniel Ritter Application Integration - De-coupling apps - Solving n-square connection and variety problems (for textual


  1. Hardware Accelerated Application Integration: Challenges and Opportunities Active @ ACM/IFIP/USENIX Middleware 2017 Daniel Ritter

  2. Application Integration - De-coupling apps - Solving n-square connection and variety problems (for textual data) [Lin2000] EAI System, - Message routing and Integration transformation patterns from Processes 2004 [HW2004] On-premise Apps

  3. Emerging Application Integration since 2000 / 2004 … Mobile Apps Cloud Apps, Business Networks EAI System, Integration Processes Lambda, Zeta, Connected Things Micro-service On-premise Apps Architectures …

  4. Emerging Trends lead to Challenges Lambda, Zeta, Micro-service Architectures … On-premise Apps Mobile Apps Connected Things Cloud Apps, Business Networks EAI Challenges: General Challenges: - New variety problem, e.g., media - Data center efficiency message protocols - Power consumption - Number of messages (Velocity) - … EAI System, - Message sizes (Volume) Integration - Fault-tolerance (Stability) Processes - …

  5. Classical Solution Space Solutions: Side-effects: Cha hallenges: Media message Conversion, User protocols Interaction, … (variety problem) … per operation Scale (out, up), e.g., Message sizes Hardware, Data parallelization, (Volume) center scaling, batching build power Number of messages plants (Velocity) … … Software solutions, e.g., streaming, Fault-tolerance process / algebraic (Stability) simplification, data … reduction (up to  Software latency and sampling) throughput limited … [LGMBEV2012]

  6. Example: Message Routing Content-based Router 1…n -1 1..n predicates / Conditional conditions 1 CBR Default 190000 EIPBench Pattern Benchmark 170000 [RMSRM2016]; AC:=Apache Camel, TIP:=Vectorization 150000 130000 110000 90000 (A) Normal (B) Branching (C) Conditions Java/AC TIP/AC

  7. Hardware Acceleration One step back, important EAI factors: - Closeness to the network (e.g, connect two applications) - Expressiveness (e.g., conditions, expressions) - Efficiency (e.g., volume, velocity) - Flexibility (e.g., change integration process)

  8. Efficiency through Specialization Software EAI More flexible, less efficient … Current Software VM solutions Guest OS Hypervisor Why not use AS ASICs, GPUs ( SIMD, flops, power)? Why not use CPU FPGA FPGAs? FP Why not use SDNs ( network, expressiveness: NIC Integration patterns)? Classic SAAS Use FPGAs due to good ASIC trade-off between flexibility vs efficiency; designs can become ASICs similar to [Put2017]

  9. What are FPGAs? • Field Programmable Gate Arrays • Fabric of interconnected logic blocks, on-chip memory, I/O • Customize logic and I/O • Reconfigurable hardware is more efficient than general-purpose hardware (CPU); reconfiguration times 100ms to 1s, partial reconfiguration • FPGA ~ Dataflow architecture [C1986] vs. Control- flow architectures: single-, multi-core CPUs (von Neumann + beyond) + high degree of parallelism, streaming limited to resources on the chip

  10. Message Throughput (revisited) Even complex routing (e.g., SP, AGG) and The throughput is invariant to multiple transformation patterns (MT) have conditions and route branches (e.g., CBR- throughput close to baseline (i.e., hardware B+C, LB and join router (not shown) perform limits) near baseline) CBR

  11. Disruptiveness .. … in information systems requires: (a) Novel types of applications (b) Novel technology and hardware Similar to Wolfgang Lehner‘s Keynote VLDB 2017

  12. Crossroads of Middleware and Hardware Challenges and Opportunities

  13. EAI Architecture Aspects Programming Message Endpoints Model EAI VM Guest OS Hypervisor CPU NIC Classic SAAS Processing Model Operations Message Endpoints

  14. Programming Models Int ntegratio ion pro rocess modeli ling, , co config iguration Requires: - Composable HDL / HW templates for building blocks FPGAs flexible, reconfigurable, became affordable (patterns) [RMRM2017]) FPGA development flow, lack the expertise to use the - High-level synthesis of conditions / expressions (OpenCL, ) hardware-oriented FPGA, 10:1 or larger ratio of SW to - Better editors and flow (PSHDL, http://pshdl.org/), HW programmers; UDFs space critical building and verifying new hardware (incl. debugging) - Education, Courses Instance 1 Instance 2 Complete (24 instances) … Resource usage on the FPGA chip ( floorplan ): with efficient HDL EAI template design + load balancing, UDFs as high-level synthesis become a dominating factor for multi-instance parallelism

  15. Programming Models Requires: Memory Acc ccess / / Ba Band ndwidth - Fast off-chip DRAM memory access (shared with CPU) on-Chip memory accessible in few clock cycles from the FPGA - (even Non-volatile Memory) Capacity of on-chip memory not enough (flip-flops often required for program logic) - Study of optimization teqhniques (e.g., message indexing [RRM2017] vs. streaming) (e.g., Intel HBM2 https://www.altera.com/content/dam/altera- www/global/en_US/pdfs/literature/wp/wp-01264-stratix10mx- devices-solve-memory-bandwidth-challenge.pdf)

  16. Programming / Architecture Models Requires: Local Inte Loc ntegration Syst System, Netw twork EA EAI - FPGA+CPU multi-chip architectures with direct NIC closer to the network, combined data flow access architecture and CPU - FPGA on NIC or SmartNIC Requires special HW: FPGA + x New EAI (e.g., Intel Broadwell, EAI Architecture https://www.theregister.co.uk/2 Variants VM 016/03/14/intel_xeon_fpga/) Guest OS Hypervisor EAI Not just data pipes EAI CPU CPU FPGA (logic pushdown) NIC NIC NIC FPGA Classic “Multi - chip“ “Smart NIC“ SAAS PAAS IAAS

  17. Processing Models Message Exc Excha hang nge Pa Patte tterns Requires: - Streaming with request-reply (e.g., JMS asynchronous + FPGA works well for inOnly streaming correlation identifier) In/out, request-reply in some integration scenarios - or Synch-Asynch Bridges (e.g., [RH2015]) Requires: Transport Pr Tra Proto tocol Su Support - Vendor IP core support for a broader coverage of protocols stateless transport protocols like TCP, HTTP, MQTT IP cores missing (even for UDP), no stateful transport - or efficient SW/HW co-design to leverage software protocols protocol implementations (e.g., [YZXQFR2011]). Non Non-functional asp spects Requires: - Vendor IP core support for non-functional aspects like many built-in IP cores, e.g., for network, memory different types of authentication, encryption access - or efficient SW/HW co-design to leverage software vendor specific IP cores incomplete, e.g., for security implementations e.g., Solace‘s own network controller

  18. (Cloud) Operations Mul ulti-tenancy Requires: - FPGA HW virtualization à la “ Configurable Cloud“[Cau2017] tenants separated on HW Solace‘s cross virtual provider limited resources on partitioned chip, cross-tenant messaging processing MS Project Catapult Data Da ta ce center impact Requires: - Integration in current cloud platforms low energy, less space to be added to datacenter blueprints, good FPGA Developer AMI troubleshooting / debugging tools Requires: HA HA/DR se setup - Regulation-aware, abstracted less prone to failures - configurable HA/DR capabilities HA requires tenant distributions across different HW, similar to Solace‘s HA/DR broker DR across HW and data centers with transactions, adhere to regulations (e.g., data protection) In general: SDNs

  19. Message Endpoints Appli lications Requires: - End-to-end flow control low latency, high-throughput - Application scaling Endpoints limited capacities, discrepancy between - Asynchronous message processing EAI egress and endpoint ingress rates - FPGA+RDMA - ….

  20. Disruption Potential Run one integration scenario used by hundreds of customers on just few FPGAs (shared), run all scenarios of one customer on one EAI System, FPGA, instead of hundreds of VMs Integration Processes Reduce energy consumption, space Stable, multi-tenant, HA+DR … more New application programming New York Las Vegas models (e.g., asynch, more EAI (active) (passive) logic -> idempotent, retries)

  21. Conclusion • Disruption through novel applications + EAI challenges and hardware + technology • Specialization with reconfigurable hardware leads to promising future EAI architecture variants • FPGAs are less well known and harder to program, while problem is not software engineers being able to program FPGAs, but eco- system required • FPGAs allow for optimizations of both compute and I/O operations, data flow architecture -> think beyond the core application • This is just the starting point: many new opportunities + further research

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend