Notification to all Visitors !

January 19th, 2010

Dear Visitors,

For the last few days you might have experienced difficulties in viewing http://blogs.neuronring.com

It was purely due to unexpected  technical problems.

Our server was overloaded for the past few days. Now it has been rectified.

We regret for the inconvenience caused to you.  We will avoid such incidents in future.

Welcome Again !!! Enjoy exploring neuronring.

Cheers,

R.Gopinath

Tell a friend

Chaos Theory -Tsunami and The Butterfly Effect

December 9th, 2009

Chaos Theory Definition 

This is a theory that explains the complex and unpredictable results that will be produced in systems that are sensitive to its (their) initial conditions.

The Chaos Theory

The Chaos Theory

To explain more clearly, a small change in a system can cause a catastrophic effect in somewhere in the world.

Believe it or not, the flutter of butterfly’s wings in India can cause Tsunami in Indonesia.”

This is what the Chaos Theory states.

Tsunami in Indonesia

Tsunami in Indonesia

 

Chaos Theory and Tsunami

Chaos Theory and Tsunami

The Butterfly Effect

The butterfly effect Is stated as, “The small differences in initial condition of a system (like minor rounding off errors in maths) can cause a series of effects which cannot be determined. This is applicable to deterministic systems as well.

The Butterfly Effect

The Butterfly Effect

In deterministic systems we can predict the outcome of a operation. But due to the nature of chaos even the deterministic one turns unpredictable.

Chaos – Means “in a state of disorder”

Properties of A Chaotic System

1. Sensitive to initial conditions: This is nothing but popularly called  as the butterfly effect.

Each point in such a system is arbitrarily closely approximated by other points with significantly different future trajectories. Thus, an arbitrarily small perturbation of the current trajectory may lead to significantly different future behavior. However, it has been shown that the last two properties in fact imply sensitivity to initial conditions.

2.Topologically Mixing

The system will evolve over time so that any given region or open set of its phase space will eventually overlap with any other given region. This mathematical concept of “mixing” corresponds to the standard intuition, and the mixing of colored dyes or fluids is an example of a chaotic system.

3. Periodic orbits must be dense

This is more self explanatory. The orbits of the system undergoing must be densely populated. 

Properties of a Chaotic System

Properties of a Chaotic System

History of Chaos theory

Till now you are reading this article, surely you should have got a question how this chaos theory evolved? Who experimented and experienced. Yes, we have beautiful answers for it.

Lorenz’s  Experiment

The first true experimenter in chaos was a meteorologist, named Edward Lorenz. In 1960, he was working on the problem of weather prediction. He had a computer set up, with a set of twelve equations to model the weather. It didn’t predict the weather itself. However this computer program did theoretically predict what the weather might be.

Lorenz's Attractor

Lorenz's Attractor

He left the experiment as such, but one day he wanted to see it again.  So instead of starting from the first he started to take the readings from the middle of the sequence. He entered the number off his printout and left to let it run. When he came back an hour later, the sequence had evolved differently. Instead of the same pattern as before, it diverged from the pattern, ending up wildly different from the original. Eventually he figured out what happened. The computer stored the numbers to six decimal places in its memory. To save paper, he only had it print out three decimal places. In the original sequence, the number was .506127, and he had only typed the first three digits, .506.

“The amount of difference in the starting points of the two curves is so small that it is comparable to a butterfly flapping its wings”

Applications of Chaos Theory

The chaos theory has so many applications in wide range of fields like

  1. Mathematics
  2. Biology
  3. Computer Science
  4. Economics
  5. Physics and even in
  6. Robotics

Lorenz’s Attractor

In certain energy states, the motion of a particle described by certain systems will neither converge to a steady state nor diverge to infinity, but will stay in a bounded but chaotically defined region.(attractor)

Lorenz modeled the location of a particle moving subject to atmospheric forces and obtained a certain system of ordinary differential equations.

Lorenz Equations

Lorenz Equations

The particle appears to move randomly, and yet obeys a deeper order, since it never leaves the attractor.

After a while, though, he found that while the momentary behavior of the particle was chaotic, the general pattern of an attractor appeared. In his case, the pattern was the butterfly shaped attractor now known as the Lorenz attractor.

The most real time application of chaos is in ecology. Here this theory is used to show how population growth under density dependence can lead to chaotic dynamics.

FRACTALS

The fractals are one of the most important elements of chaos theory.

A Fractal is a geometric which is capable of reproducing itself at different measurements. A Fractal can be split into multiple parts; each part will look alike as a reduced size copy.

These fractals have many interesting properties. They are,

  1. Lack of well-defined scale
  2. Self-Similarity

Examples of Fractals

  1. Sierpenski triangle
  2. Clouds
  3. Pulmonary alveolar structure
Sierpensk Triangle

