Darshit Patel

Darshit Patel @darshitpp

About: Java Developer | Member of ACM Future of Computing Academy | Alumni of ACM XRDS

Location:
Mumbai
Joined:
Sep 1, 2019

Darshit Patel
articles - 9 total

Mastering ExecutorService Shutdown: Tracking ThreadPool Termination

Let's say you want to execute some tasks. Since executing it through a single thread might take you...

Learn More 0 0Jan 4

SSH Tunnelling with Java

You heave a sigh of relief, as the QA has approved a long-awaited feature for deployment on Prod....

Learn More 1 0Sep 21 '24

Handling limited sudo access through Ansible

Running specific commands with sudo using Ansible It seems a trivial use case, but it's...

Learn More 0 0Mar 31 '24

Dynamic Enums

But can one even make Enums dynamic? Enums, by definition, are static. They are used to...

Learn More 7 2Jul 3 '21

The Java Constants Interface Anti-Pattern

How do you define and use constants in Java? Most advice on Internet has the following opinions: D...

Learn More 11 3Nov 8 '20

How to change Java Version/JAVA_HOME for Ant?

Want to change Java Version/JAVA_HOME for Ant builds? Open ~/.antrc file by running vim ~...

Learn More 1 0Jun 15 '20

How To Implement Two Way SSL With Nginx

A couple of weeks ago, I was tasked with figuring out a way to enable two way SSL. I am a programmer,...

Learn More 49 15Jun 13 '20

How to achieve a 50% reduction in Redis memory usage

Yes, you read that right. To give you some context, some time ago, our (my org's) Redis usage was un...

Learn More 41 2May 10 '20

Using IntelliJ IDEA Live Templates

IntelliJ IDEA is an awesome IDE, and a lesser known and used feature is Live Templates. Live Templat...

Learn More 10 1Sep 1 '19