Better HN
topnewbestaskshowjobs
Log inSign up

gregyoung1

2 karma · joined Sep 10, 2017 (9y ago) · 6 submissions

Submissions

comment 9y ago · link · parent

Why are you using CQRS for logins? Nothing says derp like "we rolled our own security system"

comment 9y ago · link · parent

Only made 10 years prior.

comment 9y ago · link · parent

You will also note that they process debits in descending order to maximize possible overdraft fees at most banks ;-)

comment 9y ago · link · parent

Bank transactions are usually handled via long running messaging state machines. When as example you transfer from an account in the US to one in Sweden it does not just open a 2PC transaction between the two databases. There are also often intermediaries involved.

comment 9y ago · link · parent

I will speak for myself.

Commands are by definition synchronous and return a success/failure.

One of my favourite read models to use is an in memory model providing I can keep all of the data in memory (and its reasonable for the query patterns).

comment 9y ago · link · parent

Bank transactions are eventually consistent. How do you think you can get an overdraft fee? Ever use a gas pump and notice it took a $1 authorization on your card then later settled for what you pumped?

Eventual consistency is not all that scary, try putting on a business hat instead of a technical one. Its about risk management.