1
00:00:00,150 --> 00:00:02,080
Hello and welcome to this lecture.

2
00:00:02,100 --> 00:00:05,670
This is a quick introduction to Etsy for beginners.

3
00:00:05,670 --> 00:00:11,010
If you already know about Etsy feel free to skip this video and head over to the next video where we

4
00:00:11,010 --> 00:00:13,740
discuss about Etsy in incumbents.

5
00:00:13,860 --> 00:00:19,110
We start with a basic introduction to what a key value stories and how it is different from traditional

6
00:00:19,110 --> 00:00:25,170
databases how to quickly get started with Etsy and how to use declined to to operate.

7
00:00:25,710 --> 00:00:31,260
Later in this course when we cover high availability we will discuss about what it means to be a distributed

8
00:00:31,260 --> 00:00:37,350
system how it works in a customer mode what RAF protocol is and what are the best practices around the

9
00:00:37,350 --> 00:00:42,490
number of nodes in an Natalie cluster so what is Etsy.

10
00:00:42,690 --> 00:00:48,660
It is a distributed reliable key value store that is simple secure and fast.

11
00:00:48,660 --> 00:00:49,690
So let's break it up.

12
00:00:51,040 --> 00:00:53,980
So what is a key value store.

13
00:00:53,980 --> 00:00:58,410
Traditionally databases have been in a tabular format.

14
00:00:58,540 --> 00:01:02,360
You must have heard about sequel or relational databases.

15
00:01:02,410 --> 00:01:05,670
They store data in the form of rows and columns.

16
00:01:05,770 --> 00:01:10,330
For example here is a table that stores information regarding few individuals.

17
00:01:10,330 --> 00:01:15,070
The row represents each person and the column represents the type of information being stored.

18
00:01:16,080 --> 00:01:24,930
A key value store stores information in a key and a value format you put a key and a value.

19
00:01:25,070 --> 00:01:26,750
And it saves that in the database.

20
00:01:26,810 --> 00:01:33,020
And then you get the key and it returns the value and you cannot have duplicate keys.

21
00:01:33,020 --> 00:01:38,710
As such it is not used as a replacement for a regular tabular database.

22
00:01:38,720 --> 00:01:45,710
Instead it is used to store and retrieve small chunks of data such as configuration data that requires

23
00:01:45,830 --> 00:01:47,310
fast read and write.

24
00:01:47,320 --> 00:01:50,170
It is easy to install and get started with Etsy.

25
00:01:50,450 --> 00:01:57,080
Download the binary extracted and run download the relevant binary of For Your operating system from

26
00:01:57,080 --> 00:02:01,920
the github releases pages extracted and run the ATV executable.

27
00:02:02,210 --> 00:02:08,690
When you run SCADA it starts a service that listens on Pt. 2 3 7 9 by default.

28
00:02:08,750 --> 00:02:15,230
You can then attach any clients to the SCADA service to store and retrieve information in default.

29
00:02:15,230 --> 00:02:22,130
Client that comes with entity is the SLA control client the entity control client is a command line

30
00:02:22,160 --> 00:02:29,090
client for entity you can use it to store and retrieve key value pairs to store a key value pair run

31
00:02:29,090 --> 00:02:34,840
the LCD control said key one command followed by the value value one.

32
00:02:34,910 --> 00:02:41,310
This creates an entry in the database with the information to retrieve the stored data run the exit

33
00:02:41,400 --> 00:02:49,400
control get key one command to view more options run the exit control command without any arguments.

34
00:02:49,510 --> 00:02:51,980
Well that's a quick introduction to SCV.

35
00:02:52,000 --> 00:02:57,520
Next we will see how it really works in cabinets and later in this course we will discuss more about

36
00:02:57,550 --> 00:03:02,760
configuring at silly customers in a high availability setup and the best practices around it.
