Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 d3-node.js-mongodb 管道设置,用于可视化 mongo db 中的数据。我有一个大小约为 1 GB 的数据表。加载可视化大约需要 20 秒,api 也需要相同的时间来显示获取的数据。
有什么方法可以加快速度吗?
我尝试使用 pm2,但没有获得性能提升,而且无论我做什么,它总是会在 fork 模式下运行我的应用程序。我在 Windows 机器上运行节点版本 .12。
谢谢你。安莫尔