VirtualTam's bookmarks
162 bookmarks found
-
Migrating a 130TB Cluster from Elasticsearch 2 to 5 in 20 Hours with 0 Downtime and a Rollback…
2018-01-31 - https://thoughts.t37.net/how-we-reindexed-36-billions-documents-in-5-days-within-the-same-elasticsearch-cluster-cd9c054d1db8
- https://thoughts.t37.net/how-we-upgraded-a-22tb-mysql-cluster-from-5-6-to-5-7-in-9-months-cc41b391895d
- https://www.elastic.co/blog/hot-warm-architecture-in-elasticsearch-5-x
- https://www.graylog.org/post/back-to-basics-using-a-hot-warm-elasticsearch-cluster
- https://github.com/mraad/es-hot-warm
-
Actors:
- database server / cluster
- load-balanced application servers relying on a database schema with migrations
- reverse proxy
Issue:
- managing database schema migrations
Possible sequence:
- create the database
- run a service that executes database schema migrations
- start application servers
- start the load-balancer / reverse-proxy
Resources:
- https://www.reddit.com/r/docker/comments/2t2pnf/what_are_best_strategies_to_migrate_relational/
- https://softwareengineering.stackexchange.com/questions/357929/db-migration-strategy-for-docker-containers-in-aws-ecs
- https://stackoverflow.com/questions/41592091/run-a-database-migration-command-when-deploying-a-docker-container-to-aws
- https://ltd-keeper.lsst.io/gke-migrations.html
- https://stackoverflow.com/questions/31715239/docker-compose-database-migrations-and-other-pre-post-scripts
- https://stackoverflow.com/questions/38089999/docker-compose-rails-best-practice-to-migrate
- https://stackoverflow.com/questions/37058812/how-best-to-run-one-off-migration-tasks-in-a-kubernetes-cluster
-
Django, Docker and MySQL
2017-11-29 Django ORM:
- https://docs.djangoproject.com/en/1.11/ref/databases/#mysql-notes
- https://stackoverflow.com/questions/34777755/how-to-config-django-using-pymysql-as-driver
- https://stackoverflow.com/questions/19189813/setting-django-up-to-use-mysql
MySQL / MariaDB / Percona connectors:
- https://stackoverflow.com/questions/4960048/python-3-and-mysql
- https://github.com/PyMySQL/PyMySQL
- https://pypi.python.org/pypi/mysql-connector-python
Docker images:
- https://store.docker.com/images/mariadb
- https://store.docker.com/images/mysql
- https://store.docker.com/images/percona
Compose and Django ORM database migrations:
-
-
Docker and database persistence
2017-09-04 - https://myopsblog.wordpress.com/2017/02/06/why-databases-is-not-for-containers/
- https://stackoverflow.com/questions/18496940/how-to-deal-with-persistent-storage-e-g-databases-in-docker
- https://stackoverflow.com/questions/30109561/how-persistent-are-docker-data-only-containers
- https://kubernetes.io/docs/concepts/storage/persistent-volumes/
- http://rancher.com/introducing-convoy-a-docker-volume-driver-for-backup-and-recovery-of-persistent-data/
-
- https://www.quora.com/What-are-good-Python-interview-questions
- https://www.reddit.com/r/Python/comments/1knw7z/python_interview_questions/
- https://resources.workable.com/python-developer-interview-questions
- https://stackoverflow.com/questions/2573135/python-progression-path-from-apprentice-to-guru/2576240#2576240
- https://docs.python.org/3/tutorial/
- https://www.reddit.com/r/Python/comments/6v0amj/the_more_i_learn_about_python_the_more_i_realized/
- https://github.com/00111000/Imports-in-Python
Language:
- GIL
- memory management, object references
- data structures
- duck typing
- monkey patching
- generators
- list & dict comprehensions
- decorators
- introspection
- ...
Development tools:
- debugging
- packaging
- lint
- testing: unitary, functional, TDD, BDD
Libraries:
- data parsing
- data scraping
- database management
- http requests
- web frameworks
- ...
-
Django vs Flask — git-pull.com
2017-06-23 -
Part 1 - https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-one
- https://github.com/mbithenzomo/project-dream-team-one
- http://flask.pocoo.org/docs/0.12/config/
- http://flask.pocoo.org/docs/0.12/patterns/appfactories/
- http://flask.pocoo.org/docs/0.12/blueprints/
- http://flask-sqlalchemy.pocoo.org/2.2/config/
Part 2 - https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-two
Part 3 - https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-three
-
JSON data with SQLAlchemy and Flask
2017-05-19 -