Open in app

Sign In

Write

Sign In

Lalit Vatsal
Lalit Vatsal

222 Followers

Home

About

May 25, 2021

Better Switch-Case for Java!

Let’s start with the question, what is wrong with the switch-case anyway? Here’s a simple example of a switch-case in Java:

Java

4 min read

Better Switch-Case for Java!
Better Switch-Case for Java!
Java

4 min read


Published in Analytics Vidhya

·Aug 28, 2020

Bulk RDBMS Upserts with Spring

Upsert is a fairly common terminology in databases, meaning Update if the record exists or Insert the new record. Upserts make more sense in case of simple object save requests with new information. Why Bulk? If we talk about any data sync, data migration or bulk data update jobs, we are bound…

Database

6 min read

Bulk RDBMS Upserts with Spring
Bulk RDBMS Upserts with Spring
Database

6 min read


Published in The Startup

·Apr 16, 2020

Going Reactive!

There is a lot of hype around this shiny new thing in web applications development world called being “Reactive”! There are many frameworks popping up with this slogan, e.g., Vert.x, Akka, Spring Webflux, Play, RxJava, RxJS etc. to name a few. What does it mean? and why is this hype…

Reactive Programming

6 min read

Going Reactive!
Going Reactive!
Reactive Programming

6 min read


Published in Analytics Vidhya

·Apr 12, 2020

Akka Streams in Java Spring Boot!

Streaming data from a Source to Sink is a very trivial task in today’s data processing and data pipelining systems. Ergo, there are many streaming solutions out there like: Kafka Stream, Spark Streaming, Apache Flink etc. All of them in one way or another either need an infrastructure to be…

Akka Streams

5 min read

Akka Streams in Java Spring Boot!
Akka Streams in Java Spring Boot!
Akka Streams

5 min read


Mar 29, 2020

Handling Nulls in nested objects (Java)

Handling NullPointerException and keeping track of all the nullable values has always been a pain for Java developers. This is even worse when you are working with deeply nested objects and handling all the null values grows exponentially with each nullable nested value. This is visible by all the statements…

Java

4 min read

Handling Nulls in nested objects (Java)
Handling Nulls in nested objects (Java)
Java

4 min read


Mar 28, 2020

Implementing “Circuit Breaker” in Scala

Circuit breaker pattern is a common microservice resiliency pattern to make system responsive after series of failures and have a fallback mechanism. [NOTE] Spoiler — This would be a simple implementation and the Scala code would be stateful and have side-effects. The Need Doing a remote call or executing a task which…

Scala

3 min read

Circuit Breaker pattern in Scala
Circuit Breaker pattern in Scala
Scala

3 min read


Oct 17, 2019

How to keep your sanity working with Scala Implicit!

Scala Implicits provide a lot of power and flexibility to express the code in such beautiful ways that development sometimes feel like and art and are nothing short of a “Brahmastra” in the hand of a library developer. And, as Spider-man’s uncle said, “With great power, comes greater responsibility!” The…

Scala

3 min read

How to keep your sanity working with Scala Implicit!
How to keep your sanity working with Scala Implicit!
Scala

3 min read


Oct 7, 2019

Making ordinary classes Rich! (Scala)

Let me break it to you, this post has nothing to do with charity! Now, let’s start with a question: How do we enrich something? By making it abundant, rich in features and resourceful! In simple OOP terms, we add additional feature methods to the class!! Let’s try to enrich…

Programming

2 min read

Making ordinary classes Rich! (Scala)
Making ordinary classes Rich! (Scala)
Programming

2 min read


Sep 30, 2019

Cushing Design Patterns! — Unnecessary Patterns.

This is the part-II in the continuation of the “Crushing Design Patterns” series (Part-I) where we debunk the idea of having to use the design patterns to design the system. They are either just so natural that we have been using them unconsciously or there are better ways in which…

Programming

4 min read

Cushing Design Patterns! — Unnecessary Patterns.
Cushing Design Patterns! — Unnecessary Patterns.
Programming

4 min read


Sep 26, 2019

Crushing Design Patterns! — Chain of responsibility (Scala)

Starting this chain of responsibility of debunking the idea of really needing to use the Design Patterns!. …

Programming

4 min read

Crushing Design Patterns with Scala! — Chain of responsibility
Crushing Design Patterns with Scala! — Chain of responsibility
Programming

4 min read

Lalit Vatsal

Lalit Vatsal

222 Followers

Moved my blog to: https://www.lprakashv.com Passionate Technologist. Currently working at AppDynamics, Ex-WalmartLabs

Following
  • João Henrique Machado Silva

    João Henrique Machado Silva

  • Praveen Dubey

    Praveen Dubey

  • Patrick Kalkman

    Patrick Kalkman

  • Aleksei Novikov

    Aleksei Novikov

  • Marian Čaikovski

    Marian Čaikovski

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech