DerickBailey.com

Trade Secrets Of A Developer / Entrepreneur

  •  About
  •  Twitter
  •  G+
  •  RSS
  • Blog
  • Courses
  • Products
  • Newsletter
  • Publications
  • Podcasts
  • Work With Me!

Using RabbitMQ To Share Resources Between Resource-Intensive Requests

May 30, 2016 By Derick

Using RabbitMQ To Share Resources Between Resource-Intensive Requests

A question was asked on StackOverflow about managing long-running, resource intensive processes in a way that does not hog up all resources for a given request. That is, in a scenario where a lot of work must be done and it will take a long time, how can you have multiple users served and handled […]

Filed Under: Architecture, Design Patterns, Messaging, Patterns, Performance, Queues, RabbitMQ, Sagas, Scalability, Workflow

Promises, Modal Dialogs and Resolve vs Reject

August 20, 2015 By Derick

Promises, Modal Dialogs and Resolve vs Reject

Someone on twitter asked me a question about promises a while back. It was a good question about the general use of reject and resolve to manage a yes/no dialog box. The short answer is always resolve with a status indicator – but I think they wanted more of the “why” than just this one specific answer. To understand why, there is some background to dig in to, first: modal dialog results and reject vs resolve.

Filed Under: Backbone, Design, JavaScript, Patterns, Promises, Workflow

Managing Workflow In Long Running JavaScript Processes

August 10, 2015 By Derick

Managing Workflow In Long Running JavaScript Processes

In my last post, I talked about how we can dramatically improve our application architectures by making workflow explicit. While that post talked about in-memory applications – stateful code like Backbone.js in browser-based JavaScript apps – the same pattern and principle applies to nearly any form of coordinated workflow, including message based systems.

Filed Under: Architecture, Design, JavaScript, Messaging, NodeJS, Patterns, RabbitMQ, Workflow

Making Workflow Explicit In JavaScript (Repost)

August 7, 2015 By Derick

Making Workflow Explicit In JavaScript (Repost)

A long time ago, in what seems to be a previous life at this point, I wrote a small blog post about modeling and creating an explicit return value from a dialog form in a Windows application. Fast forward a lifetime and I’m finding that this knowledge and experience is resurfacing itself in my daily […]

Filed Under: Anti-Patterns, Architecture, Backbone, JavaScript, Patterns, Workflow

Derick Bailey Around The Web

  • Twitter: @derickbailey
  • Google+: DerickBailey
  • Screencasts: WatchMeCode.net
  • eBook: Building Backbone Plugins

Copyright © 2016 Muted Solutions, LLC. All Rights Reserved · Log in