question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discussion: Projections Features

See original GitHub issue

Hi @johnbywater! I hope this is an appropriate place to discuss features. 😃 If not, maybe create a Wiki page?

I am interested in your plans for these forthcoming features:

  • Base class for event sourced projections or views (forthcoming)
    • In memory event sourced projection, which needs to replay entire event stream when system starts up (forthcoming)
    • Persistent event sourced projection, which stored its projected state, but needs to replay entire event stream when initialized (forthcoming)
  • Event sourced indexes, as persisted event source projections, to discover extant entity IDs (forthcoming)

I’d like to help out.

  1. Do you have any existing prototypes, design documents, or notes for these features?
  2. How much of the d5-kanban-python projections implementation were you thinking of borrowing?

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
johnbywatercommented, Mar 24, 2017

Ok! I’ll see what I can do along those lines 😃

2reactions
johnbywatercommented, Mar 24, 2017

@adebisi-fa I just pushed changeset d8f9082 which implements the code snippet above on the EventStore class and ActiveRecordStrategy classes. Please note, I renamed the method get_all_domain_events() in the next changeset to all_domain_events(). As the commit message says, from SQLAlchemy the events will be in order, but that isn’t possible with Cassandra so you’d need to somehow post-process the stream if you use Cassandra and need all events in chronological order. Of course, if you just wanted to identify all entity IDs, you wouldn’t need to sort them. The method all_domain_events() returns an iterator which pulls progressively on the database, so it might scale. Is that what you were looking for?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text Products for AFD Issued by MTR
000 FXUS66 KMTR 212335 AFDMTR Area Forecast Discussion National Weather Service ... that feature will weaken Thursday into early Friday allowing a weak...
Read more >
Projection in Psychology: Definition, Defense Mechanism ...
According to Karen R. Koenig, M. Ed, LCSW, projection refers to unconsciously taking unwanted emotions or traits you don't like about yourself and...
Read more >
What Is Projection as a Defense Mechanism? - Verywell Mind
Projection is when one sees the traits that they find unacceptable in themselves in others. Learn about the origin and impact of the...
Read more >
Reading a forecast discussion - Weather Graphics
Forecast discussions (also known as a FPUS, FPUS3, AFD, or SFD) are issued by every National Weather Service office, and you can use...
Read more >
Projections · Discussion #7605 · realm/realm-swift - GitHub
Hi all! Realm Swift 10.21.0 includes the new Projection feature. I'm just a bit curious as to the main purpose of this. For...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found