Hi
user
Admin Login:
Username:
Password:
Name:
Optimizing Web Performance with TBB
--client
la
--show
lca_2012
--room T101 44 --force
Next: 1 scaling web applications with message queues
show more...
Marks
Author(s):
Nicolas Erdody,Lenz Gschwendtner
Location
T101
Date
jan Tue 17
Days Raw Files
Start
10:30
First Raw Start
error-in-template
Duration
0:50:00
Offset
None
End
11:20
Last Raw End
Chapters
Total cuts_time
None min.
http://lca2012.linux.org.au/schedule/196/view_talk
raw-playlist
raw-mp4-playlist
encoded-files-playlist
mp4
svg
png
assets
release.pdf
Optimizing_Web_Performance_with_TBB.json
logs
Admin:
episode
episode list
cut list
raw files day
marks day
marks day
image_files
State:
---------
borked
edit
encode
push to queue
post
richard
review 1
email
review 2
make public
tweet
to-miror
conf
done
Locked:
clear this to unlock
Locked by:
user/process that locked.
Start:
initially scheduled time from master, adjusted to match reality
Duration:
length in hh:mm:ss
Name:
Video Title (shows in video search results)
Emails:
email(s) of the presenter(s)
Released:
has someone authorised pubication
Unknown
Yes
No
Normalise:
Channelcopy:
m=mono, 01=copy left to right, 10=right to left, 00=ignore.
Thumbnail:
filename.png
Description:
markdown
Threading Building Blocks (TBB) is a C++ threading library that makes multicore programming more accessible. We considered TBB for web application developers working in script languages. Many websites require a non-trivial amount of per-request processing in the application layer, to retrieve, consolidate or manipulate data. Achieving better performance at this level improves response times and the overall user experience. Parallelising access to database and web service back-end layers can yield substantial improvements in perceived performance. We added TBB support into PHP and Perl, starting with HipHop as the PHP implementation of choice and later adding Perl support. HipHop is a PHP to C++ cross compiler that was developed by Facebook to cut down on resource needs and speed up the execution times of their gigantic web infrastructure. HipHop project is a PHP implementation thread safe and already uses TBB for memory management. We started by extending the existing support and added first only the new *parallel_for* function. Later, we added concurrent data structures and re-implemented our first approach. We have now a robust implementation of *parallel_for* and *parallel_reduce* with the data structures needed to support them. In our work with the PHP HipHop compiler we also wrote a patch set for WordPress and enhanced WordPress with our new *parallel_for* language extension. This trial brought us instant success in reduced page load times. The patch set for WordPress only replaced some key *foreach* loops with *parallel_for* and was our first real success with the TBB library in PHP. The Perl project worked towards a Perl module that can be used to get access to TBB functions directly. The module is now stable enough to demonstrate the gain by using TBB in Perl. Demos of our work are running on geopic.me Threading interpreters bury they own set of challenges but we can get further by using TBB. The libraries we produced so far will be further developed and maintained. We will continue working on both platforms to expose the power of multicore CPUs to developers in an approachable way.
Comment:
production notes
Rf filename:
root is .../show/dv/location/, example: 2013-03-13/13:13:30.dv
Sequence:
get this:
check and save to add this
Veyepar
Video Eyeball Processor and Review