From owner-freebsd-questions@freebsd.org Mon Mar 23 16:58:26 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D45FD268689 for ; Mon, 23 Mar 2020 16:58:26 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48mLDd4tnWz4NMv for ; Mon, 23 Mar 2020 16:58:25 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id b7ced8ff (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 23 Mar 2020 16:58:18 +0000 (UTC) Subject: Re: NodeJS on FreeBSD To: Ihor Antonov , freebsd-questions@freebsd.org References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> From: Pete Wright Message-ID: <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> Date: Mon, 23 Mar 2020 09:58:17 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48mLDd4tnWz4NMv X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.75)[ip: (-9.27), ipnet: 174.136.96.0/20(-4.06), asn: 25795(-0.40), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2020 16:58:26 -0000 On 3/20/20 9:40 PM, Ihor Antonov wrote: > Hello everyone! > > I have a need to run Javascript (NodeJS 12) application. Does anyone > have experience running this on FreeBSD? Does NodeJS perform well/stable > on FreeBSD? If so then please share your feedback. I've used it (and periodically continue to do so) to run node services.  It is pretty stable and performant, unfortunately the upstream development community has historically had a negative attitude towards the BSD's which I think we've tried to address. i've been fortunate enough to steer developers away from node.js as a server platform for highly loaded systems though, as I find the debugging node apps to be difficult in the best of times. I also use it extensively for development workflows, for example building webpack bundles which are distributed to webservers.  This mostly just works except for the random npm package that is brain dead. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA