TCP with Ruby on Rails

What I am after is a test implementation of a TCP server with RUBY on RAILS that we can use in the existing application. I want a Proof Of Concept implementation to show us how to do this properly. As such, we need basic control only, but we should be able to take your work and extend it.

In the existing project we have a list of a number of 'Lights'. Attached to each 'Light' is a 'Light Switch', which is a button on a web interface. When the user clicks on the Web interface for a light, we want the light to toggle. In our case the light is controlled via TCP. Each light will connect to a RUBY based TCP server, and stay connected. Once it connects, it will identify by the ID number of the light. Authentication is done by the fact it knows a valid ID number. The light will then stay connected. Then, whenever user changes the switch, the client will get a command via TCP saying "Light On" or "Light Off" as appropriate. In other words, notifications are pushed to the TCP server.

We have an implementation where a new TCP connection is made from the RAILS application to the TCP server every time the light switch changes, but think this can be done in a smarter way. We want to hear your ideas. Ideally some sort of database queue would be used as the communication mechanism. Please bear in mind that we may get to the point where we have hundreds of light switches, and want to make things as intelligent as possible

Skills: Engineering, Ruby, Ruby on Rails, Software Architecture, Telecommunications Engineering

See more: rails tcp, ruby rails tcp, ruby tcp, tcp rails, ruby tcp client, ruby tcp server, use case extend, ruby rails database, ruby rails case, extend use case, extend ruby rails, database queue, valid id, ruby rails authentication, rails time, case rails, tcp, tcp client, ruby on , toggle show, rails web application, ruby rails web, client tcp, tcp web server, rails toggle

About the Employer:
( 93 reviews ) Ingleburn, Australia

Project ID: #4599929

6 freelancers are bidding on average $249 for this job


I'm interested.

$200 AUD in 10 days
(39 Reviews)

Hi, I'm a developer from the United States. I would love to tackle this project. Please read PM for further details.

$111 AUD in 4 days
(13 Reviews)

Hello , Hope you are well and doing good!!! we are eager to work with [url removed, login to view] are ready to start the project right away. Codeware is a website development company providing professional website design, website developme More

$927 AUD in 15 days
(2 Reviews)

Hello, Hope you are doing well. We have a very strong team on ROR capable of handling complex application. Please check PMB for details. Thanks.

$222 AUD in 7 days
(0 Reviews)

Hello I am [url removed, login to view] in Computer Science Engineering, CCNA , CCNP in Router & Switch, working in a renowned Research & Development Organization for the past 5 years as a network Administrator .My expertise is in Networ More

$155 AUD in 3 days
(0 Reviews)

Hello, Myself Mahbub Rony, developing RoR application for last 1year. So much interested about your job. Have previous experience to work on HBS sever. Recently working on project to develop a Web Portal to operate More

$333 AUD in 5 days
(0 Reviews)

I am not sure that keeping TCP connection alive will do any benefits but let's try.

$472 AUD in 14 days
(0 Reviews)