Skip to content

Commit 0a9cf1b

Browse files
committed
new paas and redis resources
1 parent 4235704 commit 0a9cf1b

File tree

4 files changed

+53
-5
lines changed

4 files changed

+53
-5
lines changed

content/pages/03-data/11-redis.markdown

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ database typically classified as a [NoSQL database](/no-sql-datastore.html).
1313
Redis is commonly used for [caching](/caching.html), transient data storage
1414
and as a holding area for data during analysis in Python applications.
1515

16-
<a href="https://redis.io/" style="border: none;"><img src="/img/logos/redis.jpg" width="100%" alt="Redis logo." class="technical-diagram" /></a>
16+
<a href="https://redis.io/" style="border: none;"><img src="/img/logos/redis.jpg" width="100%" alt="Redis logo." class="shot" /></a>
1717

1818
<div class="well see-also">Redis is an implementation of the <a href="/no-sql-datastore.html">NoSQL database</a> concept. Learn more in the <a href="/data.html">data</a> chapter or view the <a href="/table-of-contents.html">table of contents</a> for all topics.</div>
1919

@@ -136,3 +136,8 @@ get started in those areas.
136136
* [A Speed Guide To Redis Lua Scripting](https://www.compose.com/articles/a-quick-guide-to-redis-lua-scripting/)
137137
shows how to use the Lua programming language to create extensions
138138
for Redis.
139+
140+
* [Better tests for Redis integrations with redislite](https://www.obeythetestinggoat.com/better-tests-for-redis-integrations-with-redislite.html)
141+
shows how to mock out a Redis instance using the
142+
[redislite](https://github.com/yahoo/redislite) library and clean up
143+
existing hacks you may be using to test your Redis usage.

content/pages/04-web-development/35-testing.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,8 @@ use mocks in your test cases.
176176
[Redis](/redis.html)-dependent code but prefer to mock it rather than
177177
ensure an installation and connection are present whenever you run
178178
your tests.
179+
180+
* [Better tests for Redis integrations with redislite](https://www.obeythetestinggoat.com/better-tests-for-redis-integrations-with-redislite.html)
181+
is a great example of how using the right mocking library can clean
182+
up existing hacky testing code and make it more straightforward for
183+
any developer that happens upon the tests in the future.

content/pages/05-deployment/09-paas.markdown

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,40 @@ application framework and your app itself is up to date and secured. See the
5757

5858
* [OpenShift](https://openshift.redhat.com/community/get-started/python)
5959

60-
* [AWS Elastic Beanstalk](https://aws.amazon.com/elasticbeanstalk/),
61-
[AWS CodeStar](https://aws.amazon.com/codestar/)
60+
* [AWS Elastic Beanstalk](https://aws.amazon.com/elasticbeanstalk/) and
61+
[AWS CodeStar](https://aws.amazon.com/codestar/) are Amazon Web Services'
62+
PaaS offerings. CodeStar is the newer service and recommended for new
63+
projects.
64+
65+
66+
## Platform-as-a-service open source projects
67+
The following open source projects allow you to host your own version
68+
of a platform-as-a-service. Running one of these gives you the advantage
69+
of controlling and modifying the project for your own applications,
70+
but prevents you from offloading the responsibility of keeping servers
71+
running to someone else.
72+
73+
* [Kel](http://www.kelproject.com/) uses Kubernetes as a foundation
74+
for a custom self-hosted PaaS. Note that it was created by Eldarion,
75+
which had one of the first Python-specific PaaS offerings on the
76+
market around the time that Heroku was launched.
77+
78+
* [Dokku](http://dokku.viewdocs.io/dokku/) builds on Docker and has
79+
hooks for plugins to extend the small core of the project and customize
80+
deployments for your applications.
81+
82+
* [Convox Rack](https://github.com/convox/rack) is open source PaaS
83+
designed to run on top of AWS services.
84+
6285

6386

6487
## Platform-as-a-service resources
65-
* [PaaS bakeoff: Comparing Stackato, OpenShift, Dotcloud and Heroku for Django hosting and deployment](http://appsembler.com/blog/paas-bakeoff-comparing-stackato-openshift-dotcloud-and-heroku-for-django-hosting-and-deployment/) by [Nate Aune](https://twitter.com/natea).
88+
* [The differences between IaaS, PaaS and SaaS](https://www.engineyard.com/blog/the-differences-between-iaas-paas-and-saas-and-when-to-use-each)
89+
explains the abstract layer differences among "X-as-a-service" offering
90+
types and when to consider using each one.
91+
92+
* [PaaS bakeoff: Comparing Stackato, OpenShift, Dotcloud and Heroku for Django hosting and deployment](http://appsembler.com/blog/paas-bakeoff-comparing-stackato-openshift-dotcloud-and-heroku-for-django-hosting-and-deployment/)
93+
by [Nate Aune](https://twitter.com/natea).
6694

6795
* [Deploying Django](http://www.rdegges.com/deploying-django/) by
6896
Randall Degges is another great free resource about Heroku.
@@ -72,6 +100,10 @@ application framework and your app itself is up to date and secured. See the
72100
currently called and what they could've been called to be more
73101
clear to users.
74102

103+
* [PAAS comparison - Dokku vs Flynn vs Deis vs Kubernetes vs Docker Swarm in 2017](http://www.jancarloviray.com/blog/paas-comparison-2017-dokku-flynn-deis-kubernetes-docker-swarm/)
104+
covers high-level advantages and disadvantages of several self-hosted PaaS
105+
projects.
106+
75107
* [5 AWS mistakes you should avoid](https://cloudonaut.io/5-aws-mistakes-you-should-avoid/)
76108
explains how common beginner practices such as manually managing
77109
infrastructure, not using scaling groups and underutilizing instances can
@@ -125,6 +157,11 @@ application framework and your app itself is up to date and secured. See the
125157
on Google Cloud and posits what they may be paying to run their
126158
service.
127159

160+
* [PaaS (false) economics](https://blog.drie.co/paas-false-economics-13f72d87b485)
161+
gives some quick back-of-the-envelope calculations on why running your
162+
applications on a PaaS is obviously going to appear more expensive if you
163+
do not take the cost of your own software engineers into the equation.
164+
128165
* Two blog posts on using AWS Autoscaling in [Automatic replacement of Autoscaling nodes with equivalent spot instances](https://mcristi.wordpress.com/2016/04/21/my-approach-at-making-aws-ec2-affordable-automatic-replacement-of-autoscaling-nodes-with-equivalent-spot-instances/)
129166
and
130167
[Autoscaling nodes: seeing it in action](https://mcristi.wordpress.com/2016/04/27/automatic-replacement-of-autoscaling-nodes-with-equivalent-spot-instances-seeing-it-in-action/)

content/pages/meta/00-change-log.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ on GitHub.
1616

1717
## 2018
1818
### November
19-
* Updated the [logging](/logging.html) page with a bunch of new resources.
19+
* Updated the [logging](/logging.html), [Redis](/redis.html) and
20+
[PaaS](/platform-as-a-service.html) pages with a bunch of new resources.
2021
* Updated the [web design](/web-design.html) page with new resources.
2122
* Updated the [data visualization](/data-visualization.html) page with
2223
new resources.

0 commit comments

Comments
 (0)