November 11, 2019

#Cassandra Part 4

Command To Create Keyspace
CREATE KEYSPACE EmployeeDetails
WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 3};

To verify whether the table is created or not we can use the command Describe. If we use this command over keyspaces, it will display all the keyspaces created.
DESCRIBE keyspaces;

#Cassandra Part 3

Define commit log.
It is a mechanism that is used to recover data in case the database crashes. Every operation that is carried out is saved in the commit log. Using this the data can be recovered.

#Cassandra Part 2 : Data Model, Keys, Ring Representation, Virtual Nodes

Cassandra
  • Cassandra is an open source, distributed database from Apache that is highly scalable and designed to manage very large amounts of structured data.
  • Cassandra is made to easily deploy over a cluster of machines located at geographically different places.
  • There is no master slave or central master server, so no single point of failure, no bottleneck, data is replicated, and a faulty node can be replaced without any downtime.
  • Cassandra is linearly scalable, which means that with more nodes, the requests served per second per node will not go down. Also, the total throughput of the system will increase with each node being added. 
  • Cassandra is column oriented, much like a map (or better, a map of sorted maps) or a table with flexible columns where each column is essentially a key-value pair. So, we can add columns as we go, and each row can have a different set of columns (key-value).
  • Cassandra does not provide any relational integrity. It is up to the application developer to perform relation management.
  • It is a type of NoSQL database.
  • Apache HBase and MongoDB are quite popular NoSQL databases besides Cassandra.
  • It is widely used in Netflix, eBay, GitHub, Facebook, Twitter etc.
  • Cassandra does automatic partitioning and replication.
What is the main objective of creating Cassandra?
The main objective of Cassandra is to handle a large amount of data. Furthermore, the objective also ensures fault tolerance with the swift transfer of data.

#Cassandra Part 1: NoSQLDatabase

NoSQLDatabase
  • A NoSQL database is sometimes called as Not Only SQL. It is a database that provides a mechanism to store and retrieve data other than the tabular relations used in relational databases. 
  • These type databases are schema-free, support easy replication, have simple API, eventually consistent, and can handle huge amounts of data.
  • Primary objective of a NoSQL database is to have: simplicity of design, horizontal scaling, and finer control over availability.
  • SQL was designed to be a query language for relational databases, and relational databases are usually table- based, much like what we see in a spreadsheet. In a relational database, records are stored in rows and then the columns represent fields in each row. SQL allows us to query within and between tables in that relational database.
  • On the other hand, NoSQL databases are more flexible, NoSQL databases allow us to define fields as we create a record.
  • Nested values are common in NoSQL databases. We can have hashes and arrays and objects, and then nest more objects and arrays and hashes within those.
  • Also fields are not standardized between records in NoSQL databases, we can have a different structure for every record in your NoSQL database.

November 08, 2019

देवउठनी एकादशी पर क्यों होता है तुलसी विवाह?


आज कार्तिक मास के शुक्ल पक्ष की एकादशी है। कहते है भगवान विष्णु अपनी चार महीने की निद्रा से आज उठते है इसीलिए इसे देवउठनी एकादशी या  प्रबोधिनी एकादशी भी कहा जाता है ।

भगवान विष्‍णु को जगाने का मंत्र 

भगवान् को निंद्रा से उठाने के लिए इस मन्त्र का जप करें, अगर उच्चारण न कर पाए तो 'उठो देवा, जागो देवा, बैठो देवा' कहकर श्रीनारायण को उठाएं।

उत्तिष्ठ गोविन्द त्यज निद्रां जगत्पतये। त्वयि सुप्ते जगन्नाथ जगत् सुप्तं भवेदिदम्॥
उत्थिते चेष्टते सर्वमुत्तिष्ठोत्तिष्ठ माधव। गतामेघा वियच्चैव निर्मलं निर्मलादिशः॥
शारदानि च पुष्पाणि गृहाण मम केशव।

तुलसी विवाह क्यों?

प्रबोधिनी एकादशी के दिन तुलसी जी का विवाह भगवान शालिग्राम के साथ करवाने की भी परंपरा है।

November 04, 2019

I can do a lip-lock on a TV, but not beyond that: Harsh Rajput

Harsh Rajput, who plays the male lead in Gul Khan's 'Nazar' has recently shot a bathtub sequence for the show

We heard, "Ansh (Harsh Rajput) will get into 'dayaan shesha', after which he will come out in his dayaan form from the bathtub."

November 01, 2019

October 30, 2019

'Hate Story' actress Ihana Dhillon to make her digital debut with Ullu App's Kasak

Bollywood actress Ihana Dhillon has been roped in to play a rape victim in Ullu App's upcoming web-series 'Kasak'. We heard, "'Kasak' is the story about a girl, who was violently attacked and raped because of which she was in a semi-comatose for the rest of her life."

October 25, 2019

Dhanteras 2019


Happy Birthday Dhanwantari ji🌼

क्यों मनाई जाती है धनतेरस?


बचपन में जब भी कभी कही धनतेरस का ज़िक्र सुना तो लगा ये कही न कही त्यौहार धन वैभव से संबंधित है ।

उम्र के शायद २८ धनतेरस देखने के बाद पता चला ये त्यौहार मूलतः दो करानो से मनाया जाता है, और आश्चर्य की बात ये है के दोनों में धन प्राप्ति का कोई उल्लेख नहीं है।

October 24, 2019

BARC TV Ratings- Week 42, 2019

Top 10 Hindi Urban GEC Channel
  1. Sony Entertainment Television 473631
  2. SONY SAB 435315
  3. STAR Plus 430064
  4. Colors 350477
  5. Zee TV 342086
  6. Dangal 253429
  7. STAR Bharat 190837
  8. &TV 100451
  9. Big Magic 99869
  10. STAR Utsav 93410 

October 17, 2019

BARC TV Ratings- Week 41, 2019

Top 10 Hindi GEC Channel
  1. Dangal : 1030043
  2. STAR Plus : 636896
  3. Zee TV : 630909
  4. Sony Entertainment Television : 624019
  5. SONY SAB : 581660
  6. Colors : 522099
  7. Big Magic : 458765
  8. STAR Bharat : 317854
  9. Sony Pal : 148241
  10. STAR Utsav : 140722

October 07, 2019

'Jodha Akbar' actor Ravi Bhatia to play a gangster..

'Jodha Akbar' fame Ravi Bhatia, who was recently made news for his love-making scenes in 'Halala' will be playing a gangster in upcoming web-series.