restgate enterprise integration server
play

RestGate - Enterprise Integration Server MSE PROJECT Phase II - PowerPoint PPT Presentation

RestGate - Enterprise Integration Server MSE PROJECT Phase II Report 1 Scope Review 2 Original Scope 3 Original Scope Subscribed Senders Request - Reply Polling Senders Content Based Router P2P Channel Message Filter Publish -


  1. RestGate - Enterprise Integration Server MSE PROJECT Phase II Report 1

  2. Scope Review 2

  3. Original Scope 3

  4. Original Scope Subscribed Senders Request - Reply Polling Senders Content Based Router P2P Channel Message Filter Publish - Subscribe Channel Splitter Validated Structure Channel Aggregator Guaranteed Channel Message Processor Dead Letter Channel Published Message Queue Message Expiration Published Message List Message Sequence Receiver Subscription 3

  5. Original Scope Subscribed Senders Request - Reply Polling Senders Content Based Router P2P Channel Message Filter Publish - Subscribe Channel Splitter Validated Structure Channel Aggregator Guaranteed Channel Message Processor Dead Letter Channel Published Message Queue Message Expiration Published Message List Message Sequence Receiver Subscription 4

  6. New Scope Polling Senders Content Based Router P2P Channel Message Filter Publish - Subscribe Message Processor Channel Published Guaranteed Message Queue Channel Published Message Message List Expiration 5

  7. New Scope* Polling Senders Content Based Router P2P Channel Message Filter Publish - Subscribe Message Processor Channel Published Guaranteed Message Queue Channel Published Message Message List Expiration *All Marked in Red have been Implemented. 6

  8. Architectural Model 7

  9. Use Case Views 8

  10. Use Case Views 8

  11. Use Case Views 8

  12. Use Case Views 8

  13. Message State Diagram 9

  14. Overall Data Flow 10

  15. 11

  16. Architectural Layers 12

  17. 13

  18. Channel Types Guaranteed Channels Implemented with Delayed Jobs. Uses a Database as process queue. Fast Channels Implemented with Starling. Uses a MemCache as process queue.

  19. 15

  20. Class Diagrams 16

  21. 17

  22. 17

  23. 17

  24. 17

  25. 17

  26. 17

  27. 17

  28. 17

  29. 17

  30. Configuration Script 18

  31. Quality and Testing 19

  32. Code Statistics +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 88 | 68 | 3 | 6 | 2 | 9 | | Helpers | 5 | 4 | 0 | 0 | 0 | 0 | | Models | 91 | 74 | 2 | 15 | 7 | 2 | | Libraries | 326 | 272 | 5 | 49 | 9 | 3 | | Integration tests | 0 | 0 | 0 | 0 | 0 | 0 | | Unit tests | 4 | 3 | 1 | 0 | 0 | 0 | | Model specs | 241 | 200 | 0 | 3 | 0 | 64 | | View specs | 34 | 28 | 0 | 1 | 0 | 26 | | Controller specs | 140 | 113 | 0 | 3 | 0 | 35 | | Helper specs | 11 | 7 | 0 | 0 | 0 | 0 | | Library specs | 537 | 435 | 3 | 10 | 3 | 41 | | Routing specs | 63 | 49 | 0 | 0 | 0 | 0 | | Integration specs | 4 | 3 | 0 | 0 | 0 | 0 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 1544 | 1256 | 14 | 87 | 6 | 12 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 418 Test LOC: 838 Code to Test Ratio: 1:2.0

  33. RSpec Statistics 126 Tests written so far. Full code coverage. 836 Lines of Test Code. Code to Test Ratio 1:2

  34. Performance Testing Four different levels of message complexity Small - Integer - 3 Bytes Normal - Strings - 250 Bytes Large - Long Strings - 2.5 KB Huge - Long Strings - 25.5 KB

  35. Testing Configuration 3 to 7 BEOCAT Nodes Types of Tests: 1 Sender - 1 Receiver 3 Senders - 1 Receiver 3 Senders - 3 Receivers

  36. Testing Configuration RestGate Server Running in Separated Node. 1 WebServer Instance 7 Worker Processes Running Tests were performed with both Guaranteed and Fast Channels

  37. Guaranteed vs Fast Guaranteed Channel Fast Channel 4,000 3,000 2,000 1,000 0 Small Normal Large Huge 25

  38. Guaranteed Channel Bottleneck

  39. Testing Observations Fast channels perform around 10% faster than guaranteed channels. Most messages are delivered in around 1 second. The sender spends at most 150 ms to make a delivery request.

  40. Testing Observations Messages with non string fields are slower to process. Memory usage was around 2 GBs of RAM At most 7 processors were ever active for more than 1 minute.

  41. Testing Observations Guaranteed channels start slowing down in a linear manner as message size and congestion increases. Fast channels exhibited a stable behavior on all test cases.

  42. Questions?

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