On a quick look, it feels like varchar(n) is better, because it feels like we are saving disk space by specifying exactly what we are going to use. Is it really worth it ? Why can’t we keep it simple and call it
text data type ?
As of now, there are still applications that work only with JDK 8. There are other applications that work with JDK 11 max. There are few which work on latest & greatest Java 16. Having a local setup to easily switch between them will be very handy.
The following steps…
As with many professionals, I have been on both sides — interviewer & interviewee. Tried to capture what I like to practice when I interview someone. Though the concepts discussed here are generic, some of my thoughts may be biased towards software programmer interview.
Having a good local setup is always handy to deploy spark apps, develop, debug and learn the spark ecosystem.
./sbin/start-worker.sh spark://<system_name>:7077# Once done, we could stop all of them
For data driven applications, choosing the right database solves half the problem. By crystallising data persistence layer first, it helps us ask the right question well before and tends to positively influence other layers. It also reduces unnecessary complexity in the implementation.
In this article, though the right choice ‘depends’…
In asynchronous server side flows, we like to keep the client informed about the progress or change in state. Many a times, we may choose to go with polling mechanisms. But it has it’s own disadvantages.
Let’s discuss an alternative approach —
Server-sent events and how we can implement this…
FastAPI is a promising framework to build high performance web applications that needs Async support. It also brings in best practices for a high quality production application.
Let’s take a quick view of few building blocks that we will use in this article.
FastAPI is build using two important framework…
In micro service architecture., there are times., we would like to execute a command on another service — which runs as a docker container. During these times, it is useful to mount the host docker and delegate the command to host, host executes the command on desired container. …
Apache workflow is designed for complex workflows that are well defined upfront. Creating dynamic workflows in Airflow is a different kind of challenge and there are limited approaches to get it done.
Let’s say we want to create new DAG dynamically where the content of the DAG like what kind…
Many times, AWS resources are under utilized and each team has it’s own way of managing this. Here we will see how we can stop an idle resource and start it back when we need it.
To achieve this we will be using: