I was experimenting with elastic search for search implementation in one of our project. I had to do setup and do a PoC. We were exploring some of the options in the market like redis search and mongodb search which is built on lucene engine.
However, considering features and market cap, we moved ahead with elastic search.
Thanks to docker for the amazing simple local setup. Refer to the repo below and yay! ELK is up on local.
Elastic search runs on port 9600 and kibana runs on 5601.
launch up Kibana with: https://localhost:5601
login with base credentials userID(elastic) and…
Quartz is a richly featured, open source job scheduling library that can be integrated within virtually any Java application — from the smallest stand-alone application to the largest e-commerce system. Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components that may execute virtually anything you may program them to do. The Quartz Scheduler includes many enterprise-class features, such as support for JTA transactions and clustering.
Hi, in this article, will show you how to build a basic Robot. The word “Robot’ literally means a “Slave” or a “Labourer’. Thanks to advancements in Artificial Intelligence, robots are no longer just part of Issac Asimov’s Sci-Fi novels. Its possible to build a simple robot that can do your bidding at home. Lets see how we can put together few basic parts and make a cool robot at home.
Below is a simple example of GITLAB CI/CD pipeline.
Step1: Create a file in the root folder of your project with name
- npm i -g firebase-tools
- cp .env-testbed .env.production
- echo "copying env"
- echo "yarned"
- CI='' yarn run build
- echo "yarn build done"
Firebase hosting supports multiple sites on a single Firebase project. There are many use cases for this awesome feature. For example, you can deploy a staging build of your website to test it first before deploying it to production. You can also host both your customer and admin websites on a single Firebase project.
npx create-react-app <YOUR-APP-NAME>
Install Firebase CLI to your machine if you have not done so.
In order to run an application optimally, Java/JVM divides memory into stack and heap memory.
JVM designates memory to these operations from either stack or heap space.
Stack memory in java is used for static memory allocation and execution of a thread. Basically each thread calls methods, and each method is created on stack as a block and all the variables and objects references from heap would be stored. Access to this memory is LIFO(Last in first out).
So each method is created on top of…