NapaJS for ethereum transactions
I'm completely new to Napa.js. I want to compare the efficiency of napa.js with node.js in terms of making and storing ethereum transactions. Some steps would be to make https requests for a node to make an ethereum transaction. Does Napa.js currenlty support the https , 'express' and web3 modules that Node.js has?
If these modules are not supported by Napa yet, is it possible to combine napa and node zones to still achieve the multi-threading effect?
Thanks!
Hi, have you got any experience about?
v0.4.0-pre has limited support on node built-in modules.
However, it is not necessary to use 'https' and other node's IO modules in napa zones/workers. A typical pattern is to handle request in main thread and dispatch the process work to zone via zone.execute(). I am not familiar with ethereum; if handling ethereum transactions requires heavy javascript computation, this pattern should work well.