Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 59b787bbfd3edfc5af527701d2ed82b19876738f
Ticket: 533301ffffffffffffffffffffffffffffffffff
fconfigure -peername very slow
User & Date: dkf on 2002-04-08 16:22:10
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    There's no parameter for timeout on standard getXbyY calls
    (nor any guarantee on what underlying lookup mechanism will
    be used; I know of systems that use host files, DNS and
    NIS+, and could well believe it if others used LDAP or
    something equally horrific) and they are all synchronous.
    
    This sucks, but it is not our fault. :^(
    
    Suggested fix: helper processes/threads, perhaps with a
    clever cache (with timed expiry) as well.  There are a
    number of interesting issues with how you bind this into Tcl
    though, particularly in relation to async socket handling
    and whether people should be penalized for information they
    don't look at...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"