B4J Question Best performance for my Webserver

Discussion in 'B4J Questions' started by schimanski, Jun 14, 2015.

  1. schimanski

    schimanski Well-Known Member Licensed User

    I don't have plenty of experience with web-servers under b4j, but now, i wan't to use one. I want to make a webserver with different tasks. I use Erel's b4x push-server and starts also a fileserver. PushServerPort and Fileserver-Port are the same. Is this a problem with regard to the performance?

    My second question is: I wan't the same server-app to listen on another port to a serversocket for incomming connections of gps-clients to read the inputstreams and send this data to a third port with outputstreams.
    Is it better to make another serverapp for this or can i handle all tasks in one app?

    Perhaps, someone knows something about the performances....

    Thanks for your efforts....
  2. Erel

    Erel Administrator Staff Member Licensed User

    Each server must use a unique port. However a single server can handle many tasks. There is no need to split it into multiple servers.
    schimanski likes this.