You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementing functional composition for stores would be pretty cool.
The idea is a simple as creating a store that can be initialized with references to other stores, and implementing the core operations in such a way that the apply to constituent stores in different ways.
For example, a Mnemonix.Meta.MigrationStore might be initialized with a new and old store, and:
Additional candidates for initial implementation would be a ReplicaStore that reads from one and writes to many, with some sort of way to fail over on crash, or a PoolStore that reads from first available one and writes to many. All of these would have some hard decisions to make on handling the features sets like expiration, transactions, and supervision.
The text was updated successfully, but these errors were encountered:
Implementing functional composition for stores would be pretty cool.
The idea is a simple as creating a store that can be initialized with references to other stores, and implementing the core operations in such a way that the apply to constituent stores in different ways.
For example, a
Mnemonix.Meta.MigrationStore
might be initialized with anew
andold
store, and:Additional candidates for initial implementation would be a
ReplicaStore
that reads from one and writes to many, with some sort of way to fail over on crash, or aPoolStore
that reads from first available one and writes to many. All of these would have some hard decisions to make on handling the features sets like expiration, transactions, and supervision.The text was updated successfully, but these errors were encountered: