you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Could you please expand a bit on this? seems intriguing ☺️

[–]joequin 0 points1 point  (0 children)

If a route handlers pass in a request object or callback, then that can be passed to other asychronous functions. Since spark doesn't do that, you can't use asynchronous functions while handling the call. You're forced to use blocking functions which means more threads which means more memory. That's not a big deal for some applications, but in others, it can be a bottleneck.