D
D
Denis2015-09-08 14:33:52
ruby
Denis, 2015-09-08 14:33:52

Are there any proven architectural solutions in Ruby for running two server applications at the same time?

Are there any proven architectural solutions in Ruby for running two server applications at the same time?
For example:
1. open a stream with server_1
2. open a stream with server_2
3. in the main program body
3.1. wait for connection to server_1
3.2. process information from server_1
3.3. send information to server_2
repeat point 3
I tried to do it through streams, everything works on the local machine, on the hosting it doesn't. Can eat books what on the organization of such or similar architectures on ruby?
Denis

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Biggless, 2015-10-15
@Biggless

Is there a reason why it is impossible to make 3 separate applications that communicate with each other through any convenient transport?

D
Denis, 2015-10-19
@deni5n

It is possible, but running them on shared hosting is problematic. now I solved it through sockets, and on hosting I run it through screen. However, I was looking for proven solutions (

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question