Sierpensk Triangle

Real-Time examples of Chaos Theory

CHAOS WASHING MACHINES

In 1993, Goldstar Corporation created a Chaotic Washing Machine. The washing machine works on the basis of  “Chaos Theory”. The washing machine uses the fact that there are identifiable and predictable facts in non-linear systems. The goal of this machine is to produce clean and less tangled clothes.

There is a Main Pulsator which periodically creates recurring phenomenon that alternately increases and decreases the stirring level of water. As  a result there happens a Chaos Motion. The amazing washing machine hit market and increased the annual share of Goldstar to 1.5 million in 1993.

CHAOS IN STOCK MARKET

Chaos analysis has determined that market prices are highly random, but with a trend. The amount of the trend varies from market to market and from time frame to time frame.

CHAOS THEORY IN WEATHER FORECASTING

As we saw in Lorenz’s Experiment, the chaos model is more helpful in long range weather forecasting.

There are many variables associated with the weather: temperature, air pressure, wind speed, wind direction, humidity and many more. The equations which control the weather involve all of these variables.

Cheers,
R.Gopinath

—- If you like this post share it with your friends —–

Tell a friend

What is Dream? Dream Analysis and Dream Control

November 18th, 2009

Dreams are the result of Rapid Eye Movement of living organisms. Ok. What are all the living organisms that can dream?

Science and Research says that all the mammals can dream.

Definition of Dream

Dream is defined as the collections of imaginary pictures, scenes, voices and sounds etc., during the sleeping process due to the Rapid Eye Movement (REM).

What are dreams

What are dreams

Dream Analysis

The incidents that occur in the dream are almost happy and funny things. But often we get bad dreams. So what is actually happening inside our brain during the REM. The rapid eye movement occurs once in 100 minutes during our sleep and each course of REM lasts for 15-45 minutes.

There are possibilities of getting more than one REM course in a normal 6-8 hours sleep of humans. During this REM our brain activity is high and signaled by rapid horizontal movement of eyes. Most of the times we forget the dreams. But it is possible to remember it when a person is awake from the REM course suddenly by hearing some alarm sound or something like that.

Dream-Analysis

Dream-Analysis

But we forget most of our dreams since it happens in a period called “delta sleep” where one dream can erase or fade the memories of other dreams.

A great Austrian psychiatrist named  Sigmund Freud,  analyzed these dreams and he himself identified (termed) a region of our brain called “subconscious”. This is the area where our all memories, desires, anger, happiness get stored. During the process of REM our brain recollects these information and display a picture called DREAM.

The Dreaming Process

The human brain is mega sized STORAGE DISK (non-volatile) J . Yes our brain stores almost everything we do in our day-day life like seeing a flying bird, watching a movie, hearing sound of a horn, taste of a candy and much more. These feelings are stored in the brain in a much comfortable way like images or files so that the brain can easily recall them whenever needed.

So what is it to do with the Dreams?

 

 

Stages-of-Sleeping

Stages-of-Sleeping

click here for larger image

When you go to sleep this is the real time where the brain actually becomes more active. You are not supposed to think or worry about anything when you go to sleep. Because you need some rest now. The brain now collects all those collected bits and pieces of information and puts them in a screen where you see it as “the dream show”. So many dreams will be scary, some will be funny and some will be interesting like a long story.

Many people interpret dream as future forecasting tool and many just ignores it.

Dream Theories

The dream theories are broadly classified into two important categories. They are,

1. Physiological dream theory

2. Psychological dream theory

Physiological dream theory

1. We dream to exercise the synapses (pathways) between brain cells.

2. When we are in our waking state, we constantly receive and transmit external messages.

3. Dreaming is the form this process takes in the sleeping state.

Psychological dream theory of Sigmund Freud

The most famous psychiatrist named Sigmund Freud proposed the Psychological theory for dream. He says “Man’s long lasting feelings and desires turn out to be a dream so that he is satisfying his need at least in his dreams.”

Psychological-dream-theory

Psychological-dream-theory

Recalling and Remembering the Dreams

  1. Before you get into sleep train yourself saying “I want to remember my dreams”. This will workout 98% as I remember most of my dreams after saying like this.
  2. Set your alarm to ring for every 2 hours so that you can come out of REM sleep and can recall your dreams.
  3. Have a notebook and pen near you. Whenever you got awake from the REM sleep, make a note of your dreams.
  4. Drink lot of water before you get into the bed, so that you can get up in between at least once. Now you have a chance to remember your dreams.

 Don’t want to remember bad dreams?
 Just forget it…

Lucid Dreaming

Lucid dreaming is a technique through which you can realize that you are in a dream and you will be able to control your dream. This is a rare and great skill that not all persons can get it.

Rapid-eye-movement-sleep

Rapid-eye-movement-sleep

 click here for larger image

