Posts

Showing posts from June, 2016

Design guidelines for concurrent DB connection in SOA

Image
  Quick overview of SOA A service-oriented architecture (SOA) is an architectural pattern in computer software design in which application components provide services to other components via a communications protocol, typically over a network. Service-orientation is a way of thinking in terms of services and service-based development and the outcomes of services. The Problem In the current technology world, SOA is becoming more and more common and issues related to concurrency is inevitable if the system design is not proper. With increasing concurrent user requests, the system should be capable of establishing multiple database connections without any deadlock or race condition. Solution/The Design guidelines Some design guidelines I recommend and follow while architecting a system that should be able to establish simultaneous database connections. 1. Don't make your connection static/shared.      Static is evil, if not handled cautiously. If the connection is declared

FUJIFILM XQ2 - Portrait and landscape photography

Image
I'm not a pro photographer, just an enthusiast! I got a new FujiFilm XQ2 last week and was playing around with it. My biggest concern was about portrait photography as I really like to take portraits with nice bokeh. Before buying I did some research on google, but couldn't find any major posts on this. Looks like it's pretty good for half-body portrait shot. I took some photos of my niece. I wanted to experiment on full-body portrait also, but my niece got angry with me. :( The picture quality is pretty awesome and color rendering is also really good. And as you can see, the picture came with good bokeh. I did the shoot 1m - 1.5m away from the subject by zooming in with aperture at f/4.9 . You can experiment with different distance from the subject with different apertures. These all pics are Straight Out of Camera. XQ2 is really good for the landscape as well. It cannot deliver ultra wide-angle shots, but goo