Results 1 to 2 of 2

Thread: is IcePy conCurrency enabled.

  1. #1
    alexm is offline Registered User
    Name: Eskinder Alex Mesfin
    Organization: Medtronic, Inc.
    Project: www.medtronic.com
    Join Date
    Apr 2006
    Location
    In Minneapolis, Mn
    Posts
    16

    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.
    Alex Mesfin
    Medtronic, Inc.
    www.medtronic.com

  2. #2
    mes's Avatar
    mes
    mes is online now ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ice concurrency load handling...
    By raulgd in forum Help Center
    Replies: 3
    Last Post: 04-07-2011, 05:08 PM
  2. ThreadPools and Concurrency
    By surajrai in forum Help Center
    Replies: 5
    Last Post: 01-01-2008, 03:49 AM
  3. concurrency access with Freeze Map
    By fanson in forum Help Center
    Replies: 14
    Last Post: 11-09-2007, 05:29 AM
  4. Thread support not enabled
    By chenhong_sz in forum Help Center
    Replies: 7
    Last Post: 10-12-2004, 08:36 AM
  5. 'Thread support not enabled' error
    By dthomson in forum Bug Reports
    Replies: 5
    Last Post: 02-22-2003, 07:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •