On Thu, Aug 17, 2017 at 10:44 AM, Yasser Zamani <[email protected]> wrote:
> Or if for example we can run interceptors in parallel.

That would require developer knowledge since some interceptors are strictly
order-dependent. Not impossible, but would require explicit configuration.

The only real place I can see actors being helpful (without thinking hard
about it) is once the request has hit an action and the action is doing multiple
things that would be easily parallelizable, e.g., if it's hitting a
bunch of endpoints
or doing mutually-exclusive DB lookups etc.

Running requests in parallel to actors is fine, but there are already solutions
for spreading requests over cores/processes.

Shoveling off stuff like logging/analytics etc. into actors is also
fine, but I'm
not sure we'd want to put that into Struts Proper, and don't we already have
a logging layer that would allow async logging? (I don't recall.)

Dave

-- 
e: [email protected]
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton
b: Bucky Bits
g: davelnewton
so: Dave Newton

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to