Archived

This forum has been archived. Please start a new discussion on GitHub.

is IcePy conCurrency enabled.

In IcePy demo/callback the server only tend one client at a time in sequnential manner, Is it possible to configure/enable the server to handle multiple client request at the same time.

Comments

  • mes
    mes California
    Hi,

    The default configuration for Ice's server-side thread pool uses only one thread. You can increase this value by setting Ice.ThreadPool.Server.SizeMax to a larger value. See the Ice manual for more details.

    Also note that the Python interpreter uses a "global interpreter lock" that essentially serializes all access to the interpreter. The interpreter is thread-safe, but it only allows one thread at a time to be active in the interpreter. Whether this limitation has any impact in your situation depends greatly on what your application is doing.

    Take care,
    - Mark