Netflix Open Sources “Resilience Engineering” Code Library Hystrix: it’s the genus name for “Old World” porcupines, and it’s also the latest release from Netflix. But you won’t see it in their catalog of movie and TV titles, and you can’t add it to your queue, because it’s not content–it’s how Netflix makes sure its content is highly available. Now, Netflix has made Hystrix open source, for anyone using Amazon Web Services (AWS) to implement in their own cloud applications. Read on for details on this “resilience engineering” code library. Mention Netflix, and most people will think of the company’s DVD-rental-by-mail service or its growing library of “Watch Instantly” streaming video titles. This week, Netflix added Hystrix to its bag of open-source tricks. The Hystrix home page on GitHub defines the problem: [R]unning an application that depends on 30 services that each have 99.99% uptime we get: 99.9930 = 99.7% uptime 0.3% of 1 billion requests = 3,000,000 failures 2+ hours downtime/month even if all dependencies have excellent uptime.
Qu'est-ce que YunoHost ? • YunoHost Modifications successfully saved. You will receive an email to confirm your submission. Objectif YunoHost est un système d’exploitation serveur visant à rendre accessible l’auto-hébergement à autant de personne que possible, sans délaisser la qualité et la fiabilité du logiciel. Fonctionnalités basé sur Debian ; administration via une gentille interface web ; déployez facilement des applications ; gérez des utilisateurs (gérés via LDAP) ; gérez des domaines ; créez et restaurez des sauvegardes ; connexion simultanée à toutes les apps via un portail utilisateur (nginx, SSOwat) ; fourni avec un serveur mail complet (Postfix, Dovecot, Rspamd, DKIM) ; ... ainsi qu'un serveur de messagerie instantanée (XMPP) ; ... un système de gestion de certificats SSL (integration de Let's Encrypt) ; ... et des systèmes de sécurité (fail2ban, yunohost-firewall) ; Origine YunoHost est un projet né en février 2012 à la suite d’à peu près ça : « Merde, j’ai la flemme de me reconfigurer un serveur mail... But Nom
10 applications mobile indispensables pour un Community Manager l YouSeeMii blog Une des particularités du métier de Community Manager est d’être sur-connecté pour rester en veille mais surtout améliorer sa productivité. A tel point que son meilleur ami est sûrement le Smartphone pour éliminer toutes contraintes géographiques tout en ayant à portée de mains ses outils de travail et ce peu importe l’heure. L’article ici présent ne traitera pas du fameux débat de la connectivité H24 7j/7, mais plutôt d’une trousse à outils mobile pour CM qui me facilite mon quotidien. 1°) Mailbox Personnellement je n’ai jamais aussi bien gérer mes e-mails depuis que je possède cette application. Grâce à de simples gestes vous pouvez archivez, modifier l’ordre d’affichage de vos mails, recevoir des alertes pour les traiter plus tard, les classer… Malheureusement je la trouve parfois un peu lente dans le chargement. L’application est un tel succès (60 millions d’e-mails par jours) que Dropbox a annoncé le mois dernier s’offrir Mailbox… de quoi annoncer de prochaines évolutions. 2°) Astrid
How to Debug One of the painful parts of teaching a lab-based embedded systems course is that over and over I have to watch a team with a relatively simple bug in their code, but who is trying to fix it by repeatedly making random changes. Generally they start with code that’s pretty close to working and break it worse and worse. By the end of the lab they’re frustrated, aren’t any closer to finding the bug, and have made a complete mess of their code, forcing them to go back to the previous day or week’s version. A typical Computer Science curriculum fails to teach debugging in any serious way. First we’ll want to define some terms: The high-level reason debugging is hard is that it’s an inverse problem: it attempts to infer the cause for observed effects. Of course, a very bad bug will involve several of these factors at the same time. The following steps constitute a fairly complete approach to debugging. 1. It makes no sense to even start debugging unless we’re pretty sure: 2. 3. 4. 5. 6. 7. 8.
Telepathwords: preventing weak passwords by reading your mind. 5 .htaccess Snippets to Borrow from HTML5 Boilerplate HTML5 Boilerplate is an awesome website template when you want all best pieces in place for you when you start your project. A while back I covered 7 CSS Snippets to Borrow from HTML5 Boilerplate, so today I want to feature a few .htaccess settings which could speed up, secure, and make your site very much more useful! Block Access to Hidden Files and Directories We try to push our code to productions servers without hidden files and directors, like our revision system directors, but that doesn't always happen. This snippet prevents those files from being accessible: <IfModule mod_rewrite.c> RewriteCond %{SCRIPT_FILENAME} -d [OR] RewriteCond %{SCRIPT_FILENAME} -f RewriteRule "(^|/)\." - [F] </IfModule> Hackers shouldn't have the ability to get those files so now they can't! Compress Served Files by MIME Type There are a number of file types we know we want compressed on the way out, and with mod_deflate, we can direct the server to do so: Allow Cross-Domain Fonts with CORS Expires
IoC container solves a problem you might not have but it’s a nice problem to have | Krzysztof Koźmic on software On frameworks and libraries A logging framework helps you log what's happening in your application. A UI framework helps you render and animate UIs to the user. All of these tasks and concepts are pretty easy to understand. Also the code of your application changes in order to use those frameworks and libraries. What about IoC container? So what about inversion of control containers? I got one of the IoC containers, put it in my application, and then all hell broke loose. Let's ignore the details for now and concentrate on the wider sentiment. So? The sentiment is one of confusion, scepticism and frustration. Truth is, those aren't necessarily the right questions to ask. I have seen applications where introducing a container immediately, would only worsen things. What sort of architecture are we talking about? Container has certain requirements in order to work smoothly. That's a lot of assumptions, isn't it? It's the inversion! The i-word
Support d'IPv6 dans Postfix Introduction Postfix 2.2 a introduit le support du protocole IPv6 (IP version 6). Le support d'IPv6 pour les versions précédentes de Postfix était disponible sous forme d'un patch. La principale fonctionnalité d'IPv6 est qu'il utilise des adresses composée de 128 bits au lieu de 32 bits dans IPv4. Postfix utilise le même protocole SMTP sur IPv6 que sur IPv4, et effectue une recherche DNS de type AAAA en complément des anciennes requêtes de type A. Ce document fournit des informations sur les sujets suivants : Platformes supportées Postfix version 2.2 supporte IPv4 et IPv6 sur les plateformes suivantes : AIX 5.1+ Darwin 7.3+ FreeBSD 4+ Linux 2.4+ NetBSD 1.5+ OpenBSD 2+ Solaris 8+ Tru64Unix V5.1+ Sur les autres systèmes, Postfix utilisera simplement IPv4 comme il l'a toujours fait. Reportez-vous au paragraphe consacré pour les astuces pour le portage du support IPv6 de Postfix sur les autres environnements. Configuration Limitations connues IPv6 pour les platformes non supportées Références