bryanhunter / cqrs-with-erlang Goto Github PK
View Code? Open in Web Editor NEWResources for the CQRS with Erlang talk
Resources for the CQRS with Erlang talk
Just curious, in your bank_bus.erl, what are you thoughts on making it use gen_event:call
instead of notify
for the send_command
? I am thinking that way the function can return a value (such as command_not_allowed
etc.).
https://github.com/bryanhunter/cqrs-with-erlang/blob/ndc-oslo/bank/src/bank_bus.erl
Hi,
I have a system with a very similar pattern where a process which's Pid can be looked up using a ID stops after a specific timeout if it doesn't receive any messages. I thought it would be a problem if someone looks up the Pid and then sends a message to it but the process with the Pid decides to terminate in the meantime so I tried to prevent it from happening with some manager process which turned out to be very complicated. What do you think about this? Is it valid to just assume it doesn't happen and let a caller crash from time to time?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.