A couple of days ago I started my first Drupal 7 site for a client, and while I was doing that I was listening to the latest Lullabot podcast and Angie was talking a little about the Drupal 8 (very briefly) and about what Larry Garfield was planning for blocks, in that their will be a completely new model which will be more of a pull model instead of the current push model which is currently in Drupal <= 7. This took me back to Drupalcon SF at the Core Developers Summit and other breakout sessions where we started talking about this.
Basically ATM all the blocks are rendered (depending on restricts) in all pages, even on pages which do not have a region to display. So basically if you have a region 'X' which is only on the front page, and you put blocks into it they will be rendered on all pages even though they will not be displayed. The work around to fix this is to make sure that any block that is within region "X" are restricted to only display on <front>. In the new pull method that is being discussed for Drupal 8, the theme will have more control and regions will only get rendered if the region exists on the page. This will mean that when you doing configure a block correctly and have it being rendered for all pages, it will only be rendered on pages in which the region exists, and leaves your server to do other things instead of wasting time building up blocks they are not going to be using.
This will be a great thing for most sites. Badly configured sites will get the biggest boast where well turned sites will not get so much.
Part of this discussion was the ability to render blocks independently of the rest of the page which would give improvements in being able to running testing which will not be so much of a hack, or even being able to export a Drupal block as a widget which can be embedded into another site. Another thing that this will give is the ability to do Server Side Includes (ESI).
With my work I have a number of large customers which are doing between in excess of 1 million page impressions per month (with my biggest doing close to 20 million), so being able to use ESI really gets me excited.
Most people will be asking what ESI is and why it is so exciting. One of the major limitations of PHP is that it is single threaded. That is it can only do one thing at a time where you are building up a page. Unlike technologies like Java which can be multi-threaded. Being multi-threaded means that you can do multiple things at the same time. So when building up a page in Drupal each part of the page is built one after another, so first the content is rendered, then each of the blocks (your recent posts block, the login block, the who's online block), one after another. With a multi-threaded method before we would have the system render some of the blocks in there own thread. So that resent posts block would be built in the back ground where the other blocks will be created in the foreground which means the overall time to build the page will be less (in theory).
Since we can't use multi-threaded methods in PHP, what it means is that with using something like Varnish or in the higher end Akamai we can use ESI to build the blocks into the page. So when we are building the main page instead of rendering the resent posts block you would add something like this.
<esi:include src="http://example.com/block/1" />
No real work to add this to the page. Then what happens in Varnish is that it will see this and do a second request to the web server to get this block. And if there are a few of these in the page it will do these all at the same time, giving us parallel building of the page and hopefully make rendering time of the page much smaller.
But this also means that we can do more fun things. So the most recent posts block doesn't need to be built every time the page is rendered, and it doesn't matter which user is viewing the block as it will be the same for everyone (we are ignoring node access) so what we can do is have Drupal tell Varnish via the cache headers to cache this block for 1 hour, so for the next hour Varnish will not go back to the server to get the content of the recent post block but instead use what it had before which means there it will take even less time to build the page.
If the new block/page rendering system work as expected it will mean implementing ESI will be quite easy, and even the administration where I see only a single checkbox which will turn on ESI for a single block, which will mean building larger sites will become easier and even complex smaller sites will be able to cached more logically and speed up the rending of the site.
Drupal 7 is going to be amazing (I say from my Drupal 5.x website) but given the possibilities of what can be done in 8 to help make things faster still and even more flexible is just going to be amazing.
I am starting now to deploy Drupal 7 website so getting out a final release of Drupal 7 is now becoming more important and I will be doing what I can to help get it finished, and I know everyone else will as well.
Hey...this is a wonderful
Hey...this is a wonderful website buddy and an informative post!!! i am new here and i found this site very interesting and informative ,, you are a professional blogger i think i have a great interest in such things...thank youAllAboutDivorce.com
This is the perfect blog for
This is the perfect blog for anyone who wants to know about this topic. You know so much its almost hard to argue with you (not that I really would want…HaHa). You definitely put a new spin on a subject thats been written about for years. Great stuff, just great.. VPN service thanks
Nice posts...
Nicely presented information in this post, I prefer to read this kind of stuff.I found your website perfect for my needs. It contains wonderful and helpful posts. I have read most of them and got a lot from them very nice comments as well.I like to share this post with my friends and book mark this interesting page. Thanks for Sharing. Great Websites!
Agree
Probably one of the most popular forms of home gym equipment is the exercise bike, however buying one is not as easy as going to the mall and choosing one. There are plenty of things to take into account before you decide to do this. You will want to keep in mind not just the cost but the style of exercise bike, whether you favour an upright or recumbent stationary bike, and how comfortable and effortless it is to alter.
rickkonrad
Hey...this is a wonderful website buddy and an informative post!!! i am new here and i found this site very interesting and informative ,, you are a professional blogger i think i have a great interest in such things...thank you
rickkonrad
Drupal 7 rocks
Don't know about drupal 8, but ive been using drupal 7 for ages!
most expensive car
thanks
For what its worth, the layout is definitely amazing. You know how to balance writing and images/videos. However, I cant get over how little you actually bring to light here. I think that everyone's said the same thing that you've said over and over again. Internet Million
Drupal 7 is my favorite
Drupal 7 is my favorite version of the software.Software de facturacion
One of the major limitations
One of the major limitations of PHP is that it is single threaded. That is it can only do one thing at a time where you are building up a page. Unlike technologies like Java which can be multi-threaded. Being multi-threaded means that you can do multiple things at the same time. call of duty modern warfare 3
thanks
What you said made a lot of sense. But, think about this, what if you added a little content? I mean, I don't want to tell you how to run your blog, but what if you added something to maybe get peoples attention? Just like a video or a picture or two to get people excited about what you've got to say. roof coating
This is a great inspiring
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post.
emergency locksmith l cheáp rims
I really loved reading your
I really loved reading your blog. It was very well authored and easy to understand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting
cell phone spyware
I am happy to find your
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept.Bouncy castle hire surrey l hampshire bouncy castle hire
This is excellent post. Its
This is excellent post. Its having good description regarding this topic.It is informative and helpful.I have known many information from this. Thanks for shearing.
Aga cold l Aga cold
Nice information, many
Nice information, many thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck!
arredamenti lecce
Good post. interesting to
Good post. interesting to view about this!! This is definitely some good information!!
I am glad to visit your
I am glad to visit your blog.. I found this post is really useful one.
Finally all her claims were
Finally all her claims were proof to be untrue. I personally had several counseling sessions with her, the Union Representatives and Human Resources, with not results except to see her continued with her loose mouth. Pumpkin Kernels
football betting
ESI to build the blocks into the page. So when we are building the main page instead of rendering the resent posts block you would add something like this.
football betting
online world
I really like your website because you gave me about info and resource I've never seen that before. I' l stay tuned on your web site.
Sandler Jewels
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.
Hmm it appears like your
Hmm it appears like your site ate my first comment (it was extremely long) so I guess I'll just sum it up what I submitted and say, I'm thoroughly enjoying your blog. I as well am an aspiring blog blogger but I'm still new to everything. Do you have any recommendations for inexperienced blog writers? I'd really appreciate it. Click Tracking
hi
Thanks for your sharing .Your thoughts are creative and they actually do help to me. It provides me with a lot of information. It is a nice post!
massachusetts website design
I wonder you have been placed. This is really a lot of things I could get is a fascinating blog. One thing that I'm just trying to say that your blog is so perfect.
massachusetts website design
Really like your blog
Really like your blog content the way you put up the things…I’ve read the topic with great interest and definitely will stick your blog routinely for other great posts.
Instalment Loans
Thanks for sharing! I look
Thanks for sharing! I look forward to viewing additional tips you have :) These are some fantastic collections!
Taxi Chichester l Driving lessons Cheltenham
Thanks for sharing! I look
Thanks for sharing! I look forward to viewing additional tips you have :) These are some fantastic collections!
Testosteron
Interesting blog! Is your
Interesting blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog stand out. Please let me know where you got your design. Appreciate it.
Effektiver Muskelaufbau
Effektiver Muskelaufbau
Interesting blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog stand out. Please let me know where you got your design. Appreciate it.
Effektiver Muskelaufbau
that's true as you said
that's true as you said higher end Akamai we can use ESI to build the blocks into the page. So when we are building the web site main page instead of rendering the resent posts block you would add something like this.
HI
Your research for this post is appreciable. I am happy again to read your post . I hope you will write more again. Thanks.
Very informative and helpful
Very informative and helpful post. You have good command on the topic and have explained in a very nice way. Thanks for sharing.
VPS|virtual server|virtual server hosting | VPS
Lets say you used a template
Lets say you used a template, configured the modules, made a few banners and spent some time with the template HTML, CSS, made around 8 articles, thaught their content manager how to use Joomla/drupal
Ultrabook Notebook Tipis Harga Murah Terbaik | Sewa Ruang Kantor Jakarta Murah
File Backup
Your research for this post is appreciable. I am happy again to read your post . I hope you will write more again. Thanks.
http://www.filebackup.com
HI
I am hoping the same top-grade blogpost from you in the upcoming as well. In fact your creative writing skill has inspired me to start my own blog now. Truly the blogging is spreading its wings rapidly. Your write up is a fine example of it.
good article
I am glad to visit your blog.. I found this post is really useful one.
Graduate Jobs
Knowing about another new
Knowing about another new version of drupal site is very good news.Its nice idea to use server side includes so that it can handle millions of impression at a time which can enable free regulation of traffic to the site.
expunge criminal record
Knowing about another new
Knowing about another new version of drupal site is very good news.Its nice idea to use server side includes so that it can handle millions of impression at a time which can enable free regulation of traffic to the site.
clear your name fast
Ofis
No real work to add this to the page. prefabrik | ofis mobilyası | ofis koltukları | 2. el eşya | konteyner
I appreciate the information
I appreciate the information that pretext the author in his blog, is very important and useful.
clapham taxis
battersea taxis
practice permit test
Yes, i am totally agreed with your companion.
This is so cool. I am such a
This is so cool. I am such a huge fan of their work. I really am impressed with how much you have worked to make this website so enjoyable.
Click Tracking l RC Helicopters
Cloud Hosting
Thanks a lot for sharing us about this update. Hope you will not get tired on making posts as informative as this.
how to talk dirty
Could not thank you fully for the blogposts on your web page. I know you place a lot of time and energy into them and hope you know how deeply I appreciate it. I hope I am able to do precisely the same for someone else sooner or later
Awesome blog. I enjoyed
Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
laanutansaekerhet.com
You got a definitely helpful
You got a definitely helpful blog I’ve been right here reading for about an hour. I’m a new and your accomplishment is quite a lot an inspiration for me.
iPhone 4 case
Great info
I'm so excited with this post. I really appreciate sharing this great post. Keep up your excellent work.
gledanje u solju simboli
ulepsavanje
how to talk dirty
Thanks for your marvelous posting! I quite enjoyed reading it, you are a great author.I will be sure to bookmark your blog and definitely will come back from now on. I want to encourage that you continue your great job, have a nice day.
how to talk dirty
Thanks for sharing. i really
Thanks for sharing. i really appreciate it that you shared with us such a informative post.Aaron Belfour
Drupal 8 is the next big
Drupal 8 is the next big thing cant wair
como superar la depresion