forked from slides/empowering-django-with-background-workers
More slides tweaks
This commit is contained in:
parent
b5eb3ee2ea
commit
4f4df8abe5
2 changed files with 61 additions and 25 deletions
BIN
public/dep.png
Normal file
BIN
public/dep.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
86
slides.md
86
slides.md
|
@ -146,36 +146,63 @@ layout: section
|
||||||
|
|
||||||
# When?
|
# When?
|
||||||
|
|
||||||
|
---
|
||||||
|
layout: cover
|
||||||
|
background: https://images.unsplash.com/photo-1518729371765-043e54eb5674?q=80&w=1807&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
|
---
|
||||||
|
|
||||||
|
# Does it take time?{.text-right}
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: fact
|
layout: fact
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Does it leave your infrastructure?{.mb-5}
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart BT
|
flowchart BT
|
||||||
D[\Django/]
|
D[\Django/]
|
||||||
|
|
||||||
|
subgraph Slow / Unreliable
|
||||||
|
E>Email]
|
||||||
|
EA[External API]
|
||||||
|
V[[Video Transcode]]
|
||||||
|
R[Reporting]
|
||||||
|
ML((Machine<br>Learning))
|
||||||
|
end
|
||||||
|
|
||||||
subgraph Fast & Reliable
|
subgraph Fast & Reliable
|
||||||
DB[(Database)]
|
DB[(Database)]
|
||||||
C[(Cache)]
|
C[(Cache)]
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph Slow / Unreliable
|
|
||||||
E>Email]
|
|
||||||
EA[External API]
|
|
||||||
V[[Video Transcode]]
|
|
||||||
ML((Machine Learning))
|
|
||||||
end
|
|
||||||
|
|
||||||
D---DB & C
|
D---DB & C
|
||||||
|
|
||||||
D-.-E & EA & V & ML
|
D-.-E & EA & V & R & ML
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
layout: cover
|
||||||
|
background: https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=3870&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
|
---
|
||||||
|
|
||||||
|
# Specialized hardware?
|
||||||
|
|
||||||
|
---
|
||||||
|
layout: cover
|
||||||
|
background: https://images.unsplash.com/photo-1711606815631-38d32cdaec3e?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
|
---
|
||||||
|
|
||||||
|
## Example:
|
||||||
|
# Complex reporting
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: section
|
layout: section
|
||||||
---
|
---
|
||||||
|
|
||||||
# Background Workers _in Django_
|
# Background Workers in
|
||||||
|
|
||||||
|
<logos-django class="[&>path]:fill-white! h-fit w-60 -mt-20"/>
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: cover
|
layout: cover
|
||||||
|
@ -193,7 +220,7 @@ background: /celery.svg
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: image-right
|
layout: image-right
|
||||||
image: https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
|
image: https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
---
|
---
|
||||||
|
|
||||||
# Others...
|
# Others...
|
||||||
|
@ -217,9 +244,10 @@ image: https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?q=80&w=1740&
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: cover
|
layout: cover
|
||||||
background: https://images.unsplash.com/photo-1522096823084-2d1aa8411c13?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
|
background: https://images.unsplash.com/photo-1522096823084-2d1aa8411c13?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Example:
|
||||||
# Email <mdi-email-fast-outline />
|
# Email <mdi-email-fast-outline />
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -361,7 +389,7 @@ layout: fact
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: image-right
|
layout: image-right
|
||||||
image: https://images.unsplash.com/photo-1674027444485-cec3da58eef4?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
|
image: https://images.unsplash.com/photo-1674027444485-cec3da58eef4?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
class: flex items-center text-xl
|
class: flex items-center text-xl
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -475,7 +503,7 @@ class: flex justify-center text-2xl flex-col
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: image-right
|
layout: image-right
|
||||||
image: https://images.unsplash.com/photo-1525683879097-8babce1c602a?q=80&w=1335&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
|
image: https://images.unsplash.com/photo-1525683879097-8babce1c602a?q=80&w=1335&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
class: flex justify-center text-xl flex-col
|
class: flex justify-center text-xl flex-col
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -533,17 +561,31 @@ layout: section
|
||||||
|
|
||||||
# Where are we now?
|
# Where are we now?
|
||||||
|
|
||||||
<v-click>
|
---
|
||||||
|
layout: image
|
||||||
|
image: /dep.png
|
||||||
|
---
|
||||||
|
|
||||||
## `pip install django-tasks`
|
---
|
||||||
|
layout: cover
|
||||||
|
---
|
||||||
|
|
||||||
</v-click>
|
# `pip install django-tasks`
|
||||||
|
|
||||||
|
<div class="absolute right-1/2 translate-x-1/2 mt-12">
|
||||||
|
<QRCode
|
||||||
|
:width="120"
|
||||||
|
:height="120"
|
||||||
|
data="https://pypi.org/project/django-tasks/"
|
||||||
|
:dotsOptions="{ color: 'white' }"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: section
|
layout: section
|
||||||
---
|
---
|
||||||
|
|
||||||
# Where will we be soon™?
|
# Where will we be _soon_™?
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: cover
|
layout: cover
|
||||||
|
@ -562,7 +604,7 @@ background: /celery.svg
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: image-right
|
layout: image-right
|
||||||
image: https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1744&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
|
image: https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1744&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
class: flex justify-center flex-col text-xl
|
class: flex justify-center flex-col text-xl
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -580,7 +622,7 @@ class: flex justify-center flex-col text-xl
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: cover
|
layout: cover
|
||||||
background: https://images.unsplash.com/photo-1519187903022-c0055ec4036a?q=80&w=1335&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
|
background: https://images.unsplash.com/photo-1519187903022-c0055ec4036a?q=80&w=1335&auto=format&fit=crop&ixlib=rb-4.0.3
|
||||||
---
|
---
|
||||||
|
|
||||||
# The future is bright
|
# The future is bright
|
||||||
|
@ -591,10 +633,6 @@ layout: section
|
||||||
|
|
||||||
# What's next?
|
# What's next?
|
||||||
|
|
||||||
<v-click>
|
|
||||||
|
|
||||||
## `pip install django-tasks`
|
|
||||||
|
|
||||||
<div class="absolute right-1/2 translate-x-1/2 mt-12">
|
<div class="absolute right-1/2 translate-x-1/2 mt-12">
|
||||||
<QRCode
|
<QRCode
|
||||||
:width="120"
|
:width="120"
|
||||||
|
@ -604,8 +642,6 @@ layout: section
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</v-click>
|
|
||||||
|
|
||||||
---
|
---
|
||||||
layout: end
|
layout: end
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue