I’m fascinated about the CQRS architecture and I’m playing around with it in a small PHP framework I’m using. To store and fetch events I’m using the event store and the HTTP API. This works fine.
Reading an event stream I’m paginating through events as described in the wiki. This is pretty slow since an aggregate of 100 events result in ~105 HTTP request ~ 500ms on my laptop.
I have read about the embed=body parameter you can set. But how would you fetch the event streams from the HTTP API for a production environment? Are there any alternatives?
Thanks for a nice open source product.