Muhammad AhsanTogglz — Feature Toggles pattern for Java (Spring)Togglz is an implementation of Feature Toggles pattern in Java. Toggles are a very common agile development practices in the context of…Apr 19, 20201Apr 19, 20201
Muhammad AhsanSpring JPA native query for date-time MySQL and PostgreSQLSpring JPA allows us to use native queries, but a downside of this approach is that the query is sent directly to database, and we need to…Feb 6, 20201Feb 6, 20201
Muhammad AhsanKubernetes Architecture — Master Node Components (Summary)In this article I will share the summary of components which are an integral part of Kubernetes Master Node (The brain of our cluster). I…Sep 14, 2019Sep 14, 2019
Muhammad AhsanKubernetes — Liveness and Readiness Probes — DifferenceLiveness and Readiness probes are used to control the health of an application running inside a Pod’s container. Both of them are very…Jun 20, 20194Jun 20, 20194
Muhammad AhsaninAurora SolutionsSpring Cloud — As a reverse proxy serverA reverse proxy server is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources…Mar 13, 2019Mar 13, 2019
Muhammad AhsaninStakaterLogrotate — Manage logs easilyLog rotation is a process of removing/storing old logs while not affecting the latest/newer logsDec 29, 20182Dec 29, 20182
Muhammad AhsanDocker — Remove all stopped containersAll stopped containers can be removed via this commandDec 17, 2018Dec 17, 2018
Muhammad AhsanSpring-Pageable custom maximum sizeSpring Pageable has a default size of 1000, and if you will try to fetch more records than 1000 in one page, it will not be possible.May 31, 20181May 31, 20181
Muhammad AhsanSpring-Mongo Template PaginationBy default, spring mongo template has no method to find by page. It searches, and returns the whole list of records. To add pagination we…May 30, 201811May 30, 201811
Muhammad AhsanSpring — Mongo DB Dynamic QuerySpring provides great support for mongo db via spring-data-mongodb package. We can use MongoRepository for querying database, but can not…May 28, 20182May 28, 20182