Showing posts with label Real Time Database. Show all posts
Showing posts with label Real Time Database. Show all posts

Saturday, March 12, 2016

Explain real time system with example

What is real time system? Define real-time system Real-time system example



Real-Time System
A system is called a real-time system if it needs to express the quantitative time (real-time) to describe the behavior of the system – Prof. Rajib Mall

A system whose basic specification and design correctness arguments must include its ability to meet its time constraints is called real-time system. The system’s correctness depends not only on the logical correctness, but also on the timeliness of its actions.

A real-time system consists of both a controlling system and a controlled system.

  • Controlled system – the environment that has to be monitored
  • Controlling system – the devices that monitor the environment

Example:

1. In an auto-pilot system, the aircraft has to be controlled by the auto-pilot system including navigation, landing, and takeoff. Here, the aircraft is the controlled system and the sensors, computers, or any other devices that control the aircraft is the controlling system.
2. In a car safety system, the airbag has to be released when a sensor detects collision. This must be happened within a time frame, say, within 10msec. Otherwise, we state that the system is failed. Here, airbag is the controlled system, and the system that consists of the sensor to detect the collision and the device used to release the airbag is called as controlling system.





Go to REAL TIME DATABASE Home page



Friday, March 11, 2016

Differentiate between conventional database and real time database

Differentiate between conventional database and real time database - difference between real-time database and conventional database.



Difference between conventional and real-time databases

Conventional Database
Real-Time Database
Data
Nature of Data
Persistent data (values do not become obsolete)
Persistent + Temporal data (values may become obsolete if deadline is missed)
Data items
Static data items
Dynamic data items (Data items that reflect the state of the environment)
Static data items
Data validity
Consistent transactions maintain valid data in databases
Data validity is highly depend on the time
Transactions
Correctness
Logically correct and consistent
Logically correct and consistent
Approximately correct
Time correctness
Timing constraints
No timing constraints
Timing constraints to be followed
Consistency
Logical Consistency
Logical consistency
External consistency
Temporal consistency
Response time
To be minimized to handle more transactions.
Response time requirements come from external world
ACID properties
Must be satisfied for every transaction
May be relaxed in few cases
Performance
Performance metric
Number of transactions completed per unit time
Number of transactions missing their deadlines per unit time





Go to REAL TIME DATABASE Home page






Thursday, March 10, 2016

Real time database systems

Real-time database systems, definition, difference between conventional database and real-time database, transaction in real-time database etc - Notes, Examples, and Exercises



Real-Time Database

Real Time Database Definition

Real Time Database Definition, What is real-time database?, What is not real-time database?, Real time database defined. Examples of RTDB.



Real-Time Database

Definition 1
Real-Time Database can be defined as “a database that has queries, schemas, concurrency control support, storage management, and transactions that support ACID properties along with the transactions that follows timing constraints.

Definition 2
A real-time database is a database with the following properties;

  • temporal characteristics of the stored data,
  • timing constraints on database operations, and
  • the performance goals.

Wikipedia: “A real-time database is a database system which uses real-time processing to handle workloads whose state is constantly changing. Real-time databases are traditional databases that use an extension to give the additional power to yield reliable responses. They use timing constraints that represent a certain range of values for which the data are valid.”

Discussion:
Real-time database can be viewed as a value-added database that supports real time transactions. It has queries, schemas, concurrency control support, storage management, and transactions like a conventional database (RDBMS). It is different from a conventional database in the sense that it requires a timely response to a user request. That means timing constraints of real-time systems are associated with the transactions of database.

Examples:

  • Stock Market Trading
  • Radar Tracking
  • Banking System






Go to REAL TIME DATABASE Home page










Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery