阅读背景:

如何执行密集节点。js计算

来源:互联网 

I am working on an e-commerce app that has to re-calculate pricing for products every time products are sent from the server to the client (up to thousands of products are sent each time). The calculation piece itself is fairly intensive since it requires multiple database queries to calculate. My naive solution is to abstract the calculation part onto another node.js app/server that is solely dedicated to calculations. Does anyone know of a better or more scalable/optimal way to do this?I am working on an e-commerce app that has to r




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: