JusticeTech System 〽️
Открыть в Telegram
Learn to learn before you teach
БольшеСтрана не указанаКатегория не указана
230
Подписчики
-224 часа
-47 дней
-230 дней
Архив постов
6. PoolingPooling means keeping a collection of reusable resources so they can be shared instead of repeatedly creating new ones.
14 сент., 19:16
This is very important
Replication = copying
e.g
A
↓
A
A
A
Sharding = splitting
e.g
A B C D E F
↓
Shard 1 >> A B
Shard 2 >> C D
Shard 3 >> E F
14 сент., 19:14
Imagine a school has 100,000 students.
Instead of putting every student into one giant classroom like one classroom containing 100,000 students, this is madness right?
So instead of that you decide to divide them like
Class A >> students 1-1000
Class B >> students 1001-2000
Class C >> students 2001-3000
etc
That's conceptually similar to sharding.
14 сент., 19:12
5. ShardingThis is one of the most important concepts. Sharding means splitting a large dataset into smaller pieces called shards and storing those pieces separately. This is where it get interesting
14 сент., 19:08
Another practical example
A teacher keeps the original exam question paper.
Then makes:
Copy A
Copy B
Copy C
If one copy gets destroyed, other copies remain.
That's replication.
14 сент., 18:39
Also take it this way
Imagine you have one database but then you want to have more than one probably because if one database server fails, another copy can potentially continue serving requests. In that case you can carry out a replication
14 сент., 18:32
Welcome to the Group, Oluwaseeniloba! 👋
We’re delighted to have you join us. 🎉
Please take a moment to review the group rules, and feel free to engage respectfully with the community.
We wish you a pleasant and productive stay.
14 сент., 18:31
14 сент., ~18:31
Just like someone gave you a book to go photocopy sometimes they will tell you to photocopy it into two places, 3 etc
That is replication
14 сент., 18:29
4. ReplicationSimple definition Replication means creating copies of data or services so multiple copies exist. Very simple right?
14 сент., 18:27
Now this is it....
Imagine there are two roads
One of the road is narrow while the other is highway
You will agree with me that the highway will carry more cars right? Exactly
So similarly, a connection with higher bandwidth can carry more data.
14 сент., 18:22
3. BandwidthBandwidth is the maximum amount of data that can be transferred through a connection within a period of time. Let me explain...
14 сент., 18:16
It is as simple as that, you don't need to disturb or waste your time trying to make it complicated that is why i am bringing it down to practical level
14 сент., 18:14
