Home Help Center

is IcePy conCurrency enabled.

alexmalexm Member Eskinder Alex MesfinOrganization: Medtronic, Inc.Project: www.medtronic.com
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

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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
Sign In or Register to comment.