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
Category: Uncategorized
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
Journey of Monolithic code to independent services
Journey of Monolithic to Independent Services Problem Statement: We were maintaining 4 separate Branch , 3 instances [Version Management, Project RM, Process RM] Version Management code : Running separate instance , 5081 lines of code in single class Project Release Management : Running separate instance , 4731 lines of code in single class Process Release Management: Running separate instance , 4684 lines of code in single class Solution … Continue reading Journey of Monolithic code to independent services
JPA and Hibernate mappings
1. Hibernate one to one , one to many and many to many mappings in effective way https://vladmihalcea.com/the-best-way-to-use-the-manytomany-annotation-with-jpa-and-hibernate/ https://vladmihalcea.com/the-best-way-to-map-a-onetoone-relationship-with-jpa-and-hibernate/ https://vladmihalcea.com/the-best-way-to-map-a-onetomany-association-with-jpa-and-hibernate/ Some of the hibernate and JPA property spring.h2.console.enabled=true - to enable h2 in memory database spring.jpa.show-sql=true - to see all the query in logs spring.jpa.properties.hibernate.format_sql=true - to see all sql in proper format logging.level.org.hibernate.type=trace
Java 8 features, Collections
Java ArrayList Class - Java ArrayList class can contain duplicate elements.Java ArrayList class maintains insertion order.Java ArrayList class is non synchronized.Java ArrayList allows random access because array works at the index basis.In Java ArrayList class, manipulation is slow because a lot of shifting needs to occur if any element is removed from the array list. … Continue reading Java 8 features, Collections