From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 939217884B for ; Mon, 8 Dec 2014 23:55:03 -0800 (PST) Received: by mail-wg0-f52.google.com with SMTP id x12so50747wgg.39 for ; Mon, 08 Dec 2014 23:53:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=uzyNH538iS14WzQTeKZxf7FPDSKEgDzM7LH2KOUTBN8=; b=HF3fMZGqg0alCBvh0yrHIU+uakfkVv7vnec/HdPHdWhPdc9FzGiuCXqnUoUX0rT37Z bVPNUeLD2hBd35AhplyH4POLd6Nm7EBiRoq/fhJOFMCTvEuK2vA8KD2yYeVoKpjOKHdD VRV/dF9tWM8eMIuBy9sLo01nlXfdVLMdF5SLmsSRos19gi4SWwnhIwMv9lElutlGfoZp 3eeSiNikaLuDo82ZcDx98gb++Svm7PLwLDUxpnjvPBLDIadAVoerUj6fonNtlTpuPUvJ +E675p5/pIGHi9/mzKDrtJUVb10A0S7ODAXsOQzUzOpMdhtPEH/lhos8w7EbnkZGl5Kw mcIg== X-Received: by 10.180.76.231 with SMTP id n7mr2015590wiw.80.1418111595643; Mon, 08 Dec 2014 23:53:15 -0800 (PST) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id mv6sm12730836wib.1.2014.12.08.23.53.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 23:53:14 -0800 (PST) Date: Tue, 9 Dec 2014 07:53:11 +0000 From: Adam Thompson To: Karl Dahlke Message-ID: <20141209075311.GQ14122@toaster.adamthompson.me.uk> References: <20141108142720.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kPJUzav3owWaKxsz" Content-Disposition: inline In-Reply-To: <20141108142720.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] interprocess messages X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 07:55:04 -0000 --kPJUzav3owWaKxsz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Dec 08, 2014 at 02:27:20PM -0500, Karl Dahlke wrote: > As promised, here are some thoughts on messages between eb and the back-end > js process. > Please remember that this is intended as increment, > and so there are messsages to do the things we do today, > while other messages and functionality will come later. Ok, how are you planning on implementing this in terms of ipc? Pipes, sockets or message queues would be the three I'd think of here. Also, with the aim of incrementing in the right direction, how would this play with blocking calls, and the ability to run js asynchronously? If we're going to do this kind of redesign we need to look at this stuff or in a few years edbrowse will be basically unusable on the internet due to the (often ridiculous) amount of ajax and friends being used on modern websites. The more I think about how this is going to work, the more I think we need to look at dynamically managing the js heap and having a js process per session (at least) in order to make things work on the modern internet. Cheers, Adam. --kPJUzav3owWaKxsz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUhqpnAAoJELZ22lNQBzHO6awIAJfkVLXc/4Qwlnqd4jm9FFdO prdSEnVxYMF+uScekWtEed+Zhl/R28QP+jZD5EBYUg1aH3SZGYludHVpsGyU8piR GjJKqsmk5xTaA+S0t5mbrhMSJptcMU5He9V+p+am3RfOu7Na6o2uXmNwNYGnUR6y tkjsjltSGWT4sB4sugsYARbzarGi//LhDvB90qVbQGlqGWmi9wybCP0ua/vFqIa6 RA6kmc5LPOf0G2b5Iokuh/pmVg96uoyL5d4rryH3oQAzhi4JcN6K3gNmPJ0H1F4s /AoS0lEk/0HTrnT/fa7uH3ejHb+8h4lkXwiqbkszXpE9PtuM44h33ENiknVeofA= =a07A -----END PGP SIGNATURE----- --kPJUzav3owWaKxsz--