Search through our group's posts (events, discussions, jobs, etc.) and their comments here. Results are displayed in order of post date. Use the pager below to browse results.
Drupal uses 100% CPU
Hi,
I am a drupal developer , I used to create thumbnails for the uploaded images via Image cache actions in drupal 7.0 it takes about 100% CPU utilization. I use amazon EC2 with m1.small as my server and stored images in amazon s3 bucket, but i am creating the thumbnails in my EC2 server and then pushing to S3 via cron job, i also tried creating thumbnails using normal PHP (using imagecreatefromjpeg() and imagejpeg() functions) and setting it as a cron job for every 5min ..
, which also takes around 100% of cpu.
I tried to increase the "apc.shm_size" in php.ini
but no improvements.
High Performance Drupal meetup at Filter Digital in Culver City on April 3, 2012: GRAMMY.com Case Study
| Video: Scaling GRAMMY.com, by Kevin Colligan: http://blip.tv/episode/6224301 |
The High Performance Drupal meetup is meeting again on the 1st Tuesday of the month. Please join us on April 3, 2012 at Filter Digital, a digital solutions agency in Culver City located just two blocks from Media Temple, a familiar venue of Drupal meetups on the Westside.
This meetup features a presentation by Kevin Colligan (@kevincolligan) at The Recording Academy @TRAlosangeles, who will present a case study on GRAMMY.com. He will go through the setup used for GRAMMY.com now to keep it fast and stable — Pressflow and Master/Slave databases, Drupal's built-in cache mechanisms, Akamai and Content Delivery Networks, Varnish load balancing and reverse proxies, Memcache and other tricks — and what they're looking at for the future.
Our meetups follow a basic format and start off with Drupal news and announcements, local job announcements, breakout sessions, raffle prizes and full-length presentations. As always, we'll also have community Q&A, during which time anyone in attendance can ask questions, divine answers from the crowd and give brief, 5-10 minute-long presentations known as lightning talks. We'll finish off the night with more networking and a Drupal After Dark at 9:30pm.
About High Performance Drupal
What is the High Performance Drupal meetup about? The "high performance" part of the name is a catch-all to describe Drupal scalability, performance and benchmarking but we also discuss hosting, infrastructure, deployment, monitoring and highly repeatable processes. Also, this meetup has been held at coffeeshops in the past and the addition of caffeine makes our meetings feel as if they go faster and faster as the night goes on.
This is an meetup that focuses exclusively on advanced topics and there will not be a Users Helping Users portion to the evening.
Read morestoring a db table in memory
I have this custom module that creates a db in drupal, the data doesn't change very often and I do some db_query calls to it for some of the things being done on the site.
I know their is some db caching happening but is this table worth saving to memory or disk, what would you guys do in this situation to lighting the load since this table would be called quite often to get some data from?
Read moreDrupal 6 with bigint as nid.. billions of nodes.. or offload to mongo?
I'm looking at a potential issue that we might be facing soon in one of our game backend servers where we have over a million + or so users hitting the server daily and buying assets in our game and doing other game related things.
Right now when buying an asset it gets inserted as a node and content type with cck, well we where discussing the other day that int(11) only goes up to about 2 billion+ nodes and while this is a lot for most sites we can easily reach that in a month or so and also as our customer base grows.
Read moreCreate cookie naming standards
There are a handful of modules that set extra cookies to accomplish various things outside of the session. Some of them are used only on the client side and the server never needs to see them. Some of them are actually used on the server side. See:
https://wiki.fourkitchens.com/display/PF/Modules+that+break+caching,+and...
High Performance Drupal meetup at Droplabs on May 1, 2012
| Video: Using HTTPRL for Parallelization http://blip.tv/ladrupal/episode/6128019 Video: Introducing Doh, a Drupal-Based Meta-Framework http://blip.tv/ladrupal/episode/6128018 |
The High Performance Drupal meetup is meeting again on the 1st Tuesday of the month. Please join us at Droplabs, a Drupal event and coworking space in Downtown Los Angeles, on May 1, 2012.
Our meetups follow a basic format and start off with Drupal news and announcements, local job announcements, breakout sessions, raffle prizes and full-length presentations.
As always, we'll also have community Q&A, during which time anyone in attendance can ask questions, divine answers from the crowd and give brief, 5-10 minute-long presentations known as lightning talks. We'll finish off the night with more networking and a Drupal After Dark at 9:30pm.
The projector and raffle prizes for this event are being provided by Exaltation of Larks, a Drupal strategy, consulting, development and training company with a team of Drupal experts in Los Angeles.
About High Performance Drupal
What is the High Performance Drupal meetup about? The "high performance" part of the name is a catch-all to describe Drupal scalability, performance and benchmarking but we also discuss hosting, infrastructure, deployment, monitoring and highly repeatable processes. Also, this meetup has been held at coffeeshops in the past and the addition of caffeine makes our meetings feel as if they go faster and faster as the night goes on.
This is an meetup that focuses exclusively on advanced topics and there will not be a Users Helping Users portion to the evening.
Read moreHTTPRL Module: Callbacks & Background Callbacks Now Possible
I'm pretty excited about some recent developments I've recently done in the HTTP Parallel Request Library. Thread that has all the dev info: http://drupal.org/node/1427958
You can now issue a callback in the event loop (just like node.js) so while your function callback is running, I/O is still going on in the background (http requests currently), filling up buffers waiting to be read after the callback is done executing.
Read moreWhat would be the best caching mechasnim to be used with Drupal 7 & Nginx?
What would be the best caching mechasnim to be used with Drupal 7 & Nginx?
Read moreUsing httprl for parallelization
Recent improvements to mikeytown2's httprl module make it a fairly powerful tool for parallelizing certain classes of long-running operations, allowing them to scale horizontally across one or more servers. I found a great use for this when I needed to to generate a list of one-time login tokens for all users on one of our sites. The first version worked well, but took several minutes and had to be run as a cron job through drush. For the next iteration, I wanted to generate the list quickly (i.e. in 30 seconds or less) from an admin UI.
Read moreUsing master/slave replication for a group of offline satellite applications
I am planning out a solution using master-slave replication, possibly with Pressflow 7, and wanted to do a reality check that the approach makes sense. I'd greatly appreciate your feedback, even though my use case is not particularly high performance.
My client uses a browser-based application to do data collection in remote locations. These 'satellites' have web access about once a week. Currently, they are dumping a SQL file, emailing it, and manually updating the master server. Ideally, the master and all slaves will be kept up to date with the complete DB as much as possible.
Read more


