# Websocket for real time high performant SCADA

**URL:** <https://forum.inductiveautomation.com/t/websocket-for-real-time-high-performant-scada/18194>\
**Category:** General Discussion\
**Created:** [May 29, 2018, 4:56am UTC](https://forum.inductiveautomation.com/t/websocket-for-real-time-high-performant-scada/18194 "2018-05-29T04:56:31Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [June 1, 2018, 12:56am UTC](https://forum.inductiveautomation.com/t/websocket-for-real-time-high-performant-scada/18194/33 "2018-06-01T00:56:46Z")

</div>

> [@PRAMANJ](#):
>
> So basically NJSCADA and Ignitions are two back to back servers communicating with each other on a TCP socket on request / response basis.

Found it interesting/ Looks like something similar to what you are doing with NJSCADA.

> [@Alarm data integration](http://forum.inductiveautomation.com/t/alarm-data-integration/17544/6):
>
> Thank you for tips and links. Simple and efficient way could be also using pure Tcp connection, and some binary protocol. import SocketServer import time class MyTCPHandler(SocketServer.BaseRequestHandler): def handle(self): self.data = self.request.recv(1024).strip() print self.data #read data from connection, parameters f.ex. #and here alarm data could be read and sent to active connection self.request.send(self.data.upper()) time.sleep(2) #connection is closed after sending data b…

---

_[View the full topic](https://forum.inductiveautomation.com/t/websocket-for-real-time-high-performant-scada/18194)._
