Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103344 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 99283 invoked from network); 19 Oct 2018 22:25:15 -0000 Received: from unknown (HELO mail-oi1-f174.google.com) (209.85.167.174) by pb1.pair.com with SMTP; 19 Oct 2018 22:25:15 -0000 Received: by mail-oi1-f174.google.com with SMTP id u74-v6so27565637oia.11 for ; Fri, 19 Oct 2018 11:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lerdorf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L9O9dZXzxqtMV316+DncGYckRV8W/0f6l+cG41hyJ8w=; b=079lY2bHXd1p4i78td2XnXSGcXnTpdddDZ/fHhr93rq18uKXqn0A8ujVq5ktxqZs+Y QE6qebFC/ttDGW2HYjmGfOwtJYOfvgs6ivFabyocZQ9hzFfsfvP4WvDlLQN6IYcO8eaU tNmP3FkwszKhL9OHBJTQmdbrshDIKMuKHEspdkOXDDIUKCavQbQje6XV7FgBY7zmgsEd YRQgJnCBPzdXYOeTiYOGk5IMzp7ddq467BNTDiHd57grVkWNTBcNIFyUz/e+8Sr385iy +Pe6x2dggl1EE1OYbGRfQU8mlDuRD75Ru6gtv/UqZSHDbQHDMpOAk266fX39RUpiYx7W jRdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L9O9dZXzxqtMV316+DncGYckRV8W/0f6l+cG41hyJ8w=; b=at+oV8loS3SFV85OLkJmVJdjCqJqJp2j6iLQhJEbygsoAVwCIsPbwd/8CyZhrgx8OP 43eCN3ZfU6X2bONb2oEcdEKgJbUiK+uGUCxOMeAv0m85cz5o48bI9nAM1bdHlD/3c0NB 2T5PP+Y7Mp3t49pGPtpzhzjIsaSPif/UAI4UqISAQOFjbgnr/xDNVA369ZhoxGW3bnIt p7mNKUqjZvSGlnT8ZgRwz/zCN+QY98X29MLD7hrg5cJnng0hNjClyu4aEEduB40N2q4u 50ByY5tPUNAIonDWLXrDOyw1rAN8iw1PubL1g3AwrSlU9iKMSo0gJLsO7+hXtt+O5R3Y Gp3Q== X-Gm-Message-State: ABuFfoice7e6zxJWYm9I3Eth/FJ2fsTS+du5LWfXtWGM7pgpRQaQoNDH itAJOXDE7ohojxOIvMZOmOY77laPlNiPpOopTjA3Vd9MBLY= X-Google-Smtp-Source: ACcGV619BAPpjub8RKMzjLqWenKO1FM9kLw/AXPVoq7h7j7lJpXOZvFPorZOszm+zMxc4j3VJ8yv4I8d8omLW92sx44= X-Received: by 2002:aca:674c:: with SMTP id b12-v6mr20162261oiy.157.1539974351373; Fri, 19 Oct 2018 11:39:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:95eb:0:0:0:0:0 with HTTP; Fri, 19 Oct 2018 11:38:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Oct 2018 11:38:30 -0700 Message-ID: To: Dmitry Stogov Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000002d5b650578993870" Subject: Re: [PHP-DEV] [RFC] Preloading From: rasmus@lerdorf.com (Rasmus Lerdorf) --0000000000002d5b650578993870 Content-Type: text/plain; charset="UTF-8" On Fri, Oct 19, 2018 at 1:17 AM, Dmitry Stogov wrote: > Hi Internals, > > I would like to start discussion on a Preloadng RFC > https://wiki.php.net/rfc/preload > > This technology would allow loading some PHP files on server startup and > make all the defined classes and functions to be permanently available in > the context of future request (without any includes). Despite of > performance improvement, this technology is going to be used in conjunction > with ext/FFI and JIT. > > > The implementation is not 100% complete, it misses support for ZTS, > because of a error in ZTS interned strings implementation. > > I'll try to fix this in nearest week(s). > Definitely cool. I think it is going to make the file-cache more important as deploy mechanisms are now going to be more likely to do a full cache reset on a deploy so being able to quickly repopulate the shared memory cache from the file cache might help lessen the perf hit of the cache reset. -Rasmus --0000000000002d5b650578993870--