Multithreaded servers

    Joined
    Jul 13, 2014
    Messages
    5
    Reaction score
    1
    I was just wondering, what's keeping the server application from being multithreaded?

    With one core on a decent CPU, you can reliably host 30 to 40 clients before things lag. Now, Starmades very nature lends itself the opportunity to be a very good multithreaded server, simply by the fact everything is split up into zones and systems.

    What's stopping the devs from splitting execution in each system, zone etc. onto separate threads?
     

    therimmer96

    The Cake Network Staff Senior button unpusher
    Joined
    Jun 21, 2013
    Messages
    3,603
    Reaction score
    1,053
    [25/10/2014 15:43:36] Schema: threads use any CPU they can get. but only for the stuff where threads are used. normally the cpu should manage sharing
     
    Joined
    Jul 21, 2013
    Messages
    2,932
    Reaction score
    460
    • Hardware Store
    What does need multithreading though is the serverside client connector. It shouldn't block the entire network thread if a ping doesn't return in time. And yes, this is a known bug deeply rooted in the networking code.