Here and welcome back.
Now in today's video, we'll be discussing about Elastica.
Now, before we go ahead and discuss more about it, let's take a very simple analogy that will allow
us to understand the real use case.
So let's assume that there is a new vegetable shop in the locality which has become quite popular.
So every day you have 300 to 500 people who are visiting the shop and buying vegetables.
Now, each visitor is asking for the price of at least two to three vegetables before making a purchase.
So imagine that you have 300 to 500 people asking a price to maybe two or three employees.
What would be the condition of that?
So the condition of the employees would be something that is depicted within this diagram.
So this is quite a bit.
So in order to overcome this, the vegetable owner decided to create a Dysport that has a list of all
the common vegetable prices which are requested by the buyers.
So this is a price list that we see all year where the owner has specified price associated with the
most common vegetables that users buy.
Now, from this simple analogy.
There are two important learnings.
First one is that since the price list of common items was listed, users no longer need to ask the
employees about it.
So this effectively reduces the overall load on the employee.
So if a vegetable shop has maybe four or five employees and there are 400 or 500 visitors asking for
the same price again and again, so that increases the load.
And in order to be able to concentrate on the other important task.
So with the price list, the workload on the employee decreases.
The second thing is that the visitors themselves can quickly go through the price list.
So this improves the efficiency in terms of time for both the visitors as well as employees.
Now, in a similar way, when you discuss about the challenges related to their database workload,
you will see that a lot of users will create a similar query towards their database.
So the first point, as we are discussing, is that there can be a lot of common queries within the
database that hundreds of users might request at a given amount of time.
So if 100 users are requesting for a similar query, then ultimately it increases the load in the database
server.
So this can also be depicted within this specific diagram.
So in order to overcome this scenario, what you can do is you can introduce a caching solution.
So with the casing solution, you can get the response associated with the frequent queries that are
being made to the database.
So if it's you or you, where you have a blank line has made a query for user data.
So the query is sent to the database and there is a response back.
Apart from the response, this data is also stored within this caching engine.
So what happens this next time when the client makes a scene query yet again?
That query can go to the gating engine and the response can come back from the caching engine itself.
So once that data is during the caching engine, the client no longer will have to send the same query
to the database.
It can automatically be answered by the gas engine.
So it's similar to the analogy that we were discussing.
This not only improves the overall performance because caching engines are generally in memory and they're
extremely fast.
So not only to improve the performance, but it also decreases the load in the database.
Now, when you talk about some of the popular caching solutions to among them are very popular when
it comes to that database caching.
First one is memcache and second one is it is now both of them are quite good.
Among these ratings is quite popular, primarily because it was introduced to overcome some of the drawback
associated with the Mimecast engine.
Now, one of the challenges which a lot of organization faces is that in order for you to use these
engines, you will have to go ahead and install, configure, optimize and also secure the easy to instances
where these engines would be running.
So you'll have to take care of all the aspects related to the caching engine.
And these aspects sometimes create a lot of issues.
So what organization we're requesting is that if there was a managed service, which it has, that would
had been much more easier to be.
Then the users would not have to do the installation configuration and so on, and that is where the
elasticsearch service comes up.
So Elastica is a fully managed Idalis service that makes it easier to deploy or breed and skill in memory
datastore or cache solution.
INCLAN So Elastica is like a managed service and within a few clicks you can have a in-memory I layer
in your infrastructure, not depending upon the configuration.
Elastica can also detect and replace VNS, thus reducing the order overhead.
So let's do one thing.
Let's quickly look into the elastic service so currently owned by the Dysport.
Let's go ahead and open up the ElasticSearch service.
So within you you will see that there are two primary caching solutions which are available Venis Memcache.
And the second incident is so you can take one among them and when you go ahead and do it, only to
ask you is to select certain configurations.
So how many replicas do you need for it is so you can go ahead and select five replicas?
What is the node tape associated with that?
Do you need a multi availability zone or to affiliate or not?
So all of these things are point and click.
You also have automated backup solution associated with that.
So this is great because if you do not really have this service, then you will have to configure all
of these things manually.
So you need to know on how you can modify the configuration file of is to include multiple replica.
You need to have a solution to achieve.
Might be easy with Autofill.
Do you need to achieve a solution to take automated backups and so on.
So all of these things are quite being.
And with the Elastica solution from Idalis with point and click solution, you have a ready made Cattleya
available in infrastructure.
So that's the overview about the elastic cache service.
So the primary aim of today's video was to just give you a just about what ElasticSearch service is
all about.
So this will conclude this video.
I hope this video has been informative for you.
And I look forward to see you in the next video.