0x539 16 августа 2021 г., 00:30 Пожаловаться Practice makes less imperfect! And now back to our regular programming… Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 16 августа 2021 г., 00:48 Пожаловаться “architecture astronaut” nonsense Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 14 августа 2021 г., 01:46 Пожаловаться People do change their names, and their marital status, and even their gender, but we continue to recognize them as the same individual. Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 22 августа 2021 г., 23:55 Пожаловаться Harry and Bob do not recommend that you copy and paste our code into a production system and rebuild your automated trading platform on Redis pub/sub. Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 28 августа 2021 г., 02:51 Пожаловаться Be liberal in what you accept, and conservative in what you emit. Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 27 августа 2021 г., 23:08 Пожаловаться Even with well-tuned indexes, a relational database uses a lot of CPU to perform joins. The fastest queries will always be `SELECT * from mytable WHERE key = :value` Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 27 августа 2021 г., 22:57 Пожаловаться Views do…raw SQL? (src/allocation/views.py) <...> Excuse me? Raw SQL? If you’re anything like Harry encountering this pattern for the first time, you’ll be wondering what on earth Bob has been smoking. We’re hand-rolling our own SQL now, and converting database rows directly to dicts? After all the effort we put into… Развернуть Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 27 августа 2021 г., 22:50 Пожаловаться No matter what we do, we’re always going to find that our software systems are inconsistent with reality, and so we’ll always need business processes to cope with these edge cases. It’s OK to trade performance for consistency on the read side, because stale data is essentially unavoidable. Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 27 августа 2021 г., 22:48 Пожаловаться This idea of trading consistency against performance makes a lot of developers nervous at first, so let’s talk quickly about that. Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3
0x539 22 августа 2021 г., 14:29 Пожаловаться But if they’re not careful, they’ll end up producing the most chaotic mess of all: the distributed big ball of mud. Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices Harry Percival, Bob Gregory 4,3