- https://www.forbes.com/sites/miriamgrobman/2022/01/31/peer-to-boss-the-important-transition-no-one-told-you-about/?sh=765a613635fb
- https://www.trainingdr.com/blog/the-first-3-conversations-to-have-when-you-are-promoted-to-management-over-your-peers-2
- https://hbr.org/2007/11/making-the-shift-from-peer-to
Sunday, October 15, 2023
Useful Reads
Monday, August 1, 2022
Data Structures and Time Complexity
https://docs.oracle.com/javase/7/docs/technotes/guides/collections/overview.html
Hashset vs TreeSet vs LinkedHashSet
https://dzone.com/articles/hashset-vs-treeset-vs
HashMap vs TreeMap vs LinkedHashMap vs HashTable
https://dzone.com/articles/hashmap-vs-treemap-vs
LinkedIn Learning
https://www.linkedin.com/learning/learning-java-collections/java-collections-framework
Friday, July 15, 2022
Load Balancers
A load balancer accepts incoming traffic from clients and routes requests to its registered targets (such as EC2 instances) in one or more Availability Zones. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. When the load balancer detects an unhealthy target, it stops routing traffic to that target. It then resumes routing traffic to that target when it detects that the target is healthy again.
You configure your load balancer to accept incoming traffic by specifying one or more listeners. A listener is a process that checks for connection requests. It is configured with a protocol and port number for connections from clients to the load balancer. Likewise, it is configured with a protocol and port number for connections from the load balancer to the targets.
Elastic Load Balancing supports the following types of load balancers:
Application Load Balancers
Network Load Balancers
Gateway Load Balancers
Classic Load Balancers
There is a key difference in how the load balancer types are configured. With Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, you register targets in target groups, and route traffic to the target groups. With Classic Load Balancers, you register instances with the load balancer.
Reference:
- https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html
- https://www.educative.io/collection/page/5668639101419520/5649050225344512/5747976207073280
- https://en.wikipedia.org/wiki/Load_balancing_(computing)
Sunday, July 10, 2022
Useful Links for Coding Interview
10 Algorithms that Every engineer should know:
https://link.medium.com/CCWovOubwrb
17 Killer GitHub Repos You Need to Save Right Now!
https://link.medium.com/A2Td7GDbwrb
Code Review
https://google.github.io/eng-practices/review/reviewer/looking-for.html
https://deepsource.io/blog/java-code-review-guidelines/
https://web.mit.edu/6.005/www/fa15/classes/04-code-review/
https://trishagee.github.io/presentation/code_review_best_practice/
Free EBook for What to look for in a Code Review
http://leanpub.com/whattolookforinacodereview
What to look for in a Code Review for Java 8
https://blog.jetbrains.com/upsource/2016/08/03/what-to-look-for-in-java-8-code/
Tech Interview Handbook
https://github.com/yangshun/tech-interview-handbook
Coding Interview University
https://github.com/jwasham/coding-interview-university
https://medium.com/codex/my-google-coding-interview-question-166f2922b548
Encoding vs Encryption vs Hashing vs Obfuscation
https://www.linkedin.com/pulse/encoding-vs-encryption-hashing-obfuscation-liban-mohamud
Code Review Best Practices
Friday, July 1, 2022
Caching Solutions
CACHING SOLUTION
REDIS:
Redis Cluster
Alternative to Redis : Memcached
Caching Best Practices
- Validity
- High Hitrate
- Cache Miss
- TTL
There can be three ways to write in the cache
- Cache Aside
- Read Through cache
- Write through - Write to the Cache, then write to the DB and then return success
- Write around - Write to the DB and return success. When there is a cache miss the cache would be updates.
- Write back - Write to the Cache and return success. there is another system which asynchronously
- Regular Interval Snapshot
- Log Reconstruction
Learn more about caching using this video
How to design a Distributed Cache ?
Reading
https://codeahoy.com/2017/08/11/caching-strategies-and-how-to-choose-the-right-one/
https://www.instaclustr.com/blog/redis-vs-memcached
Thursday, June 30, 2022
General Topics for Distributed System
What is Service Mash ?
Google File System
Fallacies of Distributed Systems
- The network is reliable;
- Latency is zero;
- Bandwidth is infinite;
- The network is secure;
- Topology doesn't change;
- There is one administrator;
- Transport cost is zero;
- The network is homogeneous.
https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing
Software Quality
https://asq.org/quality-resources/software-quality