Skip to content

Instantly share code, notes, and snippets.

View Pefington's full-sized avatar

Pierre-François Salmand Pefington

View GitHub Profile
@Pefington
Pefington / django-redis-sentinels.md
Last active April 14, 2025 09:34
Example setup of django-redis with sentinels

Setting Up Django-Redis with Sentinel

This is an example of configuration for Django to use Redis with Sentinel for high availability and failover that worked for me, adjust it to your needs.


Interaction Diagram

Below is my understanding of how Django interacts with Sentinel and Redis:

@Pefington
Pefington / resume.json
Last active January 16, 2023 10:52
JSON Resume
{
"basics": {
"name": "Pierre-François",
"picture": "https://avataaar.welovedevs.com/png/?accessoriesType=Blank&eyeType=Default&eyebrowType=DefaultNatural&facialHairType=Blank&hairColor=BrownDark&mouthType=Smile&skinColor=Light&topType=ShortHairShortWaved&clotheType=GraphicShirt&clotheColor=W3D&graphicType=W3DLogo",
"title": "Développeur Python",
"summary": "Pilote de ligne (Boeing) en reconversion professionnelle.",
"location": { "locationCountryCode": "TH", "city": "Bangkok" },
"profiles": [
{
"id": "a1a668b1-1933-491f-98e3-3495af3d5819",