Delivering solutions using Microservices

When you start working in IT, very soon you realise that technologies are changing more rapidly compared to other domains. Key fundamental shifts in software development like Agile methodology, Domain-Driven design, Continuous delivery, PAAS, Automation, System for scale, Small teams are helping to build better software that react fast to the customers changing business requirements. Microservices are emerged from this world. These are small autonomous services that are loosely coupled. In software development lifecycle, requirements keep on changing and more driven by end users expectations and constant innovation happening in digital technology. Most of time, one-size fit solution won’t work as customers are trying to innovate and deliver differentiated experience to their end users. To meet these challenges Patterns7 build architecture framework in which the right systems can emerge and continue to grow as we learn more. Here is architecture of notification microservice that’s been used by multiple clients. We have build email notification microservice for sending communication related to “Invite user”, “Account Activation”, “Forgot Password”, “Reset Password” based on event driven architecture. Following diagram represents architecture details. Notification service is build for high cohesion with it’s own database. If we need to add new client, it’s simply adding client specific data like “From Email”, “Twirl Templates” etc in the Notification Database. Recently Patterns7 Technologies migrated architecture from monolithic to microservice based architecture. By embracing fine-grained, microservice architecture, it’s helping to deliver software faster, embrace newer technologies and give cost benefit to our clients. If you have any queries or need help defining loosely coupled architecture landscape, write an email to...

Andriod Mobile app memory utilisation testing

With wider adoption of smartphones and continuous innovation in Mobile technologies, business are providing core capabilities on devices. Number of apps and media running on the Android phone, started creating memory utilization challenges on the mobile device. So there is a need of knowing the memory utilized by android app in our mobile device. As part of testing mobile apps for our clients, we come up with best testing practices. This blog illustrate practical approach of checking memory utilized by android app on mobile device. We are using memory monitoring tool from the android studio for checking memory utilization. Memory Monitor 1. It shows available and used memory as they both change over time for your app in a graph, with dips indicating Garbage Collection (GC) events. 2. Also provides a quick way to test whether app slowness might be related to excessive GC events. 3. Provides a quick way to see whether app crashes might be related to running out of memory. 4. It runs live on your android application and updates about once a second. 5. Helps quickly identify the potential of memory leaks. Memory Monitor Walk-through This walkthrough shows the basic usage and workflow for the Memory Monitor tool in Android Studio. Memory Monitor reports in real-time how your app allocates memory. Prerequisites for Memory monitor A mobile device with Developer Options enabled. An Application with USB Debugging enabled. Steps to working with Memory monitor 1. If you’re using a mobile device, connect it to your computer. 2. Open your application in Android Studio, build the source, and run it on your device or emulator 3....