Size: a a a

Ruby, Rails, Hanami | dry-rb

2020 December 04

ЕЗ

Евгений Зубаиров... in Ruby, Rails, Hanami | dry-rb
Evgenii Efremov
ардуин это из звездных войн что то?
Из властелина колец.
источник

EE

Evgenii Efremov in Ruby, Rails, Hanami | dry-rb
Evgenii Efremov
я крапиву палкой пиздил
сейчас бы кстати тоже этим занялся
источник

AD

Anton Davydov in Ruby, Rails, Hanami | dry-rb
wi11son
Зырьте, че ребенок залепил, воткнул две крутилки в ардуину и сделал гонялку машинки по экрану на скрече и ардуине, одна ручка - руль, другая ручка меняет скорость
Афигеть
источник

АД

Антон Дьячук... in Ruby, Rails, Hanami | dry-rb
азазазазависть
источник

G

Gustavo in Ruby, Rails, Hanami | dry-rb
Gustavo
Sure, of course. Yes, I'm modeling my solution to use dry-transactions and at certain point we thought about notify other system about a failed step and I thought about queue to not miss this information of failure
Basically I want to make sure that those steps will all occur inside a unique transaction, but if a step fails I would like to store this information in a DB or something like this, but to control this information consumption I would put this failure information in a queue to be consumed according to the DB workload capacity.
источник

w

wi11son in Ruby, Rails, Hanami | dry-rb
Anton Davydov
Афигеть
Это он типа аналоговые порты изучал, там АЦПшки стоят на 6 инпутах
источник
2020 December 05

ES

Eugene Shved in Ruby, Rails, Hanami | dry-rb
wi11son
Я в 7 лет носился с разгона в стенку разве что...
Ну я картины рисовал.
И грядки копал.
источник

ES

Eugene Shved in Ruby, Rails, Hanami | dry-rb
Ля это шо
источник

ES

Eugene Shved in Ruby, Rails, Hanami | dry-rb
Не зря я драй рб в тайтл добавил.
источник

ES

Eugene Shved in Ruby, Rails, Hanami | dry-rb
Подцепили какого-то итальянца.
источник

G

Gustavo in Ruby, Rails, Hanami | dry-rb
Gustavo
Basically I want to make sure that those steps will all occur inside a unique transaction, but if a step fails I would like to store this information in a DB or something like this, but to control this information consumption I would put this failure information in a queue to be consumed according to the DB workload capacity.
I think it's a bit clearer, isn't it? @davydovanton
источник

w

wi11son in Ruby, Rails, Hanami | dry-rb
Gustavo
I think it's a bit clearer, isn't it? @davydovanton
Dry-transaction is not about db-transaction, its about business operation. Im not sure, that making several steps is a good way to have atomacy. And if one step fails and you can survive just having logs about that, that probably means, that you don't need db transaction
источник

w

wi11son in Ruby, Rails, Hanami | dry-rb
источник

G

Gustavo in Ruby, Rails, Hanami | dry-rb
wi11son
Dry-transaction is not about db-transaction, its about business operation. Im not sure, that making several steps is a good way to have atomacy. And if one step fails and you can survive just having logs about that, that probably means, that you don't need db transaction
Sure, such pattern is a great strategy, and Richardson is a great developer. But I mean business operation indeed. But each fail I would like to persist in a storage or DB to the system know about it in a permanent way. For this reason I thought about this structure using a queue --> API --> DB to persist this failure info.
источник

w

wi11son in Ruby, Rails, Hanami | dry-rb
Gustavo
Sure, such pattern is a great strategy, and Richardson is a great developer. But I mean business operation indeed. But each fail I would like to persist in a storage or DB to the system know about it in a permanent way. For this reason I thought about this structure using a queue --> API --> DB to persist this failure info.
Then, i believe having ruby listener for you steps, which can use MQ client to queue events is what you need
источник

w

wi11son in Ruby, Rails, Hanami | dry-rb
You can skip mq and api part by storing events into db directly in a thread or by ActiveJob
источник

G

Gustavo in Ruby, Rails, Hanami | dry-rb
wi11son
Then, i believe having ruby listener for you steps, which can use MQ client to queue events is what you need
Hum, interesting this by-pass and storing events directly into DB by a thread or a job using ActiveJob
источник

G

Gustavo in Ruby, Rails, Hanami | dry-rb
Thanks for the insights @wi11son
источник

Д

Дмитрий in Ruby, Rails, Hanami | dry-rb
Сколько будет стоить прога кредитного брокера с автоматической рассылкой в банки на пробивку клиента и ...или насколько сложно ее написать кто знает?
источник

薛淳霞 in Ruby, Rails, Hanami | dry-rb
🐳🐳飞机群增粉,私聊,炸群,增加在线人数;进退群记录推广:
🐳🐳推特/脸书等增粉,点赞,转发,浏览;
🐳🐳🔥   业务详询    @yewuzixun95
источник