Thursday, June 11. 2009The Asynchronous Services AnalogyTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hi Robert!
I agree that asynchronous communication is almost always necessary for most forms of scalable computing, whether it is multi-core applications or scalable internet architectures. I wouldn't be so quick to dismiss the uses of such designs for more traditional applications, it may just be a matter of approaching the problem from a radically different angle and adjusting what is acceptable for edge cases. Financial applications may not fall into this category still, but I've been surprised how many can. As far as financial applications go, I found Mark Atwood's entry on this topic interesting: http://fallenpegasus.livejournal.com/852922.html Best Regards, -Eric
Hi Robert,
Another interesting area to look at is using asynchronous SQL transactions to handle failures. For example, say you have a cluster (multi-master or master/slave) going across sites: people do this for credit card processing, for example. If there's a failure between sites you may be left with a choice of applying transactions to databases and then dis-entangling them later. Another approach is to enqueue them until you either officially fail over or the link comes back up. Cheers, Robert
Yep, that's certainly one area we've worked in. I would caution folks to be careful that if you're working with creditcard data in places where your working under PCI compliance guidelines and similar industry standards, if your initial transaction fails and you want to queue the requests, the "where" you queue that data needs to fall under your PCI compliance directives as well, even if it's only stored for a short time.
Hi Robert,
I am trying to understand asynchronous services and I had a question regarding your article.. "That said, the email you're going to send me as a receipt to that transaction, that could be done asynchronously" This is not very clear to me....this would still have to be done after the withdrawal and insert complete successfully right ? How is this asynchronous ? Thanks, Wayne |
QuicksearchHi! I'm Robert Treat, COO of OmniTI, perhaps the best internet technology consulting company on the planet. A veteran open source developer and advocate, I have been recognized as a major contributor to the PostgreSQL project, and can often be found speaking on open source, databases, and large scale web operations. Recent MusingsMonitoring for "E-Tailers"
Wednesday Cloudy With A Chance Of Scale Wednesday Checkpoints, Buffers, and Graphs Wednesday You were saying? about Checkpoints, Buffers, and Graphs Sun, 27.11.2011 15:42 And the slides are up at http: //www.2ndquadrant.com/en/talks / about Index pruning techniques Thu, 24.11.2011 11:42 You probably want array_agg in stead of array_accum. That sa id, if you don't understand ho w to fix the query, it's [...] Blog Administration |