Reverse proxies can hide the existence and characteristics of an origin server or servers.Application firewall features can protect against common web-based attacks, like a denial-of-service attack (DoS) or distributed denial-of-service attacks (DDoS). Without a reverse proxy, removing malware or initiating takedowns, for example, can become difficult.In the case of secure websites, a web server may not perform TLS encryption itself, but instead offloads the task … Continue reading Uses of reverse proxy server
Interviews Experience
1) Technical round Explain me any one project / challenges / team sizeHow did you solve the problem of concurrency in your project.Which design patterns did you used ?Design LRU cacheWays to synchronized in memory cache with each otherWrite custom putIfAbsent by extending HashMap. Also handle concurrency/correctness 2) Technical round Best data structure for faster … Continue reading Interviews Experience
System Design Engineering blog
Basic of Design https://github.com/kilimchoi/engineering-blogs https://github.com/donnemartin/system-design-primer https://github.com/binhnguyennus/awesome-scalability https://github.com/doocs/advanced-java http://blog.gainlo.co/index.php/category/system-design-interview-questions/ https://www.lecloud.net/tagged/scalability 2. Basic of Design Pattern https://refactoring.guru/design-patterns/catalog 3. NLP Based Design Twitter Newsfeed:https://bit.ly/37Vg8tN Twitter Ads:https://bit.ly/3bXnS1o Instagram Newsfeed:https://bit.ly/2ur0ZCJ Instagram Explore:https://bit.ly/37X53bv Facebook Deep Entity Classification:https://bit.ly/2upfbfl Uber Eats Recommendations:https://ubr.to/2ur1c8Zhttps://ubr.to/2HTMiv8https://ubr.to/2SSL0Xw Uber Maps:https://ubr.to/3a0dynv Airbnb:https://bit.ly/2VhDuafhttps://bit.ly/39Z63gxhttps://bit.ly/2SSgZqChttps://bit.ly/2v0UQxrhttps://bit.ly/2urR9Azhttps://bit.ly/38VWH5j Airbnb Experiences:https://bit.ly/2vbNjf9 Google:https://bit.ly/2SYi9Bb Netflix Recommendations:https://lnkd.in/dW3EU2p Spotify Recommendations:https://bit.ly/38RpWpM #machinelearning#systemdesign#artificialintelligence#ai#deeplearning#tech#datascience
Metric Recording
Metrics are important source of information to conclude the following: System healthAPI level monitoringApi latencySuccess and failureSignificant API for a business The main agenda of this design is to capture accurate metrics for XYZ services so that above inferences can be made through metric streams. Metric Recording and Reporting Design Overview: Metrics captured within XYZ … Continue reading Metric Recording
Logging framework
Service Virtualization
We have deployed the API mocking/simulation layer on staging environment. The purpose of introducing this intermediate layer is to extricate the services from dependency on the external peripheral systems.We have achieved this using Hoverfly(https://docs.hoverfly.io/en/latest/#), which provides service virtualization, wherein 1. We can record realtime requests and responses. 2. Replay the recorded requests. 3. Edit the responses to fulfil specific requirements 4. … Continue reading Service Virtualization
Connection Pool
Thread connection poolDatabase connection poolHttp Connection pool https://medium.com/quick-code/java-concurrency-in-a-nutshell-types-of-thread-pools-part-3-ef95510b7ce8
SNS vs SQS
Here's a comparison of the two: Entity Type SQS : Queue (Similar to JMS)SNS : Topic (Pub/Sub system) Message consumption SQS : Pull Mechanism - Consumers poll and pull messages from SQSSNS : Push Mechanism - SNS Pushes messages to consumers Use Case SQS : Decoupling 2 applications and allowing parallel asynchronous processingSNS : Fanout … Continue reading SNS vs SQS
Auth Mechanism(session, JWT, OAuth, 2Way SSL)
There are various ways to authenticate a user, lets discuss some of them. Session : its considered the simplest among all...... https://www.youtube.com/watch?v=sm-8qfMWEV8&list=PLqq-6Pq4lTTYTEooakHchTGglSvkZAjnE Two Way SSL How SSL works internally and mechanism behind encrypting the data that you sent over the network and how it identify you are the right one with whom browser is talking. … Continue reading Auth Mechanism(session, JWT, OAuth, 2Way SSL)
Design a tiny URL
Problem: Design a service like TinyURL, a URL shortening service, a web service that provides short aliases for redirection of long URLs. Solution: If you don’t know about TinyURL, just check it. Basically we need a one to one mapping to get shorten URL which can retrieve original URL later. This will involve saving such data into … Continue reading Design a tiny URL