WHAT? rw-r-----+ 1 foo foo 977M static.log rw-r-----+ 1 foo foo 8,9M uwsgi.log Lo stile non è poi così importante: https://github.com/unbit/uwsgi/issues/542
Thou shalt deploy Rischi: offline & data loss Fabric deploy automatizzato → – Evita lavoro noioso – L'errore sta nella ripetizione Script fabric sotto controllo di versione (git) → fabric + git = minimo sindacale
Keep calm è andata così 1. NEGAZIONE: Come sempre è colpa del frontend! 2. RABBIA: AAAAAAAAAAAAAAAAAAAAAAA 3. PATTEGGIAMENTO: Dai sarà una stupidaggine 4. DEPRESSIONE: :( 5. ACCETTAZIONE: Ci sarà qualcosa nei log: *** DANGER cache is FULL !!!
UwsgiFouine: come si pronuncia? pip install uwsgiFouine uwsgiFouine uwsgi.log - offline e veloce - dati reali - conciso, risponde a tre specifiche domande: Where was the most time spent? What were the slowest pages (max page load time)? What were the slowest pages (avg page load time)?
Let's go Enterprise! Form Contatti Webservice SOAP → C = Cliente, R = Riccardo C: Alcune richieste che ci mandate restituiscono errore, vi allego docx e pptx con la documentazione R: ok, ma avete qualche log che possa aiutarmi? C: No! R: ok, questo è l'xml che vi mando e questo è quanto tornate voi a me 256{#} Data has been previously submit ...
(Il troncamento della stringa di errore non è una correzione editoriale :) C: l'xml che ci invii è corretto R: … C: Torniamo errore se viene mandata la stessa richiesta a meno di 5 minuti di distanza
What good amid these O me, O life? Answer. That you are here—that life exists and identity, That the powerful play goes on, and you may contribute a verse. Walt Whitman – O Me! O Life! Leaves of Grass