Results 1 to 1 of 1

Thread: Multithreaded Fortune Server Qt Example program

  1. #1
    Join Date
    Jun 2017
    Posts
    19
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Multithreaded Fortune Server Qt Example program

    Qt software has three example programs FortuneServer, FortuneClient and MultithreadedFortuneServer.

    These Server and Client programs use TCP/IP protocol to communicate with each other.

    multithreaded_fortune_server_screen_01.PNG

    Muliple instances of FortuneClient can be run against the FortuneServer or MultithreadedServer programs as shown on the above screen capture.

    I have a computer with one CPU. But this CPU has 4 cores.

    My question is:
    Can this multithreaded Fortune Server example program respond to many, many more number of simultaneously running Fortune Client programs than the non-threaded Fortune Server?

    If yes, how can I prove (i.e. test) how many more client queries, threaded Fortune Server can respond to versus non-threaded Fortune server example program can respond to, without this fortune server program becoming very, very slow in giving response to client program?

    Can I use QT Test class to test this fortune server and/or fortune client and draw a fortune server response duration versus number of clients graph?

    Any Qt example program that already exists to compute this kind of performance data please?

    Or any high level steps or Qt/C++ code please?

    Thanks
    Last edited by Mike_m; 28th July 2017 at 14:39.

Similar Threads

  1. Fortune Server and Client Example Programs
    By Mike_m in forum Qt Programming
    Replies: 8
    Last Post: 28th July 2017, 13:35
  2. Implementing a Fortune Server
    By KeineAhnung in forum Newbie
    Replies: 6
    Last Post: 20th June 2014, 18:05
  3. Fortune Server example
    By babu198649 in forum Newbie
    Replies: 2
    Last Post: 19th February 2011, 10:04
  4. Trouble Applying the Fortune Threaded Server
    By dhice in forum Qt Programming
    Replies: 7
    Last Post: 18th April 2009, 23:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.