Best Beer Havens in Paris

Beer lovers in Paris have a wide range of brews to choose from if only they know where to look. Craft beers and IPA’s have been on the rise in America bringing with it a host of microbreweries for…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Deploy Aerospike and Trino based analytics platform using Docker

Data to insights, quick and easy

Here are the salient features of our Docker based solution:

2. Provides the flexibility to your CI pipeline for building a single image that consists of the connector and the Trino version of your choice so that you can launch the combined image later using the simple docker run command.

There are a couple options available to deploy the connector by modifying the docker run command.

Option 1: Launch Trino along with the connector in standalone mode
Standalone mode i.e. Trino coordinator and worker run on a single node mode, is suitable for testing purposes. For example, if your Aerospike server is running on port 3000, you can use the following command to run the connector container on a Mac. See the configuration section for more information on how to configure the connector container.

Based on our testing, you can launch a Trino cluster with the connector in the standalone mode with defaults in under 5 minutes.

Option 2: Launch along with the connector in distributed mode

Distributed mode i.e. a single coordinator and multiple workers, is usually preferred for production deployments. See the configuration section for more information on how to configure the connector container.

Replace example.net:8080 to match the host and port of the Trino coordinator. This URI must not end in a slash. Note that the above command will only run a single docker container instance of the worker. If you would like to spin up multiple worker instances, create a bash script and include the below command as many times as the number of workers desired, for automation. However, you would have to change the name of the worker instance e.g. trino-aerospike-worker-2, and so on.

Add a comment

Related posts:

Guatemala 2017 Teacher Support Results

As Pencils of Promise (PoP) continues to scale our impact in Guatemala, support more teachers and provide high-quality education to more students, we rely on rigorous program evaluation to inform…

Can virtual reality solve some of the problems within the education system?

Whilst no one can definitively predict what the education system will look like in 20 years from now, Steve Jobs once said during his graduation speech: “You can’t connect the dots looking forward…

How To Lose Weight Without Working Out

Losing weight without working out may seem challenging, but it’s possible. Exercise is important for overall health and wellness, but if you can’t fit it into your schedule or just don’t enjoy it…