Re: Ideas to simulate a multithreaded sockets server

2010-03-01 Thread Pierre Sahores
Seems realy cool and as long as a dedicated server will be used, Abyss httpd will be realy usefull ! Best Regards, P. Le 1 mars 10 à 12:18, Marcio Alexandroni a écrit : Hi, I made some progress on this topic and I think I Rev+CGI can do the job. While waiting for revServer, I decided t

Re: Ideas to simulate a multithreaded sockets server

2010-03-01 Thread Marcio Alexandroni
Hi, I made some progress on this topic and I think I Rev+CGI can do the job. While waiting for revServer, I decided to try CGI with Rev to see if it fits my needs. Of course, I had to use the 3.5 standalone engine, as v4.0.0 does not include the standalone engine anymore. First of all, I searche

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Marcio Alexandroni
> Reply-To: How to use Revolution > Date: Sat, 27 Feb 2010 17:04:05 +0100 > To: How to use Revolution > Subject: Re: Ideas to simulate a multithreaded sockets server > > Hi > > Yes, opening your own sockets is not possible with on-rev. > > If you're not using

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Björnke von Gierke
Hi Yes, opening your own sockets is not possible with on-rev. If you're not using on-rev: Using "accept ... with message" is the first (and most important) step to get rev handle several connections concurrently. the second step is to always use read/write "with message", because otherwise it

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Marcio Alexandroni
ain, thanks for your ideas on it. Regards, Marcio Alexandroni www.cialogica.com.br ( (+55 11) 9989-8316 Skype: marcioalexandroni Brasil -- > From: Bernard Devlin > Reply-To: How to use Revolution > Date: Sat, 27 Feb 2010 14:04:50 + > To: How to use Revolution &g

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Bernard Devlin
On Sat, Feb 27, 2010 at 11:17 AM, Marcio Alexandroni wrote: > I've been reading about Rev and CGI, but I read on rev Forums that the > necessary standalone engine necessary for the cgi-bin support is available > only on Rev <= 3.5, the new versions do not have the standalone engine > anymore. Do y

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Pierre Sahores
Best Regards, P. Regards, Marcio Alexandroni ( (+55 11) 9989-8316 Skype marcioalexandroni Brasil -- From: Pierre Sahores Reply-To: How to use Revolution Date: Sat, 27 Feb 2010 13:21:13 +0100 To: How to use Revolution Subject: Re: Ideas to simulate a multithreaded sockets server Mar

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Marcio Alexandroni
8316 Skype marcioalexandroni Brasil -- > From: Pierre Sahores > Reply-To: How to use Revolution > Date: Sat, 27 Feb 2010 13:21:13 +0100 > To: How to use Revolution > Subject: Re: Ideas to simulate a multithreaded sockets server > > Marcio, > > Le 27 févr. 10 à 12:31,

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Pierre Sahores
Marcio, Le 27 févr. 10 à 12:31, Marcio Alexandroni a écrit : I visited the page about the mechanism you pointed, but in that case it has an Apache/PHP server that handles multiple concurrent connections but it ends up passing the request to a Rev application using Sockets that will cause

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Pierre Sahores
Reply-To: How to use Revolution Date: Sat, 27 Feb 2010 09:43:17 + To: How to use Revolution Subject: Re: Ideas to simulate a multithreaded sockets server On Fri, Feb 26, 2010 at 6:28 PM, Marcio Alexandroni wrote: The applications runs pure TCP/IP with a custom protocol to exchange data and

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Marcio Alexandroni
010 09:43:17 + > To: How to use Revolution > Subject: Re: Ideas to simulate a multithreaded sockets server > > On Fri, Feb 26, 2010 at 6:28 PM, Marcio Alexandroni > wrote: >> The applications runs pure TCP/IP with a custom protocol to exchange data >> and it handles

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Marcio Alexandroni
o use Revolution > Date: Sat, 27 Feb 2010 09:43:17 + > To: How to use Revolution > Subject: Re: Ideas to simulate a multithreaded sockets server > > On Fri, Feb 26, 2010 at 6:28 PM, Marcio Alexandroni > wrote: >> The applications runs pure TCP/IP with a custom

Re: Ideas to simulate a multithreaded sockets server

2010-02-27 Thread Bernard Devlin
On Fri, Feb 26, 2010 at 6:28 PM, Marcio Alexandroni wrote: > The applications runs pure TCP/IP with a custom protocol to exchange data > and it handles dozens of simultaneous calls at the same time, this is why it > must be multithreaded, the queuing will not work in this case because of the > tim

Re: Ideas to simulate a multithreaded sockets server

2010-02-26 Thread Marcio Alexandroni
droni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: Andre Garzia > Reply-To: How to use Revolution > Date: Fri, 26 Feb 2010 15:15:39 -0300 > To: How to use Revolution > Subject: Re: Ideas to simulate a multithreaded sockets server > > Oi Marcio, > &g

Re: Ideas to simulate a multithreaded sockets server

2010-02-26 Thread Andre Garzia
Oi Marcio, I think you're now officially the second Brazilian using Revolution. Right now Rev is single threaded and that is all. What you could build is a pool of Rev processes coordinated by a master process. So you could have a Linux standalone launch multiple socket servers and then play the r

Ideas to simulate a multithreaded sockets server

2010-02-26 Thread Marcio Alexandroni
Hi, I'm currently building a new version of a product that has 3 modules: * A sockets server that operates the application logic. * The administration module which communicates with the server using sockets to set properties. * The PDA module that is actually what users interact and that also co