SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 06/04/2018, 11:42 PM   #21
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 725
Reputation: 53
Default Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

shit.. I didn't even know you could code a full UCP via node.js.. I always hear about node.js, but for some reason I tend to avoid diving into learning it.. maybe I'm a die-hard Pawno/MySQL/PHP/HTML..

anyways.. I wonder how it does on performance, is it generally the same resource intensive as a standard PHP/MySQL UCP? also, would it integrate into apache2.conf/httpd.conf config as a subdomain on a standard apache2 installation?
__________________
Chaprnks is offline   Reply With Quote
Old 07/04/2018, 06:24 PM   #22
BroZeus
High-roller
 
BroZeus's Avatar
 
Join Date: Jan 2014
Location: India
Posts: 1,412
Reputation: 173
Default Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

Quote:
Originally Posted by Chaprnks View Post
shit.. I didn't even know you could code a full UCP via node.js.. I always hear about node.js, but for some reason I tend to avoid diving into learning it.. maybe I'm a die-hard Pawno/MySQL/PHP/HTML..

anyways.. I wonder how it does on performance, is it generally the same resource intensive as a standard PHP/MySQL UCP? also, would it integrate into apache2.conf/httpd.conf config as a subdomain on a standard apache2 installation?
After few days of uptime, its ram usage is at 36mb and CPU usage is less than 1% on the server that the demo is currently on, however, RAM usage seems to be more when the app is running in Windows.

As of raw performance, you can g000gle and see the benchmarks yourself, nodejs is faster in almost all scenarios.

And yes you can use apache to configure a subdomain and redirect the traffic to nodejs app, just g0ogle how to reverse proxy a subdomain to nodejs app using apache, you can also configure the apache to serve public static files to have a better performance.
__________________


"Be the change that you wish to see in the world."

Check out my Github profile!
BroZeus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Node/Pathfinding Calculator jeffery30162 Scripting Help 4 04/04/2016 02:16 PM
Help FCNPC NODE POINT DarkZeroX Scripting Help 2 28/06/2014 06:04 PM
FCNPC Node Help Weponz Scripting Help 0 11/06/2014 12:50 PM
GTA SA Pedestrian Node Help reiss82 Scripting Help 1 06/09/2012 06:20 PM


All times are GMT. The time now is 04:19 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.