Damith Neranjan (@dneranjan) header
Damith Neranjan (@dneranjan) profile picture

Senior Engineering Lead | Real Human | Coder | blogger Interested #Programming, #Gaming,#Music, #Photography ,#hiking ,#listening & #swimming

colombo,Sri Lanka
Joined January 2013
Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)Photo by Damith Neranjan (@dneranjan)
Damith Neranjan retweeted
If I had to scale a system, here are 40 techniques I'd consider: 1 Horizontal Scaling 2 Vertical Scaling 3 Caching 4 Load Balance 5 Sharding 6 Replication 7 Partition 8 Autoscale 9 Microservices 10 Event Driven 11 Queueing 12 Stateless 13 Indexing 14 Timeouts 15 Retries 16 Rate Limit 17 Circuit Breaker 18 Backpressure 19 GeoDNS 20 Multi-Region 21 Container 22 Orchestration 23 Service Mesh 24 Diagonal Scale 25 CDN 26 Monitoring 27 Tracing 28 Failover 29 High Availability 30 Graceful Degradation 31 Consistent Hashing 32 CAP Tradeoff 33 Modularity 34 Bulkhead 35 Prefetching 36 Lazy Load 37 Capacity Planning 38 Hot Standby 39 Read Replica 40 Write Batching There are different ways to scale. The best solution + numbers depend on your needs. Remember, everything is a tradeoff. What else would you add? —— 👋 PS - Want my System Design Playbook for FREE? Click the link below to join my newsletter right now: → newsletter.systemdesign.one/… (200K+ software engineers have already signed up.) ——— 💾 Save this for later & RT to help others learn system design. 👤 Follow @systemdesignone + turn on notifications.
15
111
3
490
31,584
Damith Neranjan retweeted
20
270
2
1,071
57,773
Damith Neranjan retweeted
25 resources to learn system design: 1. JWT ↳ lucode.co/json-web-token-jwt… 2. Idempotency ↳ lucode.co/idempotency-in-api… 3. System design quality attributes ↳ lucode.co/system-design-qual… 4. Rate limiting ↳ lucode.co/rate-limiting-lil1… 5. Observability ↳ lucode.co/observability-clea… 6. Microservices ↳ lucode.co/microservices-lil1… 7. CI/CD pipelines ↳ lucode.co/ci-cd-lil1nlsm 8. ACID vs BASE ↳ lucode.co/acid-vs-base-lil1n… 9. Change Data Capture (CDC) ↳ lucode.co/change-data-captur… 10. Database types ↳ lucode.co/database-types-lil… 11. Health checks vs heartbeats ↳ lucode.co/health-checks-vs-h… 12. API gateway vs load balancer vs reverse proxy ↳ lucode.co/api-gateway-vs-lb-… 13. HTTPS ↳ lucode.co/https-explained-li… 14. Load balancing algorithms ↳ lucode.co/load-balancing-alg… 15. Database caching ↳ lucode.co/database-caching-s… 16. CDN ↳ lucode.co/cdn-lil1nlsm 17. API protocols ↳ lucode.co/api-architecture-s… 18. Database types ↳ lucode.co/database-types-lil… 19. gRPC ↳ lucode.co/grpc-explained-lil… 20. SQL vs NoSQL ↳ lucode.co/sql-vs-nosql-lil1n… 21. Message Queues ↳ lucode.co/message-queues-lil… 22. Service Discovery ↳ lucode.co/service-discovery-… 23. Pub/Sub ↳ lucode.co/pub-sub-lil1nlsm 24. Connection pooling ↳ lucode.co/connection-pooling… 25. Consistent hashing ↳ lucode.co/consistent-hashing… What else would you add? What concepts would you like me to cover? 👋 PS: Get our System Design Handbook FREE when you join our newsletter. Join 29,501+ engineers: lucode.co/architecture-patte… -- 🔖 Save for later. ♻️ Repost to help others learn system design. 🙋🏻‍♀️ Follow Nikki Siapno + turn on notifications.
11
331
5
1,497
83,451
Damith Neranjan retweeted
Production Microservices Stack
8
153
2
1,001
75,455
Damith Neranjan retweeted
5 Best Microservice Architecture Courses 1. Microservice Architecture - bit.ly/3w1zGva 2. Microservice Principles - bit.ly/3ruSCR7 3. Building Scalable Microservices - bit.ly/3MaP7GS 4. Grokking Microservices Design Patterns - buff.ly/4dSnMHZ
4
119
3
541
50,409
Tech events in Sri Lanka feel more like marketing than engineering. We need more developer-first spaces. Agree? 🤔 #TechMeetups #SriLanka
25
As a tech lead, your code reviews shouldn’t just be about syntax. ✅ Ask why, not just what ✅ Mentor through reviews ✅ Focus on long-term readability Help devs think beyond their PR. #CodeReview #SoftwareEngineering
1
34
Clear architecture. Clear roles. Clear communication. #TechLeadership #SoftwareEngineering
25
Tech Lead , Fancy tech is fun. But your job is to reduce ambiguity #TechLead #SoftwareEngineering
1
43
After 10+ years in software engineering, mostly building Java microservices, I’ve seen it all—wins, bugs, late nights, and lessons. #java #Techlead #microservices
1
39
Damith Neranjan retweeted
“President Anura Dissanayake, I entrust to you the care of the beloved child that is Sri Lanka,” Incumbent President Ranil Wickremesinghe in a message to the country’s president elect. newswire.lk/ywa1
15
78
10
616
43,354
That is the confidence level #Olympic2024
51 yr old Turkish guy (Dikeç) with no specialized lenses, eye cover or ear protection and got the silver medal. Hand in pocket comfort level! 😂
50
Damith Neranjan retweeted
Remember the name Chamari Jayangani Athapaththu: 195* (139) Chamari Athapaththu has just played one of the best knocks in the history of women's cricket as Sri Lanka chased 302 against South Africa to draw the ODI series 1-1. Highest scores for Sri Lanka in women's ODIs: 195* - Chamari Athapaththu 178* - Chamari Athapaththu 140* - Chamari Athapaththu 115 - Chamari Athapaththu 111 - Chamari Athapaththu 108* - Chamari Athapaththu 106 - Chamari Athapaththu 103 - Chamari Athapaththu 101 - Chamari Athapaththu 99 - Chamari Athapaththu
9
80
11
611
25,322
Damith Neranjan retweeted
Captain walked the talk! Yesterday Pat Cummins said "There is nothing more satisfying than hearing a big crowd go silent & that is the aim for us tomorrow"
29
185
13
1,665
42,665
Hard luck England, what a superb effort #RSAvENG #RWC2023
64
🏴󠁧󠁢󠁥󠁮󠁧󠁿 England and 🇿🇦 South Africa showcasing the heart and soul of rugby. #RSAvENG #RWC2023
199
Damith Neranjan retweeted
Off to the big dance 🥳 #ARGvNZL
235
1,085
296
5,552
475,043