Nirmal Singh shares his experience while writing Building Microservices with Micronaut.

0
48


Nirmal Singh is the author of Building Microservices with Micronaut, we got the chance to sit down with him and find out more about his experience of writing with Packt.

Q: What is/are your specialist tech area(s)?

Nirmal: I have wore few hats while working on various techno-functional roles. My specialties include – Full stack software development, Java, Spring Boot, Spring Batch, JPA, Angular, Bootstrap, Jasmine/Karma, Oracle, SQL Server, Postgres, Neo4j, MongoDB, Liquibase, Google Compute, AWS, Azure, Docker, Kubernetes, Elasticsearch, Logstash, Kibana, Apache Kafka, Prometheus, Grafana, Microservices, Restful Web Services, SOAP and Service Oriented Architecture.

Q: How did you become an author for Packt? Tell us about your journey. What was your motivation for writing this book?

Nirmal: For longest time in my professional career, I have engaged in the server programming. I began my web services journey with SOAP, and near past advancements in restful and microservices has turned a good page. With breadth of experience in web services, I was motivated to explore this freshly brewed framework (Micronaut) for microservices development. My learning experiences moved me to share the knowledge with the dev community. This fruitful engagement with Packt started from some water cooler discussion with my co-author Zack Dawood and since those discussions to actual book shaping. It’s been a great learning experience, we are glad to share this journey with everyone.

Q: What kind of research did you do, and how long did you spend researching before beginning the book?

Nirmal: I began reading about the Micronaut framework from its nimble early days back in late 2018. Their USP to cut startup times and runtime resource footprint echoed with me. Before the book, my experiments and learning’s with the Micronaut framework were ad-hoc. For book purposes, we drafted a clear plan mimicking the typical software development life events – development, testing, deployment and maintenance. For aspects in each of these main events, we explored the Micronaut framework resources. We would do POC/spikes for each aspects and even for each aspect we would explore multiple ways e.g. for securing services we covered all the different ways that is session, JWT, OAuth. Post code experiments, I jotted down the learning’s and then we would chalk out chapter or section plan.

Q: Did you face any challenges during the writing process? How did you overcome them?

Nirmal: Writer’s block is real and I faced this few times. Too, it’s unusual for developer like me to paraphrase a learning or a coding aspect. In few earlier chapters, I struggled with wording my learning experiences. But with practice of writing as I progressed I felt more comfortable.

Q: What’s your take on the technologies discussed in the book? Where do you see these technologies heading in the future?

Nirmal: Tech stack covered in the book is pretty advanced and instead of sprinkling the technologies owing to just covering them, we worked on a real world application. As we progressed on its life cycle events, organically some technology components got adopted. Microservice adoption is happening at a large scale in the industry now. Even the most risk averse industry sectors are adopting the microservice architecture. This brownfield adoption is sooner moving to greenfield adoptions.

Q: Why should readers choose this book over others already on the market? How would you differentiate your book from its competition?

Nirmal: Learning resources on the Micronaut framework are pretty nimble. Mostly go-to source as of now is official documentation. A recipe book was missing and our book “Building microservices with Micronaut” abridge the gap and much sought requirement in dev community.

Q. What are the key takeaways you want readers to come away from the book with?

Nirmal: It’s essentially working on different aspects of microservices with the Micronaut framework: what is the toolkit available within Micronaut framework or microservice ecosystem for developing, testing, deploying and maintaining a microservice application.

Q. What advice would you give to readers learning tech? Do you have any top tips?

Nirmal: We have structured the book for all the levels (beginner, intermediate, expert). Start with baby steps and as you get hold of the Micronaut framework start working on your coding chores. Coding chores/experiments will help you to apply your learning’s and retain the knowledge for longer time. Don’t stress yourself if something is not working as expected, take a break and try it again.

Q. Do you have a blog that readers can follow?

Nirmal: I used to be more active on https://itsnirmal.wordpress.com/, but for the past few years have been less active.

Q. Can you share any blogs, websites and forums to help readers gain a holistic view of the tech they are learning?

Nirmal: Micronaut have good learning resources at https://micronaut.io/.

Q. How would you describe your author journey with Packt? Would you recommend Packt to aspiring authors?

Nirmal: Our journey with Packt has been blissful. Packt team has been really supportive and encouraging throughout. A big thank you to the whole crew and yes to upcoming authors Packt is the best crew you can ask for.

Q. What are your favorite tech journals? How do you keep yourself up to date on tech?

Nirmal: I follow few virtual resources. I am regular reader of https://martinfowler.com/, https://www.baeldung.com/, https://blogs.oracle.com/java/ and https://vladmihalcea.com/.

Q. How did you organize, plan, and prioritize your work and write the book?

Nirmal: Pandemic has impacted all of us and our work routines. I too was impacted both on my work and book commitments. From the get-go, Packt team helped draft a schedule for experimenting, drafting and finishing the chapters. Often in my coding chores I would have to work late nights or weekends and my wife has been really supportive. If I would procrastinate, she would say I will sit with you and you finish the chapter. On organizing the work – we followed a routine software life cycle so most of the daily work rhythm will reflect on book work too.

Q. What is that one writing tip that you found most crucial and would like to share with aspiring authors?

Nirmal: Do enough signposting to keep your readers engaged.

You can find Nirmal’s book on Amazon by following this link click

Building Microservices with Micronaut is available on Amazon.com