EventsSourcing-on-Azure-Functions icon indicating copy to clipboard operation
EventsSourcing-on-Azure-Functions copied to clipboard

Projections on demand

Open MerrionComputing opened this issue 6 years ago • 3 comments

An intriguing side effect of the "a command or query instance is an entity with its own backing event stream" combined with "notifications are sent when an event is appended to an event stream" is that a projection request can be handled by an azure function spun up specifically for that purpose without the need for an orchestration.

This will allow projections to be executed as a "swarm"..

MerrionComputing avatar Nov 17 '19 19:11 MerrionComputing

(This will also apply to classifiers which are, after all, just specialist projections )

MerrionComputing avatar Nov 18 '19 21:11 MerrionComputing

Projection events are:
Projection Requested - when a command or query decides it needs a classifier done Projection Result Returned - when the classifier result is returned to the command or query

MerrionComputing avatar Dec 13 '19 20:12 MerrionComputing

This is going to need some way of new-ing up a projection instance from the projection type name as I don't want to use the CLR class names explicitly as that would lock-in the implementation to the data.

(No reason why someone might want to use a totally different technology to run projections on demand)

MerrionComputing avatar Aug 16 '20 09:08 MerrionComputing