17 April 2014

The Ruby Reflector

Topic

Database

  Source Favicon
By Sara of Heroku 6 days ago.
Email

…Zoobean is a Ruby/Rails app running Heroku Postgres as a Database, Memcachier for caching, New Relic and Librato for application monitoring. The main benefit Felix, Chief Dad, was looking for in a platform was to always have someone on the other end making sure their site was running as expected, especially when the show aired, and with Heroku they had that. They added even more peace of mind by engaging a TAM ( Technical Account Manager) and enabling …

blog.heroku.com Read
  Source Favicon
By Todd Hoff of High Scalability 7 days ago.
Email

Databases can provide scalability by partitioning data across several servers. However, multi-partition, multi-operation transactional access is often expensive, employing coordination-intensive locking, validation, or scheduling mechanisms. Accordingly, many real-world systems avoid mechanisms that provide useful semantics for multi-partition operations . This leads to incorrect behavior for a large class of applications including secondary indexing, foreign key enforcement, and materialized …

highscalability.com Read
  Source Favicon
Email

Database machines

CPU: 2 x Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz (6 cores, chip multithreading off)

Memory: 64G

Running MySQL Community Edition 5.6.15

MySQL configuration

The buffer pool of the database is intentionally small, so it's easy to generate a disk-bound workload.

Please note that the following settings are not recommended in production.

We used these settings to drive the node to its peak performance, avoiding any possible overhead which might be required …

mysqlperformanceblog.com Read
  Source Favicon
Email

" OpenStack Trove - Database as a Service "

Vipul Sabhaya, Lead Software Developer, HP

Michael Basnight, Sr. Software Developer, Rackspace

Patrick Galbraith, Senior Systems Engineer, Hewlett Packard

12:50 pm to 1:40 pm

" Avoiding Pain When Running MySQL in the Cloud "

Neil Armitage, Deployment and Support Engineer, Continuent

1:50 pm to 2:40 pm

" Building Globally Available Storage Layers " …

mysqlperformanceblog.com Read
  Source Favicon
By Guest Post of New Relic 1 month ago.
Email

The report splits the application into three distinct components: PHP, Database and Web External. The report showed that most of the response time was a result of the PHP application, with a tiny bit of latency on the database and a little less time spent in external services (e.g. social media plugins, analytics APIs etc.).

While application performance could certainly be improved, a response time of around 600ms was not considered to be the main issue. This helped us to realize that …

newrelic.com Read
  Source Favicon
By Matt of Heroku 2 months ago.
Email

Database size

Load

Memory Usage

I/O Operations

(Load, memory, and I/O are only available on some plans, see the docs for details.)

And if you want to view trending for these resource metrics, you can do so with our partner Librato. Just install their add-on on the Nickel plan or above . Runtime metrics are currently in beta, and we appreciate any feedback you have on how we can improve them.

Supporting At-Scale Apps

When apps …

blog.heroku.com Read
  Source Favicon
By Todd Hoff of High Scalability 3 months ago.
Email

Nightmare of Files and Directories , The Database Mess , The Dance of Apple and Microsoft , and The Real Story of the World Wide Web .

From small beginnings. Where it all started: "the internet" in 1969 : His idea for the project was the "spirit of community" and was interested in "having computers help people communicate with other people" ( Licklider, Licklider, and Robert Taylor) as opposed to …

highscalability.com Read
  Source Favicon
By sarah of the evolving ultrasaurus 3 months ago.
Email

Database Cleaner

The DatabaseCleaner gem is super helpful for our typical Rails app that relies on a database. We always want a "clean slate" when we start our tests and this nifty gem gives us a bunch of options with a consistent interface for various database choices.

Configuration

To configure these solutions correctly, it is critical to understand that with Capybara:: Webkit our target app code is running in a separate process from our tests. This means that …

ultrasaurus.com Read
  Source Favicon
Email

Database Cleaner

When running your tests by default, Rails wraps each scenario in a database transaction. This means, at the end of each test, Rails will rollback any changes to the database that happened within that spec. This is a good thing, as we don't want any of our tests having side effects on other tests.

Unfortunately, when we use a JavaScript driver, the test is run in another thread. This means it does not share a connection to the database and your test will have to …

robots.thoughtbot.com Read
  Source Favicon
By jim of World Wide Webber 3 months ago.
Email

Neo4j 2.0 has preview versions available and will be released shortly. With the recent release of the O'Reilly book " Graph Databases" by Ian Robinson , me , and Emil Eifrem (a full free eBook version is available at http://graphdatabases.com ) this is a great time to get acquainted with Neo4j, Cypher and graphs.

jim.webber.name Read