What Should I Use (Notification/Events) To Send Data From Application Server To End Points (Devices) and vice versa Using KAA Middleware
<p>As per the KAA references, I understand that once should only use the Notification feature, When it required to send data from server (External apps) to endpoints and Events are only used when there is a need for endpoint to endpoint communication (kind of device binding requirement)</p>

<p>So, To achieve request/response functionality using KAA. I need to implement any hybrid solutions like as below.</p>

<p><strong>1)</strong> In my server, I can run one KAA SDK instance and use the event feature for request to the endpoint and response from the endpoint.</p>

<p>OR</p>

<p><strong>2)</strong> From my server, I use the notification REST API for request and get the response back through the data logger feature using any in-build appender by configuring "LogUploadStrategy" as to uploads every log record as soon as it is created.</p>

<p><strong>Notes For Point 1</strong></p>

<ul>
<li><p>As per Andrew, Solutions Architect of Kaa IoT platform</p>

<p>"You can always embed an SDK to a standalone application and host in
on the same server where kaa-node is present. This application may
receive REST API calls and forward them to particular endpoints via
Kaa events feature. However, this is useful for test purposes. I
would not recommend this solution in production because it is hard to
scale and has potential security issues"</p></li>
</ul>

<p><strong>Notes For Point 2</strong></p>

<ul>
<li>It satisfies the KAA reference document as well as Andrew's suggestion for request only but how can i achieve the response.</li>
</ul>

<p><strong>Questions For Point 1</strong></p>

<p>1) What causes to scale the application and what type of security issues it faces even through it uses RSA 2048 encryption for communication?</p>

<p>2) Can we embed more then one SDK in standalone application and host in on the same server where kaa-node is present.</p>

<p><strong>Questions For Point 2</strong></p>

<p>3) if device sends the notification response along with the telemetry data, can it increase the latency and any other performance issue. </p>

<p><strong>Common Questions</strong> </p>

<p>4) Which one is the better approach to achieve request/response functionality?</p>

<p><strong>Any help or suggestion is really appreciated.</strong> </p>