Through lucid dreaming you can control what dreams you can remember and what you don’t want to. Consider you have a dream like A Ghost is chasing you horribly. You are in more fear. Now apply the lucid dream technique. Stop running and turn back to the Ghost and say “Hey!!! why you are following me ? Get lost!!!”. Now you are out of  bad dream and you will not remember that no longer.Lucid-dreaming

Dreams can change lives

Dream is a great tool; you need to be a master to use it effectively. Dreams changed normal persons into great poets, writers, scientists, politicians. Here we can see few of them.

  1. Kekule, the German chemist who discovered the structure of the benzene molecule, had worked endlessly to figure it out. Then, in a dream, he saw snakes forming circles with their tales in their mouths. When he awoke, he realized that the benzene molecule, unlike all other known organic compounds, had a circular structure rather than a linear one.
  2.  Mary Shelly, author of “Frankenstein,” got the idea for the story from a dream.
  3. Edgar Allen Poe got inspiration from a dream featuring large luminous eyes for his story, “Lady Ligea.”
  4. Golfer Jack Nicklaus found a new way to hold his golf club in a dream, which he credits as significantly improving his golf game.

 

REM-Sleep-Process

REM-Sleep-Process

Your Comments and feedbacks are welcome.

Regards,
R.Gopinath

Tell a friend

High Availability Clustering–Types and Advantages

October 27th, 2009

What does High Availability mean?

In terms of computers HA means a system design protocol which ensures the availability of a resource in a given amount of time or any terms of measurement.

HA-Clustering and Failover

This is a computer cluster implemented for making a resource available all the time or reducing the downtime of the resource. For example, an application server serving the user requests continuously and in come point of time it stopped responding. In that time the users waiting for a response from the server should not get disappointed.

Here comes the clustering technology, the cluster configuration in the network transfers or redirects the user requests to the backup server. This process is called Failover.

High-availability-clustering

High-availability-clustering

The Clustering Software

The clustering software plays main role in the successful functioning of the HA-Clusters. Everyone have a question of who maintains the information and transactions processed by the First Machine.

Yes, the clustering software does that for us. It will copy the last good known configuration from the machine which failed to complete its duty to the machine which is ready to serve for us.

Heart Beat of Clustering

HA clusters use a private Heart-Beat network. This network is responsible for monitoring the health status of all the nodes in the cluster.

HA-Clustering

HA-Clustering-Heart Beat

Split-Brain in Cluster network

The term “Split-Brain” technically explains the following scenario. When all the private network link goes down but the individual cluster nodes are still running, there is a possibility of confusion. Each node in the cluster may think that other node is down and will supply duplicate data. So this is a tedious configure the network to avoid split-brains.

Cluster Node Configurations

 These are the available clustering node configurations

 1. Active/Active – Traffic is directed to another existing node or balanced across all other nodes

2. Active/Passive A complete new node is served when primary node fails

3.  N+1 – Serving a complete new node in the place of primary node and the new node    in the cluster must be capable of handling any services which the primary node handled with/without any special additional software.

4. N+M – Here more than one dedicated nodes are served for handling failovers.
This   may require high cost and maintenance.

5. N-to-1 – Here the backup node is serving temporarily until the primary node is brought back online. Then the running services are transferred to primary node.

6. N-to-N — A combination of Active/Active and N+M clusters, N to N clusters.

Requirements for a High Availability Clustering Environment

 

The HA-Clustering is widely used technology in Data centers and Industries where adaptive infrastructure is required. This requires high investment hence this is called as costly technology.

Below given are the minimum requirements for setting up a HA Clustered Environment.

  1. You must be having suitable advanced application which is capable to support HA-C. Not all the applications can run in High Availability Environment.
  2. The application should be capable of running its own multiple instances.
  3. The application you are using in HA-C must have command line utility. i.e ability to control the app through command line interface by executing some commands.
  4. The application should have the capability of using Storage Area Network (SAN).

The application must be capable of storing the data in a SAN, so that even a crash occurs the other back-up node can use the saved-state of information.

Applications of HA Clustering Technology

So, where is this clustering more useful and applied ? HA Clustering is used for

1. Critical databases

2. File sharing networks

3. Business Applications

4. E-Commerce Websites

oracle-real-application-clusters-RAC

Some famous HA-Clustering products

Vendor Product Name Supported Platforms
Hewlett-Packard HP ServiceGuard   HP-UX, Linux
IBM High Availability Cluster AIX, Linux
Open –Source Linux-HA   Linux
Microsoft Microsoft Cluster Server (MSCS) Windows server 2008
Red Hat Red Hat Cluster Suite Linux

My next update in HA-Clustering would be about configuring the HA clusters in live environment.

Wait for a couple days….

Regards,
R.Gopinath

Tell a friend