background preloader

Wagn

Facebook Twitter

Sign In - Web Application Load Testing Tools For API Endpoints With loader.io. Flood Load Testing Service. Stress Testing Your Rails Application Using JMeter. Some time ago we needed to make a simple stress-testing of our application to get an idea of where we are going, and find out whether we should take a break and pay some attention to optimizations or not.

Stress Testing Your Rails Application Using JMeter

The number of stress-testing tools is huge, but we decided to stick to a well-tried solution - JMeter. JMeter is an opensource cross-platform load testing tool which is being developed by Apache Foundation. It has a rich graphical interface and a big number of features. But it is not novice-friendly at all. So, I think I should share my experience of playing with this tool. GitHub - james2m/seedbank: Seedbank gives your Rails seed data a little structure. Create seeds for each environment, share seeds between environments and specify dependencies to load your seeds in order. All nicely integrated with simple rake tasks.

Delayed Job Best Practices. The need to execute tasks asynchronously, out of the HTTP request handling cycle, will sooner or later appear in all web applications.

Delayed Job Best Practices

One gem that can help you handle this need is delayed_job. There are others too, like resque and Sidekiq. I have used many of them and I have to say that I really like delayed_job because it integrates so well with my RDBMS backend (usually, either MySQL or PostgreSQL). There have been many posts about Delayed Job, with tons of useful information. In this article, I’ll cover some of the practices I apply at work when working with Delayed Job, such as: Enhancements on the table that holds the delayed jobsGood practices when queuing jobs, including custom delayed jobsManaging jobs using the Rails consoleManaging jobs using a Web interfaceTesting with delayed jobsTagged logging I’ll be using Rails and ActiveRecord in my demo application, so feel free to create a Rails app and follow along.

Table to Hold Delayed Jobs If you run the following command: Dev Plan - Google Sheets. Ruby custom instrumentation. The New Relic Ruby agent automatically collects many metrics.

Ruby custom instrumentation

It also includes an API you can use to collect additional metrics about your application. If you see large "Application Code" segments in transaction trace details, custom instrumentation can give a more complete picture of what is going on in your application. Collecting too many metrics can impact the performance of your application and New Relic. To avoid data problems, keep the total number of unique metrics introduced by custom instrumentation under 2000. Method tracers The easiest way to capture custom instrumentation is by tracing calls to a particular method. Method tracers are software probes you can put on a method of any class. Tracing in class definitions Method tracers can be used within normal class definitions, as long as the target method has been defined first: To instrument a class method, add the method tracer in the class singleton: add_method_tracer takes an optional metric name and a hash of options.

New Startups. Varnish Community. Docs. Eventbrite. Products we use every day — like smartphones, laptops and cars — contain minerals that may have fueled violence and human rights abuses in countries like Afghanistan, Colombia, Myanmar and the Democratic Republic of the Congo.

eventbrite

We want to know what companies are doing to ensure they source these minerals responsibly. So we’ve put together a set of questions designed to find that out. Where do you come in? We need your help to make sense of the information about companies' mineral sourcing activity. Amnesty International and Global Witness invite you to a hands-on workshop answering important questions around ethical sourcing. You will learn how to use the public WikiRate.org platform to analyse and make sense of the information from companies, around the impacts of their sourcing practices. Amnesty International and Global Witness experts will be speaking at the workshop about the link between minerals, conflict and human rights abuses and why responsible sourcing matters matters. Slider for Bootstrap Examples Page. Example 1: Basic example with custom formatter and colored selected region via CSS.

Slider for Bootstrap Examples Page

JavaScript Example 2: Range selector, options specified via data attribute. Filter by price interval: € 10€ 1000. Home - TEST ME. Mac osx - Postgres cannot start on lion due to missing server configuration file. Slider for Bootstrap Examples Page. Lohnbuchhaltung für Personal und Mitarbeiter. Auch Gründer kommen nicht darum herum: Sobald ein Unternehmen Mitarbeiter beschäftigt, kommen neue Aufgabenbereiche und Anforderungen auf das Unternehmen zu.

Lohnbuchhaltung für Personal und Mitarbeiter

In den administrativen Bereich fällt beispielsweise die Einrichtung einer Lohnbuchhaltung. Kurz gesagt, werden in der Lohnbuchhaltung die Lohn- und Gehaltsabrechnungen inklusive aller damit verbundenen Abgaben und Nebenkosten abgewickelt sowie die Stammdaten des Personals gepflegt. Zusätzlich müssen bei der Lohnbuchhaltung Jahreslohnkonten geführt und Meldeerfordernisse für Krankenkasse, Lohnsteueranmeldung etc. erfüllt werden. Gerade für Gründer und junge Unternehmer ist es wichtig, die mit Arbeitnehmern verbundene Rechtsprechung zumindest in ihren Grundzügen zu kennen.

jQuery Joyride Plugin. Create jQuery Feature Tours in a Breeze Setting up Joyride is simple, just attach the needed files, drop in your markup and choose your settings.

jQuery Joyride Plugin

Joyride is extremely flexible and lets you take control of how people interact with your tour. We programmed it to be cross-browser compatible with modern browsers and even used some fancy CSS to avoid images. Now let’s see just how easy it is to take your first ride without getting the fuzz involved. New in Version 2 There have been many significant performance improvements in Joyride 2, along with a myriad of new features. It works on every screen size! Step 1.

Tickets

How to split routes.rb into smaller parts? Each application created using Ruby on Rails framework has a routing engine and config/routes.rb file where we define routes paths.

How to split routes.rb into smaller parts?

That file very often becomes very large in the proces of development. Each additional line makes the routing file harder to maintain. Also, searching for specific paths during the development phase becomes increasingly difficult. Currently, I work on an application in which the routing file contains about 500LOC. Quite a lot, isn’t it? Order of loading files. Etherpad.