Search overlay panel for performing site-wide searches
Salesforce (Heroku) Named a Leader. Learn More!

Heroku Blog

Performance is important, and if we can't measure something, we can't make it fast. Recently, I've had my eye on the ActionDispatch::Static middleware in Rails. This middleware gets put at the front of your stack when you set config.serve_static_assets = true in your Rails app. This middleware has to compare every request that comes in to see if it should render a file from the disk or return the request further up the stack. This post is how I was able to benchmark the middleware and give it a crazy speed boost. How ActionDispatch::Static Works Right now to serve static…

[Heroku Connect] [heroku_connect] is written primarily in Python using Django. It's an add-on and a platform app, meaning it's built on the Heroku platform. Part of our interface provides users with a realtime dashboard, so we decided to take advantage of socket.io and node.js for websocket communication. But like all Heroku apps, only one type of dyno can serve traffic. This left us with two choices: manage 2 apps, each with its own repo, and carefully consider when and how we deployed them, or find a way to serve both node and Django traffic from the same app. Luckily, fellow…

Heroku provides many instrumentations for your app out of the box through our new Heroku developer experience. We have open-sourced some of the tools used to instrument Heroku apps, but today’s focus will be on instruments, a Go library that allows you to collect metrics over discrete time intervals. What is instruments? Instrumentation is the art and science of measurement and control of process variables within a production system. Instruments attached to a system may provide signals used to operate the system like circuit breakers or to alert a human operator. The instruments library allows you to collect and report…

A quick glance at most any phone shows the importance and urgency – for businesses of all kinds – of creating mobile customer apps. Our everyday activities – finding a ride, ordering a meal or turning on a light are increasingly mobile experiences. But delivering a great omnichannel experience to customers requires more than just the work of the application developer. The larger organization is involved in following up with prospects, fielding service inquiries, and sending relevant marketing messages. Orchestrating this tapestry of touchpoints often requires developers to integrate with systems used by non-developers, including sales, service, marketing and community…

As an SRE (Service Reliability Engineer) at Heroku, one of the things I’m exposed to is how much work happens behind the scenes in order to create what we call “non-events” for you, our users. A non-event is turning something that would typically create work for an application hosted on traditional infrastructure into something that the user won’t even notice. This is something we put a lot of energy into because we believe in letting our users run apps instead of managing infrastructure. We make this investment because we know that for every hour you spend managing infrastructure, that’s an…

With the Salesforce hackathon fast approaching, I wanted to give a quick overview on building apps that use the force.com APIs (part of the Salesforce1 platform). The force APIs are rich and varied, so sometimes just getting started can seem a little daunting. What services are provided? The force.com APIs give your application access to the authentication, data storage, and business rule services provided by the Salesforce1 platform. Some of the things you can do with the APIs include: Authenticate users based on a Salesforce username and password Query any data stored in a Salesforce account. Data access rules for…

Subscribe to the full-text feed.