![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
blend-memory
Advanced tools
A memory monitor and dashboard for Node.js application on development.
陈元广
blend-memory 是一个轻量级的 NodeJS 进程监控工具,它提供 进程内存、V8 堆空间内存、操作系统内存 三大维度的数据可视化展示。 前端部分,借助 Vue2 和 ChartJS 提供了一个不错的动态展示面板。
作者基于memeye内存监控工具,重写其dashboard文件夹中的index.js和server.js,以及lib文件夹中的Collector.js,实现了将监控基于主进程,虽然会对主进程造成一定的影响,使数据具有微小的偏差,但是可以针对线上单进程环境进行性能监控,且无需进行服务器多个安全组端口的开发
blend-memory 可以主进程中使用,进行数据收集器,可以在主进程的端口下进行数据展示页面的访问;方便在生产环境中的使用;
收集数据为单进程;无发收集分布式架构的数据 当前监控代码寄托在主进程中,对主进程具备一定的影响,数据相对真实;
Note: Memeye 暂时只支持单进程,NodeJS 分布式进程还不适用,所以不建议在产品环境使用。
运行下面命令安装 :
npm install blend-memory --save-dev
以express-generator生成的项目为例
. app.js文件
const {BMConfig} = require('blend-memory');
var app = express();
BMConfig(app);
. bin/www 文件
const {BMServer} = require('blend-memory');
app.set('port', port);
var server = https.createServer(app);
var io=BMServer(server) //返回一个io对象,项目中如果使用io对象,可以将此添加为全局,方便在其他模块应用
最后打开你的浏览器,输入下面地址:(blendMemory路径为界面路径)
http://localhost:3000/blendMemory
就这么简单!
Copyright (c) 2016-2020 chenyuanguang
FAQs
A memory monitor and dashboard for Node.js application on development.
The npm package blend-memory receives a total of 2 weekly downloads. As such, blend-memory popularity was classified as not popular.
We found that blend-memory demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.