- Look into the RAML spec for Web APIs, and ways to visualize it (e.g. raml to html).
http://raml.org/
2. Automatically generate a RAML spec for a basic web API built using django rest framework Serializers and APIViews
http://raml.org/
2. Automatically generate a RAML spec for a basic web API built using django rest framework Serializers and APIViews
Following instructions at https://mariadb.com/kb/en/mariadb/preparing-for-columnstore-installation/ (There's also https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/, but I didn't follow that one.)
Install
sudo apt-get -y install libboost-all-dev expect perl openssl file sudo libdbi-perl libreadline-dev libdbd-mysql-perl
cd ~
wget http://downloads.mariadb.com/MariaDB/mariadb-10.1.22/repo/ubuntu/mariadb-10.1.22-ubuntu-trusty-amd64-debs.tar
cd /opt
sudo tar -xf ~/mariadb-columnstore-tars/mariadb-10.1.22-ubuntu-trusty-amd64-debs.tar
sudo ./mariadb-10.1.22-ubuntu-trusty-amd64-debs/setup_repositoryFollowing instructions at https://mariadb.com/kb/en/mariadb/preparing-for-columnstore-installation/
Install
sudo apt-get -y install libboost-all-dev expect perl openssl file sudo libdbi-perl libreadline-dev libdbd-mysql-perl
wget https://downloads.mariadb.com/ColumnStore/1.0.7/ubuntu/dists/xenial/main/binary_amd64/mariadb-columnstore-1.0.7-1-xenial.x86_64.deb.tar.gz
tar zxf mariadb-columnstore-1.0.7-1-xenial.x86_64.deb.tar.gz
sudo dpkg -i *.deb
sudo /usr/local/mariadb/columnstore/bin/postConfigureFollowing instructions at
Install
sudo yum -y install boost expect perl perl-DBI openssl zlib snappy libaio
wget https://downloads.mariadb.com/ColumnStore/1.0.8/centos/x86_64/7/mariadb-columnstore-1.0.8-1-centos7.x86_64.rpm.tar.gzConsumer.Close() blocks indefinately when having multiple consumers in the same process that are consuming from the same topic and belong to the same consumer group
The go source code contains a minimal test case to reproduce
This is run with
| from decorator import decorator | |
| def retry(retries, delay, backoff, should_retry_fn, jitter=0, max_delay=None, | |
| on_retry_fn=None, logger=_logger, label=None): | |
| @decorator | |
| def _retry(f, *args, **kwargs): | |
| retries_left, current_delay = retries, delay | |
| while retries_left: |
| import requests | |
| from requests.adapters import HTTPAdapter | |
| from urllib3.util.retry import Retry | |
| def create_session(num_hosts: int, num_workers: int, retry: int) -> requests.Session: | |
| session = requests.Session() | |
| adapter = HTTPAdapter( | |
| pool_connections=num_hosts, # number of different hosts we will be talking to | |
| pool_maxsize=num_workers, # number of maximum concurrent requests the session will be doing (i.e. with multiple threads that share it) |