s t o p p i n g   r e d i s 
 
 / h e a l t h / l i v e   - >   2 0 0 ,   / h e a l t h / r e a d y   - >   5 0 3   ( 8 0 0 0   m s ) 
 
 v a l i d   t o k e n :   G E T   / u s e r s / m e   - >   5 0 3   u n a v a i l a b l e   ( 7 9 5 3   m s ) ,   s e s s i o n   c a n n o t   b e   c h e c k e d 
 
 u n k n o w n   t o k e n   - >   5 0 3 ,   n o t   2 0 0 :   n o b o d y   i s   t r u s t e d   w i t h o u t   a   c h e c k 
 
 n o   t o k e n   - >   4 0 1 
 
 l o g i n   - >   5 0 3 :   t h e r e   i s   n o w h e r e   t o   s t o r e   t h e   s e s s i o n 
 
 r e g i s t r a t i o n   - >   2 0 1 :   i t   n e e d s   o n l y   P o s t g r e S Q L 
 
 s t a r t i n g   r e d i s 
 
 a f t e r   s t a r t :   t h e   o l d   t o k e n   w o r k s ,   c o n f i r m e d   m e s s a g e s   a r e   i n   p l a c e 
 
 P A S S :   R e d i s   o u t a g e   g i v e s   5 0 3   a n d   d o e s   n o t   l e t   a n y o n e   i n   w i t h o u t   a   s e s s i o n   c h e c k 
 
 k i l l i n g   r e d i s   w i t h   S I G K I L L   ( d o c k e r   c o m p o s e   k i l l   r e d i s ) :   n o   g r a c e f u l   s h u t d o w n 
 
 r i g h t   a f t e r   t h e   c r a s h :   G E T   / u s e r s / m e   - >   5 0 3 
 
 s t a r t i n g   r e d i s 
 
 a f t e r   s t a r t :   t h e   s e s s i o n   i s s u e d   b e f o r e   t h e   c r a s h   s t i l l   w o r k s   ( A O F ,   a p p e n d f s y n c   a l w a y s ) 
 
 P A S S :   s e s s i o n s   s u r v i v e   a   R e d i s   c r a s h ,   n o t   o n l y   a   c l e a n   r e s t a r t 
 
 s t o p p i n g   p o s t g r e s 
 
 / h e a l t h / l i v e   - >   2 0 0 ,   / h e a l t h / r e a d y   - >   5 0 3   ( 1 0 0 0   m s ) 
 
 v a l i d   t o k e n :   u s e r s / m e ,   c h a t s ,   h i s t o r y ,   n e w   m e s s a g e   - >   5 0 3   u n a v a i l a b l e ,   n o   d e t a i l s 
 
 n o   t o k e n   - >   4 0 1 ,   u n k n o w n   t o k e n   - >   4 0 1 :   a n o n y m o u s   u s e r s   a r e   n o t   l e t   i n 
 
 l o g i n   - >   5 0 3 ,   r e g i s t r a t i o n   - >   5 0 3 
 
 s t a r t i n g   p o s t g r e s 
 
 a f t e r   s t a r t :   t h e   o l d   t o k e n   w o r k s ,   c o n f i r m e d   m e s s a g e s   a r e   i n   p l a c e 
 
 P A S S :   P o s t g r e S Q L   o u t a g e   g i v e s   l i m i t e d   5 0 3   e r r o r s   a n d   k e e p s   a n o n y m o u s   u s e r s   o u t 
 
 3   p a s s e d ,   0   f a i l e d 
 
 