acme scorpion retweeted
I'm 38.
When I was 32 I worked in a bank, went woke (then broke) & suffered depression.
Then I discovered Naval Ravikant's "How to get rich" post & made several million dollars by 38
8 of his insights that transformed my life (and will do the same for you):
acme scorpion retweeted
Your brain is a hardware.
Every day the battery goes to 0
If you don't charge it, the software becomes useless.
Give me 2 minutes and I'll show you how to gain a super brain in 8 steps:
acme scorpion retweeted
Becoming AWS Data Engineer (Quick Guide) ๐
There are 100s of services available on Amazon Web Services, the thing is you don't need to learn all of them.
You need to focus on 10-20 services that you might use as a Data Engineer and services for other work (networking/access management)
๐ AWS Services for Data Engineers:
โ
Simple Storage Service (S3):
It is an object storage (you can store anything) basically, the center of your work, all of the data you will get will be stored here for future processing.
โ
AWS Glue:
Want to write ETL (Extract, Transform, Load) jobs in Python/Spark without worrying about servers? Glue is a serverless service where you just need to focus on writing your code and everything will be taken care of by AWS
โ
Amazon Redshift:
So you processed data and wrote the ETL script, where to load it? Yes! Data Warehouse. Amazon Redshift is a fully managed data warehouse service that makes it simple to analyze all your data using standard SQL and your preferred business intelligence (BI) tools.
โ
Amazon EMR (Elastic MapReduce):
Maybe you already have your processing scripts on on-premise servers written in Hadoop/Spark and want to migrate to a similar system then EMR is the way to go.
It is a managed big data platform that makes it easy to process large amounts of data using open-source data processing frameworks like Apache Hadoop and Apache Spark.
โ
AWS Lambda:
Want to run quick scripts on specific times/triggers/events? Lambda is your best friend!
AWS Lambda is a serverless computing service that enables you to run your code without managing servers. This service can be used to run data engineering workflows and transform data in real time.
โ
Amazon Athena:
Why load data on Data Warehouse, when you can just direct run SQL query on top of actual files? Athena is an ad-hoc query interface that you can use for SQL queries directly on top of files stored on S3 buckets
โ
Kinesis:
Want to process real-time data, analyze it, and store it? Kinesis is used for this type of work, just like Apache Kafka, you can process real-time data using Kinesis.
โ
DMS (Data Migration Service):
I spent my early data engineering days working on migration projects and DMS makes your life so much easier.
There are many more services you can focus on such as EC2, IAM, VPC, Batch, Sagemaker, etc...
If you want to learn all of these services by building a project then check below๐๐ป
acme scorpion retweeted
Struggling with Machine Learning algorithms? ๐ค
Then you better stay with me! ๐ค
We are going back to the basics to simplify ML algorithms.
... today's turn is Logistic Regression! ๐๐ป
acme scorpion retweeted
๐จ Breaking news:
Google Chrome just got an AI upgrade.
You can now ask Gemini anything directly from the search bar.
Here's how to use it directly in Chrome search bar with just 2 steps: ๐งต ๐
acme scorpion retweeted
๐๐ผ ๐๐ผ๐ ๐ต๐ฎ๐๐ฒ ๐ฎ ๐ณ๐ถ๐
๐ฒ๐ฑ ๐บ๐ถ๐ป๐ฑ๐๐ฒ๐?
If you have it, you think you cannot be better or have a better job or life.
This is a prejudice that constrains you from growing further.
Outstanding achievement and well-being have all been associated with a growth mindset, the belief that one's talents can be developed through work and learning.
Shifting one's mentality can be time-consuming and effort-consuming, requiring confronting rooted ideas and thought habits.
But you can start today and improve yourself in every way.
The future still needs to be written. It's up to you to write it.
Anything is possible!
I wish you a great week ahead ๐.
#personaldevelopment
acme scorpion retweeted
Ever wonder what it means when your manager asks you to design for "high availability," "high scalability," or "high throughput"? Let me break it down in simple terms.
๐๐ถ๐ด๐ต ๐๐๐ฎ๐ถ๐น๐ฎ๐ฏ๐ถ๐น๐ถ๐๐ - ๐๐ฒ๐ฒ๐ฝ๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ฆ๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ ๐จ๐ฝ ๐ฎ๐ป๐ฑ ๐ฅ๐๐ป๐ป๐ถ๐ป๐ด
This refers to maximizing uptime of a service, usually targeting 99.9% availability or higher. Each additional nine usually means an exponential increase in complexity. To achieve this, we build in redundancy at multiple levels, with failover systems ready to step in if the main system crashes.
๐๐ถ๐ด๐ต ๐ง๐ต๐ฟ๐ผ๐๐ด๐ต๐ฝ๐๐ - ๐๐ฎ๐ป๐ฑ๐น๐ถ๐ป๐ด ๐๐ฒ๐ฎ๐๐ ๐๐ผ๐ฎ๐ฑ
Throughput refers to the number of requests a system can handle per second, measured in transactions per second (TPS) or queries per second (QPS). Common techniques include adding caches, tweaking thread usage, optimizing bottlenecks, and enabling asynchronous processing to handle more simultaneous requests.
๐๐ถ๐ด๐ต ๐ฆ๐ฐ๐ฎ๐น๐ฎ๐ฏ๐ถ๐น๐ถ๐๐ - ๐๐ฟ๐ผ๐๐ถ๐ป๐ด ๐๐ฎ๐ฝ๐ฎ๐ฐ๐ถ๐๐
Scalability means a system can expand its workload capacity as needed. To scale out horizontally, itโs common to break services into independent modules or microservices. Leveraging load balancers and service registries enables seamlessly routing requests to new resources.
Over to you: What stories do you have tackling these in system design?
โ
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
acme scorpion retweeted
How To Release A Mobile App
The mobile app release process differs from conventional methods. This illustration simplifies the journey to help you understand.
Typical Stages in a Mobile App Release Process:
1. Registration & Development (iOS & Android):
- Enroll in Apple's Developer Program and Google Play Console as iOS and Android developer
- Code using platform-specific tools: Swift/Obj-C for iOS, and Java/Kotlin for Android
2. Build & Test (iOS & Android):
Compile the app's binary, run extensive tests on both platforms to ensure functionality and performance. Create a release candidate build.
3. QA:
- Internally test the app for issue identification (dogfooding)
- Beta test with external users to collect feedback
- Conduct regression testing to maintain feature stability
4. Internal Approvals:
- Obtain approval from stakeholders and key team members.
- Comply with app store guidelines and industry regulations
- Obtain security approvals to safeguard user data and privacy
5. App Store Optimization (ASO):
- Optimize metadata, including titles, descriptions, and keywords, for better search visibility
- Design captivating screenshots and icons to entice users
- Prepare engaging release notes to inform users about new features and updates
6. App Submission To Store:
- Submit the iOS app via App Store Connect following Apple's guidelines
- Submit the Android app via Google Play Console, adhering to Google's policies
- Both platforms may request issues resolution for approval
7. Release:
- Upon approval, set a release date to coordinate the launch on both iOS and Android platforms
Over to you:
What's the most challenging phase you've encountered in the mobile app release process?
โ
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
acme scorpion retweeted
System Design Blueprint: The Ultimate Guide. The method to download the high-resolution PDF is available at the end.
We've created a template to tackle various system design problems in interviews.
Hope this checklist is useful to guide your discussions during the interview process.
This briefly touches on the following discussion points:
- Load Balancing
- API Gateway
- Communication Protocols
- Content Delivery Network (CDN)
- Database
- Cache
- Message Queue
- Unique ID Generation
- Scalability
- Availability
- Performance
- Security
- Fault Tolerance and Resilience
- And more
Subscribe to our newsletter to download the ๐ต๐ถ๐ด๐ต-๐ฟ๐ฒ๐๐ผ๐น๐๐๐ถ๐ผ๐ป ๐๐๐๐๐ฒ๐บ ๐ฑ๐ฒ๐๐ถ๐ด๐ป ๐ฏ๐น๐๐ฒ๐ฝ๐ฟ๐ถ๐ป๐. After signing up, find the download link on the success page: bit.ly/3KCnWXq
acme scorpion retweeted
A Visual Overview of Kubernetes
Containers revolutionized modern application development and deployment. Unlike bulky virtual machines, containers package up just the application code and dependencies, making them lightweight and portable. However, running containers at scale brings challenges. Enter Kubernetes!
Kubernetes helps deploy, scale, and manage containerized applications across clusters of machines.
๐๐ผ๐ฟ๐ฒ ๐๐๐ฏ๐ฒ๐ฟ๐ป๐ฒ๐๐ฒ๐ ๐๐ผ๐บ๐ฝ๐ผ๐ป๐ฒ๐ป๐๐
Control Plane: The brains behind cluster management, handling scheduling, maintaining desired state, rolling updates etc. Runs on multiple machines for high availability.
Worker Nodes: The machines that run the containerized applications. Each node has components like kubelet and kube-proxy alongside the application containers.
The smallest deployable units in Kubernetes are Pods. A Pod encapsulates one or more tightly coupled containers that comprise an application. Kubernetes assigns Pods to worker nodes through its API server.
๐๐ฒ๐ ๐๐๐ฏ๐ฒ๐ฟ๐ป๐ฒ๐๐ฒ๐ ๐๐ฎ๐ฝ๐ฎ๐ฏ๐ถ๐น๐ถ๐๐ถ๐ฒ๐
- Scalability: It's easy to scale applications up and down on demand. Just specify the desired instance count, Kubernetes handles the rest!
- Portability: Applications can run anywhere - on premise, cloud, hybrid environments etc. No vendor lock-in!
- Resiliency: Kubernetes restarts failed containers, replaces unhealthy nodes, and maintains desired state, reducing downtime.
- Automation: Manual tasks like rolling updates, rollbacks are automated, freeing teams to focus on development.
๐ง๐ฟ๐ฎ๐ฑ๐ฒ๐ผ๐ณ๐ณ๐
The power of Kubernetes comes with complexity. Installing, configuring, and operating Kubernetes has a steep learning curve. For many teams, it's overkill.
Managed Kubernetes services help by handling control plane management, letting teams focus only on applications and pay for just the worker resources used.
๐๐ ๐๐๐ฏ๐ฒ๐ฟ๐ป๐ฒ๐๐ฒ๐ ๐ฎ ๐๐ผ๐ผ๐ฑ ๐๐ถ๐?
Consider:
- Are you running containers already at meaningful scale?
- Will portability or resiliency resolve production issues?
- Is your team willing to invest in learning and operating Kubernetes?
If you answered yes, Kubernetes may suit your needs. Otherwise, containers without orchestration may still get the job done.
โ
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
acme scorpion retweeted
ChatGPT can now create Flowcharts and Diagrams.
No more wasting hundreds of hours creating visuals for presentations or research papers.
Hereโs how to do it for free in a few minutes:
acme scorpion retweeted
๐๐ผ๐ ๐๐ผ ๐๐ฒ๐๐ ๐๐ผ๐๐ฟ ๐๐ฃ๐๐ ๐ฑ๐ถ๐ฟ๐ฒ๐ฐ๐๐น๐ ๐ณ๐ฟ๐ผ๐บ ๐ฉ๐ถ๐๐๐ฎ๐น ๐ฆ๐๐๐ฑ๐ถ๐ผ ๐๐ผ๐ฑ๐ฒ?
You can immediately do this from your Visual Studio Code. @getpostman just released a VS Code extension in GA at POST/CON 24 that integrates API building and testing into your code editor.
What you can do with the extension inside VS Code:
๐น ๐ฆ๐ฒ๐ป๐ฑ (๐บ๐๐น๐๐ถ๐ฝ๐ฟ๐ผ๐๐ผ๐ฐ๐ผ๐น) ๐ฟ๐ฒ๐พ๐๐ฒ๐๐๐
๐น ๐ฆ๐ฒ๐ป๐ฑ ๐ฟ๐ฒ๐พ๐๐ฒ๐๐๐ ๐ณ๐ฟ๐ผ๐บ ๐๐ผ๐๐ฟ ๐ต๐ถ๐๐๐ผ๐ฟ๐
๐น ๐จ๐๐ฒ ๐ฐ๐ผ๐น๐น๐ฒ๐ฐ๐๐ถ๐ผ๐ป๐
๐น ๐จ๐๐ฒ ๐ฑ๐ถ๐ณ๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ ๐ฒ๐ป๐๐ถ๐ฟ๐ผ๐ป๐บ๐ฒ๐ป๐๐
๐น ๐ฉ๐ถ๐ฒ๐ ๐ฎ๐ป๐ฑ ๐ฒ๐ฑ๐ถ๐ ๐ฐ๐ผ๐ผ๐ธ๐ถ๐ฒ๐
๐น ๐ช๐ผ๐ฟ๐ธ ๐ฎ๐ ๐ฎ ๐๐ฒ๐ฎ๐บ ๐๐ถ๐๐ต ๐๐ฃ๐๐
๐น ๐๐ป๐ฑ ๐บ๐ผ๐ฟ๐ฒ ...
Download the extension from the VS Code Marketplace: marketplace.visualstudio.comโฆ
#api
acme scorpion retweeted
The weekend is the best time to read new things.
Here are 16 articles that can help you get better at System Design:
[1] Practical Intro to Kubernetes
Why read it: To learn the basics of Kubernetes, its internal architecture, and code examples
newsletter.systemdesigncodexโฆ
[2] CAP Theorem with Tom the Prankster
Why read it: Understand CAP Theorem in a way youโll never forget
newsletter.systemdesigncodexโฆ
[3] 5 Strategies for High Availability Systems
Why read it: Simple tips to improve your systemโs availability
newsletter.systemdesigncodexโฆ
[4] Change Data Capture and Microservices
Why read it: To learn how CDC can help implement Outbox and Strangler Fig pattern
newsletter.systemdesigncodexโฆ
[5] 23 System Design Interview Tips
Why read it: To learn key principles to consider while designing a system.
newsletter.systemdesigncodexโฆ
[6] Introduction to ACID Properties
Why read it: To learn about the basic guarantees provided by a database.
newsletter.systemdesigncodexโฆ
[7] How DNS Works?
Why read it: To understand what happens when you open a website in the browser.
newsletter.systemdesigncodexโฆ
[8] Intro Circuit Breaker Pattern
Why read it: Learn about the circuit breaker pattern of building microservices
newsletter.systemdesigncodexโฆ
[9] Introduction to Pre-caching
Why read it: To understand the secret technique that can boost application performance
newsletter.systemdesigncodexโฆ
[10] Load Balancers
Why read it: To understand the types, algorithms, and high availability considerations behind a load balancer
newsletter.systemdesigncodexโฆ
[11] JSON Web Tokens and Authentication
Why read it: To learn how JSON Web Tokens help with user authentication
newsletter.systemdesigncodexโฆ
[12] Database Caching Strategies
Why read it: To understand the various database caching strategies and how to choose one
newsletter.systemdesigncodexโฆ
[13] Cookies and Sessions
Why read it: To understand the difference between cookies and sessions with regards to authentication.
newsletter.systemdesigncodexโฆ
[14] API Performance Strategies
Why read it: To learn about the best strategies to boost your APIโs performance
newsletter.systemdesigncodexโฆ
[15] Types of NoSQL Databases
Why read it: To learn about the most popular NoSQL database types and where to use them
newsletter.systemdesigncodexโฆ
[16] How to Scale a Component?
Why read it: Interview Tips on Vertical and Horizontal Scalability
newsletter.systemdesigncodexโฆ
acme scorpion retweeted
Load Balancer Realistic Use Cases ๐๐จ๐ฎ ๐๐๐ฒ ๐๐จ๐ญ ๐๐ง๐จ๐ฐ.
Load balancers are inherently dynamic and adaptable, designed to efficiently address multiple purposes and use cases in network traffic and server workload management.
Let's explore some of the use cases:
1. Failure Handling:
Automatically redirects traffic away from malfunctioning elements to maintain continuous service and reduce service interruptions.
2. Instance Health Checks:
Continuously evaluates the functionality of instances, directing incoming requests exclusively to those that are fully operational and efficient.
3. Platform Specific Routing:
Routes requests from different device types (like mobiles, desktops) to specialized backend systems, providing customized responses based on platform.
4. SSL Termination:
Handles the encryption and decryption of SSL traffic, reducing the processing burden on backend infrastructure.
5. Cross Zone Load Balancing:
Distributes incoming traffic across various geographic or network zones, increasing the system's resilience and capacity for handling large volumes of requests.
6. User Stickiness:
Maintains user session integrity and tailored user interactions by consistently directing requests from specific users to designated backend servers.
Over to you:
Which of these use cases would you consider adding to your network to enhance system reliability and why?
โ
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq



























