<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Server Communication System</title><link>https://sourceforge.net/p/fastfixrsm/wiki/Server%2520Communication%2520System/</link><description>Recent changes to Server Communication System</description><atom:link href="https://sourceforge.net/p/fastfixrsm/wiki/Server%20Communication%20System/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 03 Apr 2013 13:32:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fastfixrsm/wiki/Server%20Communication%20System/feed" rel="self" type="application/rss+xml"/><item><title>Server Communication System modified by Carmen Calle</title><link>https://sourceforge.net/p/fastfixrsm/wiki/Server%2520Communication%2520System/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -19,11 +19,11 @@
 S2 can provide information about existing systems. From our perspective, the best option would be a non-OSGi component for client-server communication, and a message broker in the server, like ActiveMQ or similar, for queuing purposes. We have been performing a study to rate the most efficient communication protocols to send events from client to server. These are the results, with 1000 messages and 3 fields each:

 &lt;code&gt;
-TCP     Messages sent through pure TCP sockets, serialized with Protocol Buffers.                       1,5 secs        666 messages per second
-STOMP   Messages sent through JMS broker, with STOMP protocol. Messages serialized with JSON            2,02 secs       495 messages per second
-REST    Messages sent through HTTP requests, serialized with JSON.                                      7 secs          142 messages per second
-SOAP    Messages sent through web services                                                             21 secs           47 messages per second
-XMLRPC  Messages sent through XML-RPC                                                                  66 secs           15 messages per second
+TCP         Messages sent through pure TCP sockets, serialized with Protocol Buffers.                       1,5 secs        666 messages per second
+STOMP       Messages sent through JMS broker, with STOMP protocol. Messages serialized with JSON            2,02 secs       495 messages per second
+REST        Messages sent through HTTP requests, serialized with JSON.                                      7 secs          142 messages per second
+SOAP        Messages sent through web services                                                             21 secs           47 messages per second
+XMLRPC      Messages sent through XML-RPC                                                                  66 secs           15 messages per second
 &lt;/code&gt;

 -    Sync / Async communication?
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carmen Calle</dc:creator><pubDate>Wed, 03 Apr 2013 13:32:26 -0000</pubDate><guid>https://sourceforge.net631c40694610747505bdea3c34d38dbc5d139e0e</guid></item><item><title>Server Communication System modified by Carmen Calle</title><link>https://sourceforge.net/p/fastfixrsm/wiki/Server%2520Communication%2520System/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -14,7 +14,7 @@
     -    Notify() method 
 ###Open Questions and Doubts

--    NEED for an existing bus system: Event Correlation needs strictly asynchronous message oriented design for communication and interaction. OSGi bundles provide interfaces for communication between any of these bundles but, regarding context events, communication must be event-driven and the amount of the received events can be huge, and this requires the management of message queues (and a message bus). What messaging standard should we use? JMS? What enterprise service bus can we use to provide event information? 
+-    **NEED for an existing bus system**: Event Correlation needs strictly asynchronous message oriented design for communication and interaction. OSGi bundles provide interfaces for communication between any of these bundles but, regarding context events, communication must be event-driven and the amount of the received events can be huge, and this requires the management of message queues (and a message bus). What messaging standard should we use? JMS? What enterprise service bus can we use to provide event information? 

 S2 can provide information about existing systems. From our perspective, the best option would be a non-OSGi component for client-server communication, and a message broker in the server, like ActiveMQ or similar, for queuing purposes. We have been performing a study to rate the most efficient communication protocols to send events from client to server. These are the results, with 1000 messages and 3 fields each:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carmen Calle</dc:creator><pubDate>Wed, 03 Apr 2013 13:31:16 -0000</pubDate><guid>https://sourceforge.net6a351d32b0e5b75933d4244a0e65a9722b8bb4d1</guid></item><item><title>Server Communication System modified by Carmen Calle</title><link>https://sourceforge.net/p/fastfixrsm/wiki/Server%2520Communication%2520System/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#executive-summary"&gt;Executive Summary&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#services-provided"&gt;Services Provided&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#services-needed"&gt;Services Needed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#open-questions-and-doubts"&gt;Open Questions and Doubts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#shared-data-structures"&gt;Shared Data Structures&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#component-specific-errors"&gt;Component-specific Errors&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#limitations"&gt;Limitations&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h3 id="executive-summary"&gt;Executive Summary&lt;/h3&gt;
&lt;p&gt;The communication system adds a transparency layer on the network connection between the FastFix client and server platforms. It includes functionality to exchange data between the FastFix client platform and the FastFix server platform.&lt;/p&gt;
&lt;h3 id="services-provided"&gt;Services Provided&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Send data to FastFix client&lt;/li&gt;
&lt;li&gt;Register for notification in case of new messages from client&lt;/li&gt;
&lt;li&gt;Notify listeners &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="services-needed"&gt;Services Needed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;From Listeners:&lt;ul&gt;
&lt;li&gt;Notify() method &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="open-questions-and-doubts"&gt;Open Questions and Doubts&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;NEED for an existing bus system: Event Correlation needs strictly asynchronous message oriented design for communication and interaction. OSGi bundles provide interfaces for communication between any of these bundles but, regarding context events, communication must be event-driven and the amount of the received events can be huge, and this requires the management of message queues (and a message bus). What messaging standard should we use? JMS? What enterprise service bus can we use to provide event information? &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;S2 can provide information about existing systems. From our perspective, the best option would be a non-OSGi component for client-server communication, and a message broker in the server, like ActiveMQ or similar, for queuing purposes. We have been performing a study to rate the most efficient communication protocols to send events from client to server. These are the results, with 1000 messages and 3 fields each:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
TCP     Messages sent through pure TCP sockets, serialized with Protocol Buffers.                       1,5 secs        666 messages per second&lt;br /&gt;
STOMP   Messages sent through JMS broker, with STOMP protocol. Messages serialized with JSON            2,02 secs       495 messages per second&lt;br /&gt;
REST    Messages sent through HTTP requests, serialized with JSON.                                      7 secs          142 messages per second&lt;br /&gt;
SOAP    Messages sent through web services                                                             21 secs           47 messages per second&lt;br /&gt;
XMLRPC  Messages sent through XML-RPC                                                                  66 secs           15 messages per second&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sync / Async communication?&lt;/li&gt;
&lt;li&gt;Distributed OSGi? &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="shared-data-structures"&gt;Shared Data Structures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Message: Will serve as a container for messages that arrive from the server. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="component-specific-errors"&gt;Component-specific Errors&lt;/h3&gt;
&lt;p&gt;see &lt;a class="alink" href="/p/fastfixrsm/wiki/Component%20Specific%20Error%20Types/"&gt;[Component Specific Error Types]&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="limitations"&gt;Limitations&lt;/h3&gt;
&lt;p&gt;see &lt;a class="alink" href="/p/fastfixrsm/wiki/Component%20Limitations/"&gt;[Component Limitations]&lt;/a&gt; &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carmen Calle</dc:creator><pubDate>Wed, 03 Apr 2013 13:30:56 -0000</pubDate><guid>https://sourceforge.net55f252128c617f48426209d5652bf1386f86ea5f</guid></item></channel></rss>