Toggle navigation
Video
♫ Thôn Quê
♫ Sông Đáy
♫ Liên Khúc
♫ Nhạc Đám Cưới
♫ Nonstop Việt
♫ Không Lời
♫ Nhạc Vàng Trữ Tình
♫ Nhạc Trẻ
Optimistic Locking - What, When, Why, and How?
Arpit Bhayani
19.581 Lượt nghe
Prev
play
stop
Next
mute
max volume
00:00
00:00
repeat
Update Required
To play the media you will need to either update your browser to a recent version or update your
Flash plugin
.
Tải MP3
MÔ TẢ MP3
TIẾP THEO
Optimistic Locking - What, When, Why, and How?
System Design for SDE-2 and above: https://arpitbhayani.me/masterclass System Design for Beginners: https://arpitbhayani.me/sys-design Redis Internals: https://arpitbhayani.me/redis Build Your Own Redis / DNS / BitTorrent / SQLite - with CodeCrafters. Sign up and get 40% off - https://app.codecrafters.io/join?via=arpitbbhayani In the video, I explained how optimistic locking can be used as an alternative to pessimistic locking in multi-threaded programs to improve performance. By utilizing the compare and swap semantic, optimistic locking allows one thread to succeed while another fails, reducing contention and improving throughput. I demonstrated the implementation of optimistic locking using a simple C code example and discussed its advantages and disadvantages. Leveraging the underlying CPU architecture for atomic operations is key to efficient optimistic locking. Overall, understanding and implementing optimistic locking can significantly enhance system performance. # Recommended videos and playlists If you liked this video, you will find the following videos and playlists helpful System Design:
https://www.youtube.com/watch?v=o7qLKfILuD8&list=PLsdq-3Z1EPT27BuTnJ_trF7BsaTpYLqst
Designing Microservices:
https://www.youtube.com/watch?v=JPj6mhVLQN0&list=PLsdq-3Z1EPT0ug8eizS71G6LZb6-4FAFt
Database Engineering:
https://www.youtube.com/watch?v=-htbah3eCYg&list=PLsdq-3Z1EPT2C-Da7Jscr7NptGcIZgQ2l&pp=gAQBiAQB
Concurrency In-depth:
https://www.youtube.com/watch?v=2PjlaUnrAMQ&list=PLsdq-3Z1EPT3VjDhjMb5yBsgn0wn2-fjp
Research paper dissections:
https://www.youtube.com/watch?v=LXhgFAZroG8&list=PLsdq-3Z1EPT2XEJ0AmF02LBK1RFNd-jK8
Outage Dissections:
https://www.youtube.com/watch?v=LeT_s-UFw-U&list=PLsdq-3Z1EPT3_Z97svMs6S2y7tv1PcUmc
Hash Table Internals:
https://www.youtube.com/watch?v=jjW8w8ED3Ns&list=PLsdq-3Z1EPT2UnueESBLReaVSLIo_BuAc
Bittorrent Internals:
https://www.youtube.com/watch?v=v7cR0ZolaUA&list=PLsdq-3Z1EPT1rNeq2GXpnivaWINnOaCd0
# Things you will find amusing Knowledge Base: https://arpitbhayani.me/knowledge-base Bookshelf: https://arpitbhayani.me/bookshelf Papershelf: https://arpitbhayani.me/papershelf # Other socials I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff. LinkedIn: https://linkedin.com/in/arpitbhayani Twitter: https://twitter.com/arpit_bhayani Weekly Newsletter: https://arpit.substack.com Thank you for watching and supporting! it means a ton. I am on a mission to bring out the best engineering stories from around the world and make you all fall in love with engineering. If you resonate with this then follow along, I always keep it no-fluff.
Những bài liên quan
29:43
Why do databases store data in B+ trees?
63.7 N
Arpit Bhayani
43:28
What Every Programmer Should Know about How CPUs Work • Matt Godbolt • GOTO 2024
75.9 N
GOTO Conferences
10:10
Understanding Pessimistic Locking with Mutex
11.6 N
Arpit Bhayani
23:53
Database Sharding and Partitioning
155 N
Arpit Bhayani
9:29
Why thread pools even exist? and how to implement them?
50.3 N
Arpit Bhayani
16:07
Why Are Threads Needed On Single Core Processors
361.4 N
Core Dumped
19:26
How to write efficient and fair multi-threaded programs?
36.4 N
Arpit Bhayani
23:25
How do indexes make databases read faster?
135.5 N
Arpit Bhayani
9:05
This is why understanding database concurrency control is important
172.6 N
Web Dev Cody
28:13
21: Distributed Locking | Systems Design Interview Questions With Ex-Google SWE
25 N
Jordan has no life
10:24
How Distributed Lock works | ft Redis | System Design
20.7 N
ByteMonk
1:21:23
The Philosophy of Software Design – with John Ousterhout
179.6 N
The Pragmatic Engineer
3:41:20
Databases In-Depth – Complete Course
500.2 N
freeCodeCamp.org
1:04:45
System Design: Concurrency Control in Distributed System | Optimistic & Pessimistic Concurrency Lock
139 N
Concept && Coding - by Shrayansh
6:22
Optimistic Locking vs Pessimistic Locking With EF Core
22.1 N
Milan Jovanović
5:11
Multithreading vs Multiprocessing | System Design
30.5 N
System Design School
41:10
python t-strings (PEP 750)
19.6 N
anthonywritescode
22:06
How does the database guarantee reliability using write-ahead logging?
33.8 N
Arpit Bhayani
3:39
System Design: Why is single-threaded Redis so fast?
329.1 N
ByteByteGo
1:20:53
#18 - Optimistic Concurrency Control ✸ Weaviate Database Talk (CMU Intro to Database Systems)
3.8 N
CMU Database Group
Nhạc Theo Chủ Đề
Nhạc Không Lời
Nhạc Vàng HOT
Nhạc Liên Khúc
Nhạc DJ HOT
Nhạc Hà Nam
Nhạc Vĩnh Yên
Nhạc Hưng Yên
Nhạc Hải Dương
Nhạc Hà Tây
Nhạc Sông Đáy
LK Nhạc Vàng
LK Nhạc Trẻ
Liên kết website