Posts

What does Asynchronous request handling mean

Let's try to answer the below two questions as part of this blog.  1) What is the difference between Asynchronous and Synchronous request handling? 2) What are the advantages of one over the other?  Lets us first understand what happens when we send a request to any website like amazon.com.  Step 1: Your request reaches the server via the network. Step 2: The server does something in the background and responds to your request with some data. Step 3: You will receive the response and see it in your browser.  If you observe carefully there is a time delay between steps 1 and 2 as the server needs to do something, the time taken is proportional to the complexity of the activity.  Based on how the server handles our request we can say if the process is asynchronous or synchronous.  Let us take an analogy of how we wait for service at banks. One way is we wait in a queue to withdraw our money OR receive a token and relax while we get a call once our money ...

Node JS vs Java : What you need not compare?

There are lot of articles which compare Node JS to Java and try to give us information on how should we choose between these two. But more the number of variable, more complex is the decision making.   There are lot of differences between these two such as the way they work and the way they process data but at a macro level if you know that what you are trying to build can be achieved by either Java or Node then how to choose or not choose based on?  So, given the current tech situation and support available to these languages, there are few areas we should not compare. And hopefully that gives us lesser variables and more peace. First lets talk about the Popularity. People talk about popularity because indirectly it reflects availability of developers. Java is popular but Node is picking up and has large number of developers now, so it boils down to your social circle and tech partners.  Community support is other aspect you should not worry about. Lets take my exam...

OSSEC - a free Intrusion Detection System

Some perspective.. (Q)What is Host-based intrusion detection system (HIDS)? (A) A host-based intrusion detection system is an intrusion detection system that is capable of monitoring and analyzing the internals of a computing system as well as the network packets on its network interfaces.   (Q) Why do we need HIDS and what are its uses? (A) The agent, which is installed on our servers communicates constantly with the master installed on another server. Any break-in attempt or software installations are communicated to master and based on rules and alert levels defined, master sends our Email and SMS notifications to relevant teams. All of this in real time . (Q) Looks pretty standard, what else can this do ? (A) Based on the installed product, HIDS also has feature of executing scripts on agents in case a server is unreachable because of break-in. Also this architecture supports multiple agents, giving the ability of aggregation and security event management (S...

Unregulated to Regulated, path ahead

We have large low income population with limited access to traditional banking facilities like deposits and loans. Which means saving their hard earned money and availability of quick credit are missing. These are the same people who get attracted to ponzi schemes for higher returns or get them self entangled in circle of debt. Multiple moneylender laws were enacted to deter such scams. However failure to replace the role of money lenders gave rise to scams such as the saradha scam. The latest law to ban Unregulated deposit schemes is another step to stop such scams from happening. With this latest law, hand loans and many other loans become illegal as they are not regulated unless it is between relatives. While we still debate about the law, let us discuss about the alternatives for such non regulated loans. Recently RBI has created a new entity called NBFC-P2P. These NBFC companies play the role of mediator in between lenders and borrowers to facilitate the process of lo...

Second Chance...

Yesterday I was watching some movie which was based on a novel, which describes about a boy, called as Boy A, who was released into society after serving in a prison for 12 yrs, for commiting a murder at an early stage of 10 yrs. No one ever knew what exactly happened, but the movie says that there was another boy who actually initiated and commited the murder and Boy A was witnessing the crime. The concept seems to be simple: Who decides if some one should get a second chance, especially in a case which involve's death. The end of the movie was predictable as it has to show some meaningfull end, the boy comits suicide as his identity is no more a secret and he could not take anymore of societiy's oppression. But in real life it not always sure we get a definite end, what do you think ?

Lappy..

Vaio is so delicate that I hate it so much some times that I cannot use it in my normal rough and tough style.. But the momemt I see some movie or hear some song from it, I become its fan..

Born Free!!

Born Free we are and Free we will be.. We are getting more and more influenced by/to our surroundings, giving it a chance to take over our life. Loosing our self interest to acheive some predefined objectives and boost overself to increase our performance? It is all because we put over self in this situation, a puzzle we made for overself. I dono whether we made it wantedly or unwantedly. But the fact remains that, we made what we are in, The Life Puzzle . Many of us are trying to solve this, the answer for question, why, is simple, may be to prove ourself (selfconfidence ?? ), but we are not realising the fact that actually we donot like this puzzle to be solved because every time we think we solved it we put overself in a more difficult (More challenging ??) situation :D ..Lets call this the Circle of Life The funny thing is I think I am going through this circle of life to take control of my life. Its official how dumb I am :)) and ofcource always searching for the 'Dumber'...