Take a first look at a SQLite fork growing in popularity called libSQL, which makes it possible to launch one database per user. Let’s dive into the history of SQLite and examine the tradeoffs of database scaling techniques.
Topics Covered
What is SQLite?
World’s most deployed database
SQLite vs PostgreSQL
What is libSQL?
libSQL quickstart tutorial
In this video, I’ll show you how to build a simple AI application using Cursor, v0 by Vercel, combined with a background removal model from fal.ai. We’ll start by setting up the background removal model, referencing API documentation, and creating a new Next.js project. Along the way, I’ll demonstrate how to integrate an image uploader and process images with the Fal hosted model. I’ll also highlight the Composer view in Cursor, which helps streamline our coding process by referencing documentation and making file tweaks efficiently. By the end, you’ll see how to add features like image downloading and full-screen view, making this a practical and easy-to-follow tutorial. If you find this video useful, don’t forget to like, comment, share, and subscribe! #AI #NextJS #Cursor
00:00 Introduction to Building an AI Application
00:12 Setting Up the Model from fal.ai
01:27 Creating the Next.js Project
01:56 Implementing the Image Uploader
02:50 Integrating the Background Removal Model
03:31 Using Cursor for Documentation and File Management
05:31 Finalizing the Application
06:15 Testing and Adding Features
08:37 Conclusion and Next Steps
0:00 What is database sharding?
0:12 Why is database sharding important?
0:58 What are the benefits of database sharding?
1:57 How does database sharding work?
3:42 What are the methods of database sharding?
3:47 Range-based sharding
4:59 Hashed sharding
5:52 Directory sharding
6:38 Geo sharding
7:25 How to optimize database sharding for even data distribution?
7:45 Cardinality
8:05 Frequency
8:24 Monotonic change
Explore the inner workings of LLVM, the powerful framework behind many modern compilers! In this video, we break down key concepts like Intermediate Representation (IR), LLVM’s modular design, and Just-In-Time (JIT) compilation. You’ll learn how LLVM supports multiple languages, optimizes code with techniques like dead code elimination and loop unrolling, and generates machine code for different architectures. We also look at Clang, LLVM’s popular C/C++ front-end, and the complete workflow from source code to optimized machine code.
If you’re a developer, you’re probably familiar with REST APIs, but there’s another query language for APIs that you should add to your programming toolkit: GraphQL. In this video, Martin explains the two different approaches these frameworks take for building APIs and compares their strengths and weaknesses. Spoiler alert: It’s not an either/or choice, and it’s worth knowing both approaches and applying them where it makes the most sense.
What is an API? What is REST? Learn how an Application Programming Interface (API) can adhere to Representational State Transfer (REST) to enable reliable communication between apps https://fireship.io/tags/node/
In this video, we explain the concept of Load Balancing and how to answer system design interview questions related to it. We’ll look at how Load Balancing can help improve your system’s availability, scalability, and performance.
Chapters –
00:00 – Why do we need load balancers?
01:06 – How do load balancers work?
02:21 – When should you use a load balancer?
03:26 – Advantages
03:51 – Considerations
04:35 – Outro
In this animation, we explain what a data architecture entails by using water as a metaphor for data. After watching this clip, you’ll have a clear understanding of the different processes that go on inside a data architecture.
In this video, I’ll share three data-driven reasons why you might want to consider cloud engineering instead of software development, especially with the rise of AI, job saturation, and the outsourcing trend. Cloud engineering offers high demand, career diversity, and a skill set that sets you up for long-term success.
Today’s data landscape, spanning operational, streaming, lakehouse, and warehouse systems, grapples with the complexities of decentralization. Do you seek new approaches, tools, and solutions to address challenges in data discovery, management, governance, quality, and observability?
How about a visibility layer, or control plane, for the data distributed across your stack?
In this session, Shirshanka Das, founder of the open source DataHub Project, will describe how a control plane for data, powered by metadata, can simplify data discovery, foster team collaboration, and offer real-time observability into data assets.
This talk will cover:
The control plane for data and its role in the decentralized data stack
Using the open-source DataHub Project to implement the control plane for data
How data contracts help you define and enforce decentralized governance
How this helps reduce operational overhead and keep cloud costs down
Why the industry is gravitating towards these ideas—and why the DataHub Project is key
Rust is a memory-safe compiled programming language for building high-performance systems. It has the simplicity of high-level languages (Go, Python), but the control of low-level languages (C, Cpp)
Dart is high-productivity statically-typed programming language capable of targeting multiple platforms. It’s used by Flutter to produce fast client apps with an awesome developer experience.
In this video, we dive into API Authentication, covering why it’s essential, how it secures API access, and four common methods: Basic Authentication, API Key Authentication, JWT Authentication, and OAuth. We’ll explore each method’s advantages and trade-offs and explain the crucial difference between authentication and authorization. Perfect for developers, this guide will help you understand how to secure your APIs effectively.
0:00 – Introduction to API Authentication: Importance and Overview
0:30 – What is API Authentication?
1:53 – Basic Authentication: Username & Password in HTTP Header
2:19 – API Key Authentication: Unique Keys for API Requests
2:57 – JWT Authentication: Stateless and Scalable Token System
3:54 – OAuth Authentication: Secure Third-Party Access with Tokens
4:48 – Authentication vs Authorization: Key Differences
5:40 – Conclusion: Choosing the Right API Authentication Method
In this video, we walk through the AWS architecture that powers high-scale web applications, covering each layer from Route 53 for DNS routing to Amazon S3 for data storage. Discover how AWS WAF and Shield secure requests, Elastic Load Balancing ensures smooth traffic distribution, and Auto Scaling dynamically adjusts server capacity. This setup ensures reliability, scalability, and performance for any web app hosted on AWS. Perfect for developers looking to optimize their infrastructure for high demand!
0:00 – Introduction: AWS Architecture for High-Scale Web Apps
1:00 – Route 53: DNS and Traffic Direction
1:40 – AWS WAF & Shield: Protecting Against Attacks
2:30 – Amazon CloudFront: Enhancing Content Delivery
3:15 – VPC and Subnets: Securing the Network
4:05 – Availability Zones: Ensuring Redundancy
4:40 – Elastic Load Balancer: Distributing Traffic
5:20 – EC2 Instances & Auto Scaling: Managing Server Load
6:10 – Elastic File System (EFS): Shared Storage for EC2
6:40 – ElastiCache: Accelerating Data Access
7:10 – Amazon RDS: Structured Data Storage with High Availability
7:45 – Amazon S3: Reliable Storage for Static Assets
8:10 – Conclusion: The Complete Request Journey on AWS
Assembly is the lowest level human-readable programming language. Today, it is used for precise control over the CPU and memory on the bare metal hardware of a computer. Learn the basics Assembly with NASM in 100 Seconds.
Learn how to implement database sharding to scale your systems and manage large datasets effectively with practical, and step-by-step guide.
Sections
0:00 What is Database Sharding
0:56 MongoDB Sharding Architecture
2:36 Step 1 — Set Up MongoDB Servers
3:51 Step 2 — Set Up MongoDB Config Server
6:04 Step 3 — Configure Shard Server Replica Sets
7:29 Step 4 — Launch mongos and Add Shards to the Cluster
9:14 Step 5 — Partition Collection Data
10:23 Choosing a Shard Key
I made the same game in x86 assembly, C and C++ to see how they compare.
Comment:
This reminded me of the time a colleague thought he could rewrite his C code in assembly to get more performance, what he learnt at the end was that the C compiler optimisation was much better than his assembly coding skills.
In this podcast I have invited Arpit to talk to us about very interesting topic “Scalability and Fault Tolerance”. In this episode we have discussed on very practical stuff related to Scalability, Fault Tolerance and most importantly ensuring that your system have these properties.
00:00 Introduction
05:40 What is Scalability?
08:10 What is Fault Tolerance?
10:20 How do we approach Scalability and Fault Tolerance?
15:15 Be as pessimistic as you can. Think about Failures.
21:15 How to hide system failures from the customer?
27:05 How to prove that our system is scalable?
33:40 How to test in a production (like) environment?
45:40 How to make sure you are testing the right thing?
52:40 Types of testing (Logevity Testing)
56:35 Security Testing
01:02:40 Chaos Testing
01:11:30 Key metrics to monitor a database
01:14:53 Key metrics to monitor an API
Topics:
1. Richardson Maturity Model;
2. Stateless vs Stateful APIs;
3. Define correct REST Endpoints;
4. REST Endpoints responses;
5. Plain Text vs JSON vs XML vs YAML;
6. Handling exceptions in APIs;
7. REST API versioning;
8. HATEOAS
9. The HTTP protocol;
Dave describes the entire chain of events that happens when you enter a URL into your browser, from the DNS resolution to the GPU displaying the bits on your screen, with nothing left out of the middle!
WebAssembly is the exciting technology that allows you to program for the web in languages other than JavaScript. There’s been a lot of hype surrounding it, with some speculating that it could not only replace JavaScript, but it could replace Java virtual machines as well. Some people are even trying to use WebAssembly for cloud computing and have suggested that it could actually replace Docker.
Come for an overview tour of WebAssembly and the WebAssembly ecosystem where we try to discover how much of this hype is justified.
The talk will look at how WebAssembly differentiates itself from Java bytecode, despite the conceptual similarities between the two. We’ll try to understand the WebAssembly security sandbox and compare it to other ways of sandboxing your code. We’ll examine the rationale for running WebAssembly on the server, and briefly touch on how to run WebAssembly code from inside your Java programs. Finally, the talk will discuss why Java programmers aren’t using WebAssembly despite the fact that browsers have supported it since 2017, and it will discuss why that might change in the future.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
We are a professional review site that has advertisement and can receive compensation from the companies whose products we review. We use affiliate links in the post so if you use them to buy products through those links we can get compensation at no additional cost to you.OkDecline
960 Comments
Tomi Engdahl says:
Python vs C++ Speed Comparison
https://www.youtube.com/watch?v=VioxsWYzoJk
Lets compare the performance of c++ vs python counting to 1 Billion…Why is python so slow?
Tomi Engdahl says:
SQLite and its weird new fork “libSQL”
https://www.youtube.com/watch?v=PGpL5hYpY1o
Take a first look at a SQLite fork growing in popularity called libSQL, which makes it possible to launch one database per user. Let’s dive into the history of SQLite and examine the tradeoffs of database scaling techniques.
Topics Covered
What is SQLite?
World’s most deployed database
SQLite vs PostgreSQL
What is libSQL?
libSQL quickstart tutorial
Tomi Engdahl says:
Front-end web development is changing, quickly
https://www.youtube.com/watch?v=TBIjgBVFjVI
Let’s take a first look at that latest release of shadcn/ui and combine it with Vercel’s V0 tool – an AI tool for building front-end UIs on the web.
Topics Covered
What is ShadCN?
What is v0?
AI tools for frontend development
How to design a web UI quickly
Cursor + V0: Can We Build An AI Next.js App in 8 Minutes?
https://www.youtube.com/watch?v=zyqwt65NIgs
In this video, I’ll show you how to build a simple AI application using Cursor, v0 by Vercel, combined with a background removal model from fal.ai. We’ll start by setting up the background removal model, referencing API documentation, and creating a new Next.js project. Along the way, I’ll demonstrate how to integrate an image uploader and process images with the Fal hosted model. I’ll also highlight the Composer view in Cursor, which helps streamline our coding process by referencing documentation and making file tweaks efficiently. By the end, you’ll see how to add features like image downloading and full-screen view, making this a practical and easy-to-follow tutorial. If you find this video useful, don’t forget to like, comment, share, and subscribe! #AI #NextJS #Cursor
Links:
https://fal.ai/
https://v0.dev/
https://www.cursor.com/
Learn the fundamentals of becoming an AI Engineer on Scrimba:
https://v2.scrimba.com/the-ai-enginee…
00:00 Introduction to Building an AI Application
00:12 Setting Up the Model from fal.ai
01:27 Creating the Next.js Project
01:56 Implementing the Image Uploader
02:50 Integrating the Background Removal Model
03:31 Using Cursor for Documentation and File Management
05:31 Finalizing the Application
06:15 Testing and Adding Features
08:37 Conclusion and Next Steps
Tomi Engdahl says:
Database Replication & Sharding Explained
https://www.youtube.com/watch?v=jLEp1XI_L6Q
Learn how to handle massive datasets and high traffic loads with database replication and sharding.
Free System Design Course: https://www.skool.com/web-dev-mastery
Sections
0:00 Biggest challenge of designing large scale systems
0:23 Replication
1:02 Leader-Follower Replication
1:28 Leader-Leader Replication
1:47 Async vs Sync Replications
2:25 Scaling Writes
2:58 Conflict Resolution Mechanisms
3:35 Sharding
4:55 Shard Keys
5:45 SQL vs NoSQL Sharding
6:17 Summary
Tomi Engdahl says:
How Notion Scaled to 100 Million Users Without Their Database Exploding
https://www.youtube.com/watch?v=HruBoinmPBA
In this video, we will explore how Notion managed to scale to 100 million users without exploding their database.
Tomi Engdahl says:
What is Database Sharding?
https://www.youtube.com/watch?v=XP98YCr-iXQ&list=PLiMWaCMwGJXnjNhBQF-vR2Xqal0hN9U2-
0:00 What is database sharding?
0:12 Why is database sharding important?
0:58 What are the benefits of database sharding?
1:57 How does database sharding work?
3:42 What are the methods of database sharding?
3:47 Range-based sharding
4:59 Hashed sharding
5:52 Directory sharding
6:38 Geo sharding
7:25 How to optimize database sharding for even data distribution?
7:45 Cardinality
8:05 Frequency
8:24 Monotonic change
Tomi Engdahl says:
ACID Properties in Databases With Examples
https://www.youtube.com/watch?v=GAe5oB742dw
Tomi Engdahl says:
Roadmap for Learning SQL
https://www.youtube.com/watch?v=yMqldbY2AAg
Tomi Engdahl says:
What is LLVM: How It Powers Modern Compilers and Optimizes Code
https://www.youtube.com/watch?v=3WojCM9r0Ls
Explore the inner workings of LLVM, the powerful framework behind many modern compilers! In this video, we break down key concepts like Intermediate Representation (IR), LLVM’s modular design, and Just-In-Time (JIT) compilation. You’ll learn how LLVM supports multiple languages, optimizes code with techniques like dead code elimination and loop unrolling, and generates machine code for different architectures. We also look at Clang, LLVM’s popular C/C++ front-end, and the complete workflow from source code to optimized machine code.
Tomi Engdahl says:
HTTP 1 Vs HTTP 2 Vs HTTP 3!
https://www.youtube.com/watch?v=UMwQjFzTQXw
Tomi Engdahl says:
20 System Design Concepts Explained in 10 Minutes
https://www.youtube.com/watch?v=i53Gi_K3o7I
A brief overview of 20 system design concepts for system design interviews.
0:00 – Intro
0:22 – Vertical Scaling
0:39 – Horizontal Scaling
1:05 – Load Balancers
1:50 – Content Delivery Networks
2:25 – Caching
2:52 – IP Address
3:05 – TCP / IP
2:52 – IP Address
3:58 – Domain Name System
4:41 – HTTP
5:45 – REST
6:05 – GraphQL
6:35 – gRPC
7:22 – WebSockets
7:58 – SQL
8:25 – ACID
8:55 – NoSQL
9:20 – Sharding
9:45 – Replication
10:20 – CAP Theorem
10:50 – Message Queues
Tomi Engdahl says:
Microservices Architecture – Implementation with Example – Part 1
https://www.youtube.com/watch?v=0Mzft2Kcev0
In this series we will be talking about Microservices and the implementation Details.
In this part we will briefly outline the Shopping App Structure with the different tech stack that we will be using for designing.
Tomi Engdahl says:
What Is GraphQL? REST vs. GraphQL
https://www.youtube.com/watch?v=yWzKJPw_VzM
GraphQL Explained in 100 Seconds
https://www.youtube.com/watch?v=eIQh02xuVw4
Tomi Engdahl says:
GraphQL vs REST: Which is Better for APIs?
https://www.youtube.com/watch?v=PTfZcN20fro
If you’re a developer, you’re probably familiar with REST APIs, but there’s another query language for APIs that you should add to your programming toolkit: GraphQL. In this video, Martin explains the two different approaches these frameworks take for building APIs and compares their strengths and weaknesses. Spoiler alert: It’s not an either/or choice, and it’s worth knowing both approaches and applying them where it makes the most sense.
Tomi Engdahl says:
RESTful APIs in 100 Seconds // Build an API from Scratch with Node.js Express
https://www.youtube.com/watch?v=-MTSQjw5DrM
What is an API? What is REST? Learn how an Application Programming Interface (API) can adhere to Representational State Transfer (REST) to enable reliable communication between apps https://fireship.io/tags/node/
Tomi Engdahl says:
Load Balancers for System Design Interviews
https://www.youtube.com/watch?v=chyZRNT7eEo
In this video, we explain the concept of Load Balancing and how to answer system design interview questions related to it. We’ll look at how Load Balancing can help improve your system’s availability, scalability, and performance.
Chapters –
00:00 – Why do we need load balancers?
01:06 – How do load balancers work?
02:21 – When should you use a load balancer?
03:26 – Advantages
03:51 – Considerations
04:35 – Outro
System Design Interview: Load Balancers
https://www.tryexponent.com/blog/load-balancers-system-design-interview
Tomi Engdahl says:
Reverse Proxy vs API Gateway vs Load Balancer
https://www.youtube.com/watch?v=RqfaTIWc3LQ
Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.
Tomi Engdahl says:
What is a Data Architecture? Modern Data Architectures Explained
https://www.youtube.com/watch?v=64TpELBlqAk
In this animation, we explain what a data architecture entails by using water as a metaphor for data. After watching this clip, you’ll have a clear understanding of the different processes that go on inside a data architecture.
Tomi Engdahl says:
What is Data Pipeline? | Why Is It So Popular?
https://www.youtube.com/watch?v=kGT4PcTEPP8
Tomi Engdahl says:
7 Must-know Strategies to Scale Your Database
https://www.youtube.com/watch?v=_1IKwnbscQU
Tomi Engdahl says:
When to Use Kafka or RabbitMQ | System Design
https://www.youtube.com/watch?v=w8xWTIFU4C8
Tomi Engdahl says:
What Is A CDN? How Does It Work?
https://www.youtube.com/watch?v=RI9np1LWzqw
What is API Gateway?
https://www.youtube.com/watch?v=6ULyxuHKxg8
Tomi Engdahl says:
DON’T Become a Software Engineer – Do THIS instead
https://www.youtube.com/watch?v=jwgjGU2xz80
In this video, I’ll share three data-driven reasons why you might want to consider cloud engineering instead of software development, especially with the rise of AI, job saturation, and the outsourcing trend. Cloud engineering offers high demand, career diversity, and a skill set that sets you up for long-term success.
Tomi Engdahl says:
Building an open source control plane for data
https://www.youtube.com/watch?v=gTwho9ijc-8
Today’s data landscape, spanning operational, streaming, lakehouse, and warehouse systems, grapples with the complexities of decentralization. Do you seek new approaches, tools, and solutions to address challenges in data discovery, management, governance, quality, and observability?
How about a visibility layer, or control plane, for the data distributed across your stack?
In this session, Shirshanka Das, founder of the open source DataHub Project, will describe how a control plane for data, powered by metadata, can simplify data discovery, foster team collaboration, and offer real-time observability into data assets.
This talk will cover:
The control plane for data and its role in the decentralized data stack
Using the open-source DataHub Project to implement the control plane for data
How data contracts help you define and enforce decentralized governance
How this helps reduce operational overhead and keep cloud costs down
Why the industry is gravitating towards these ideas—and why the DataHub Project is key
Tomi Engdahl says:
Proxy vs Reverse Proxy (Real-world Examples)
https://www.youtube.com/watch?v=4NB0NDtOwIQ
Tomi Engdahl says:
Proxy vs Reverse Proxy Explained: What’s the Difference? #backenddevelopment #systemdesign
https://www.youtube.com/watch?v=HUtMRHuXCFw
Tomi Engdahl says:
How SSH Really Works
https://www.youtube.com/watch?v=rlMfRa7vfO8
Tomi Engdahl says:
Rust in 100 Seconds
https://www.youtube.com/watch?v=5C_HPTJg5ek
Rust is a memory-safe compiled programming language for building high-performance systems. It has the simplicity of high-level languages (Go, Python), but the control of low-level languages (C, Cpp)
Dart in 100 Seconds
https://www.youtube.com/watch?v=NrO0CJCbYLA
Dart is high-productivity statically-typed programming language capable of targeting multiple platforms. It’s used by Flutter to produce fast client apps with an awesome developer experience.
Tomi Engdahl says:
Does Deno 2 really uncomplicate JavaScript?
https://www.youtube.com/watch?v=8IHhvkaVqVE
Last week, the highly anticipated JavaScript runtime was released, with arguably the greatest launch campaign for a JavaScript tool ever made.
In this video we’ll use Deno 2.0 to build a REST API and find out if it lives up to its bold claim of uncomplicating JavaScript…
Tomi Engdahl says:
API Authentication: JWT, OAuth2, and More
https://www.youtube.com/watch?v=xJA8tP74KD0
In this video, we dive into API Authentication, covering why it’s essential, how it secures API access, and four common methods: Basic Authentication, API Key Authentication, JWT Authentication, and OAuth. We’ll explore each method’s advantages and trade-offs and explain the crucial difference between authentication and authorization. Perfect for developers, this guide will help you understand how to secure your APIs effectively.
0:00 – Introduction to API Authentication: Importance and Overview
0:30 – What is API Authentication?
1:53 – Basic Authentication: Username & Password in HTTP Header
2:19 – API Key Authentication: Unique Keys for API Requests
2:57 – JWT Authentication: Stateless and Scalable Token System
3:54 – OAuth Authentication: Secure Third-Party Access with Tokens
4:48 – Authentication vs Authorization: Key Differences
5:40 – Conclusion: Choosing the Right API Authentication Method
Why is JWT popular?
https://www.youtube.com/watch?v=P2CPd9ynFLg
Tomi Engdahl says:
Inside AWS Architecture: Journey of a Web Request
https://www.youtube.com/watch?v=F318zw_HKDw
In this video, we walk through the AWS architecture that powers high-scale web applications, covering each layer from Route 53 for DNS routing to Amazon S3 for data storage. Discover how AWS WAF and Shield secure requests, Elastic Load Balancing ensures smooth traffic distribution, and Auto Scaling dynamically adjusts server capacity. This setup ensures reliability, scalability, and performance for any web app hosted on AWS. Perfect for developers looking to optimize their infrastructure for high demand!
0:00 – Introduction: AWS Architecture for High-Scale Web Apps
1:00 – Route 53: DNS and Traffic Direction
1:40 – AWS WAF & Shield: Protecting Against Attacks
2:30 – Amazon CloudFront: Enhancing Content Delivery
3:15 – VPC and Subnets: Securing the Network
4:05 – Availability Zones: Ensuring Redundancy
4:40 – Elastic Load Balancer: Distributing Traffic
5:20 – EC2 Instances & Auto Scaling: Managing Server Load
6:10 – Elastic File System (EFS): Shared Storage for EC2
6:40 – ElastiCache: Accelerating Data Access
7:10 – Amazon RDS: Structured Data Storage with High Availability
7:45 – Amazon S3: Reliable Storage for Static Assets
8:10 – Conclusion: The Complete Request Journey on AWS
Tomi Engdahl says:
Everything You NEED to KNOW About Web Applications
https://www.youtube.com/watch?v=_higfXfhjdo
Tomi Engdahl says:
Assembly Language in 100 Seconds
https://www.youtube.com/watch?v=4gwYkEK0gOk
Assembly is the lowest level human-readable programming language. Today, it is used for precise control over the CPU and memory on the bare metal hardware of a computer. Learn the basics Assembly with NASM in 100 Seconds.
Tomi Engdahl says:
Stateful vs Stateless Architectures Explained
https://www.youtube.com/watch?v=20tpk8A_xa0
Learn the key differences between stateful and stateless architectures and how they impact system design and scalability.
Sections
0:00 Stateful Architecture
0:54 Stateless Architecture
1:41 Online shopping example
2:35 Stateless is More Scalable
3:47 Recap
Tomi Engdahl says:
Vertical Vs Horizontal Scaling: Key Differences You Should Know
https://www.youtube.com/watch?v=dvRFHG2-uYs
Tomi Engdahl says:
Big-O Notation in 3 Minutes
https://www.youtube.com/watch?v=x2CRZaN2xgM
Tomi Engdahl says:
How to Configure and Provision Database Sharding
https://www.youtube.com/watch?v=98_OJ1Eoibw
Learn how to implement database sharding to scale your systems and manage large datasets effectively with practical, and step-by-step guide.
Sections
0:00 What is Database Sharding
0:56 MongoDB Sharding Architecture
2:36 Step 1 — Set Up MongoDB Servers
3:51 Step 2 — Set Up MongoDB Config Server
6:04 Step 3 — Configure Shard Server Replica Sets
7:29 Step 4 — Launch mongos and Add Shards to the Cluster
9:14 Step 5 — Partition Collection Data
10:23 Choosing a Shard Key
Tomi Engdahl says:
I made the same game in Assembly, C and C++
https://www.youtube.com/watch?v=2eeXj-ck9VA
I made the same game in x86 assembly, C and C++ to see how they compare.
Comment:
This reminded me of the time a colleague thought he could rewrite his C code in assembly to get more performance, what he learnt at the end was that the C compiler optimisation was much better than his assembly coding skills.
Tomi Engdahl says:
Should you use RUST as your FIRST programming language?
https://www.youtube.com/watch?v=L576AckqIZg
Tomi Engdahl says:
Top 12 Tips For API Security
https://www.youtube.com/watch?v=6WZ6S-qmtqY
1. Https
2. OAuth2
3. WebAuthn
4. Implement Authorization
5. Leveled API Keys
6.Rate Limiting
7. API Versioning
8.Allow Listing
9. OWASP Security Risks
10.API Gateway
11. Error Handling
12. Input Validation
Tomi Engdahl says:
System Design Interview: A Step-By-Step Guide
https://www.youtube.com/watch?v=i7twT3x5yv8
Tomi Engdahl says:
10 Design Patterns Explained in 10 Minutes
https://www.youtube.com/watch?v=tv-_1er1mWI
Chapters
00:00 Design Patterns
01:00 What are Software Design Patterns?
01:34 Singleton
02:24 Prototype
03:46 Builder
04:23 Factory
04:54 Facade
05:47 Proxy
06:45 Iterator
07:47 Observer
08:58 Mediator
09:50 State
Tomi Engdahl says:
What Is Single Sign-on (SSO)? How It Works
https://www.youtube.com/watch?v=O1cRJWYF-g4
Tomi Engdahl says:
Practical Scalability and Fault Tolerance with Arpit Bhayani
https://www.youtube.com/watch?v=IGPBWljXjLI&list=PLL7QpTxsA4sfLDUnjBJXJGFhhz94jDd_d
In this podcast I have invited Arpit to talk to us about very interesting topic “Scalability and Fault Tolerance”. In this episode we have discussed on very practical stuff related to Scalability, Fault Tolerance and most importantly ensuring that your system have these properties.
00:00 Introduction
05:40 What is Scalability?
08:10 What is Fault Tolerance?
10:20 How do we approach Scalability and Fault Tolerance?
15:15 Be as pessimistic as you can. Think about Failures.
21:15 How to hide system failures from the customer?
27:05 How to prove that our system is scalable?
33:40 How to test in a production (like) environment?
45:40 How to make sure you are testing the right thing?
52:40 Types of testing (Logevity Testing)
56:35 Security Testing
01:02:40 Chaos Testing
01:11:30 Key metrics to monitor a database
01:14:53 Key metrics to monitor an API
Tomi Engdahl says:
Top 12 Tips For API Security
https://www.youtube.com/watch?v=6WZ6S-qmtqY
Tomi Engdahl says:
The Right Way To Build REST APIs
https://www.youtube.com/watch?v=CVBpYfPKGlE
Best Practices for building REST APIs.
Topics:
1. Richardson Maturity Model;
2. Stateless vs Stateful APIs;
3. Define correct REST Endpoints;
4. REST Endpoints responses;
5. Plain Text vs JSON vs XML vs YAML;
6. Handling exceptions in APIs;
7. REST API versioning;
8. HATEOAS
9. The HTTP protocol;
Tomi Engdahl says:
How an HTTP Request Gets Served – In Great Detail
https://www.youtube.com/watch?v=hWyBeEF3CqQ
Dave describes the entire chain of events that happens when you enter a URL into your browser, from the DNS resolution to the GPU displaying the bits on your screen, with nothing left out of the middle!
Tomi Engdahl says:
GitHub: Python on nyt maailman suosituin ohjelmointikieli, ohitti JavaScriptin
https://dawn.fi/uutiset/2024/11/04/github-python-on-nyt-maailman-suosituin-ohjelmointikieli
Tomi Engdahl says:
Top 6 Most Popular API Architecture Styles
https://www.youtube.com/watch?v=4vLxWqE94l4
Tomi Engdahl says:
2024-10 WebAssembly and Java
https://www.youtube.com/watch?v=GrhZY5SlJwE
WebAssembly is the exciting technology that allows you to program for the web in languages other than JavaScript. There’s been a lot of hype surrounding it, with some speculating that it could not only replace JavaScript, but it could replace Java virtual machines as well. Some people are even trying to use WebAssembly for cloud computing and have suggested that it could actually replace Docker.
Come for an overview tour of WebAssembly and the WebAssembly ecosystem where we try to discover how much of this hype is justified.
The talk will look at how WebAssembly differentiates itself from Java bytecode, despite the conceptual similarities between the two. We’ll try to understand the WebAssembly security sandbox and compare it to other ways of sandboxing your code. We’ll examine the rationale for running WebAssembly on the server, and briefly touch on how to run WebAssembly code from inside your Java programs. Finally, the talk will discuss why Java programmers aren’t using WebAssembly despite the fact that browsers have supported it since 2017, and it will discuss why that might change in the future.