|
|
|
|
|
by jacobp100
176 days ago
|
|
This basically makes a rust server to do the routing, then uses the Boa JS engine to evaluate the JS to handle the route With this approach, you might be able to do some multithreading to improve the throughput However, each request is almost guaranteed to be slower because V8 will be faster than Boa You could also achieve this by spinning up multiple NodeJS instances and putting an nginx server in front to do load balancing - which is pretty standard practice |
|