preview

Elasticsearch Case

Decent Essays

Now that the various solutions have been laid out, it is time to test each of them to see is they satisfy each of the various requirements. The key metrics that will be tested are speed and scalability. The other requirements are not qualitative and will be discussed elsewhere in this section. 4.1 Speed Testing of Each Solution As speed is a large part of why a new solution was needed, proper testing is needed to determine which solution is faster. The test was to search a reasonable large test set. In this case, the test data is roughly 4 million tweets from Twitter [12], which represents roughly 470 megabytes of data. This test data was chosen as tweets tend to be more conversational compared to newspaper articles, it was large at 4 million, …show more content…

This was repeated with 2 other terms to account for any possible variations in performance. This represents a realistic use case for the end user of our product, lawyers. All test cases were run on the same hardware to keep hardware-level variations to a minimum. The time it takes to complete the operation is only the time it takes for the APIs for each of the solutions to return with the results and not any display of the query back to the user. In Table 1 contains the result of the tests. It becomes evident that Elasticsearch is faster than the other solutions. This is most likely due to the fact that Elasticsearch has to handle other database queries and operations while this is occurring. Elasticsearch is the clear winner in terms of …show more content…

This covers everything from indexing to querying to scaling concerns and everything in between, the most important of which is best practices for each of the search solutions. In addition to the wikis, there also exists a strong community in each of the three search solutions that can answer or have already answered any question involving each of the three search solutions. However, since Amazon Web Services Elasticsearch is a hosted service provider that offers services in Canada, any Elasticsearch instance setup in this manner would qualify for support from Amazon Web

Get Access