The commonly used oxygen delivery systems available for use in children/adults are described with pictures. Indications and side effects of oxygen therapy are also outlined.
Running Flink in Production: The good, The bad and The in Between - Lakshmi ...Flink Forward
The streaming platform team at Lyft has been running Flink jobs in production for more than a year now, powering critical use cases like improving pickup ETA accuracy, dynamic pricing, generating machine learning features for fraud detection, real-time analytics among many others. Broadly, the jobs fall into two abstraction layers: applications (Flink jobs that run on the native platform) and analytics (that leverage Dryft, Lyft’s fully managed data processing engine). This talk will give an overview of the platform architecture, deployment model and user experience. The talk will also dive deeper into some of the challenges and the lessons that were learnt, running Flink jobs at scale, specifically around scaling Flink connectors, dealing with event time skew (source synchronization) and highlight common patterns of problems observed across several Flink jobs. Finally, the talk will give insights into how we are re-architecting the streaming platform @ Lyft using a Kubernetes based deployment.
It is a guide for Dissertation/Thesis writing in medical field.
Post graduate students can get the necessary guidelines for writing a dissertation which should be submitted for getting a Masters degree from any reputed university.
Recent Heart Bleed gives us a sign that how much Security was important. Security is not only dependent on your Scripting Language, Application code and Database. There are lots of Backdoor Vulnerability which may comes from Web Server and will be unknown to you.This presentation will focus on learning how we can protect our ColdFusion Applications from such Vulnerability.
The commonly used oxygen delivery systems available for use in children/adults are described with pictures. Indications and side effects of oxygen therapy are also outlined.
Running Flink in Production: The good, The bad and The in Between - Lakshmi ...Flink Forward
The streaming platform team at Lyft has been running Flink jobs in production for more than a year now, powering critical use cases like improving pickup ETA accuracy, dynamic pricing, generating machine learning features for fraud detection, real-time analytics among many others. Broadly, the jobs fall into two abstraction layers: applications (Flink jobs that run on the native platform) and analytics (that leverage Dryft, Lyft’s fully managed data processing engine). This talk will give an overview of the platform architecture, deployment model and user experience. The talk will also dive deeper into some of the challenges and the lessons that were learnt, running Flink jobs at scale, specifically around scaling Flink connectors, dealing with event time skew (source synchronization) and highlight common patterns of problems observed across several Flink jobs. Finally, the talk will give insights into how we are re-architecting the streaming platform @ Lyft using a Kubernetes based deployment.
It is a guide for Dissertation/Thesis writing in medical field.
Post graduate students can get the necessary guidelines for writing a dissertation which should be submitted for getting a Masters degree from any reputed university.
Recent Heart Bleed gives us a sign that how much Security was important. Security is not only dependent on your Scripting Language, Application code and Database. There are lots of Backdoor Vulnerability which may comes from Web Server and will be unknown to you.This presentation will focus on learning how we can protect our ColdFusion Applications from such Vulnerability.
A common request sent from your web browser to a web server goes quite a long way and it can take a great deal of time until the data your browser can display are fetched back. I will talk about making this great deal of time significantly less great by caching things on different levels, starting with client-side caching for faster display and minimizing transferred data, storing results of already performed operations and computations and finishing with lowering the load of database servers by caching result sets. Cache expiration and invalidation is the hardest part so I will cover that too. Presentation will be focused mainly on PHP, but most of the principles are quite general work elsewhere too.
How Terracotta enables scaled Spring/Hibernate applications. Presented at Chicago JUG in March 2009 by Alex Miller (http://tech.puredanger.com / @puredanger)
Use of No-SQL databases in web applications is becoming increasingly common. In part this is because they work well with rapid application development due to their schema-less nature. And partly because they scale well in a cloud-based environment without too much effort.
MongoDB is one of the many No-SQL database technologies available today. It's schema-less nature works very well with rapid application development nature of ColdFusion. Unlike other No-SQL databases, it offers the ability run arbitrary queries against databases without having to first write map-reduce functions. It also has some other interesting features like capped collections with asynchronous write ability.
In this session, Indy takes you through some common use-cases for considering MongoDB with ColdFusion applications, contrasting it with other No-SQL databases like CouchDB. And he shares his experiences of using it with cloud-based ColdFusion applications. The aim of the session is to provide an overview of using MongoDB with ColdFusion so that you have another tool to consider when working on your next web application.
This was presented at CFObjective, Melbourne, November 17-18, 2011.
We all love Ehcache. But the rise of real-time Big Data means you want to keep larger amounts of data in memory with low, predictable latency. In this webinar,
we explain how BigMemory Go can turbocharge your Ehcache deployment.
Building High Scalability Apps With TerracottaDavid Reines
Senior Architect David Reines will present the simple yet powerful clustering capabilities of Terracotta. David will include a brief overview of the product, an in-depth discussion of Terracotta Distributed Shared Objects, and a live load test demonstrating the importance of a well designed clustered application.
David Reines is a Senior Consultant at Object Partners Inc. He has lead the development efforts of several mission-critical enterprise applications in the Twin Cities area. During this time, he has worked very closely with numerous commercial and open source JEE technologies. David has always favored a pragmatic approach to selecting enterprise application technologies and is currently focusing on building highly-concurrent distributed applications using Terracotta.
Hadoop is sparking a Big Data analytics revolution. But all the Hadoop insights in the world are worth nothing unless they lead to new, profitable action. To translate Hadoop insights into action in real time, more and more enterprises are combining Hadoop with the power of in-memory computing.
Join us as we outline the tremendous benefits of merging Hadoop with in-memory data management, the challenges of doing so, and tips for getting started.
Scaling Your Cache And Caching At ScaleAlex Miller
Caching has been an essential strategy for greater performance in computing since the beginning of the field. Nearly all applications have data access patterns that make caching an attractive technique, but caching also has hidden trade-offs related to concurrency, memory usage, and latency.
As we build larger distributed systems, caching continues to be a critical technique for building scalable, high-throughput, low-latency applications. Large systems tend to magnify the caching trade-offs and have created new approaches to distributed caching. There are unique challenges in testing systems like these as well.
Ehcache and Terracotta provide a unique way to start with simple caching for a small system and grow that system over time with a consistent API while maintaining low-latency, high-throughput caching.
Developing High Performance and Scalable ColdFusion Applications Using Terrac...Shailendra Prasad
1. How to scale – options (pros and cons)
2. Caching basics (various options available)
3. Recent updates of Open source Ehcache project.
4. Scaling your existing application with Ehcache, Terracotta OSS
5. Advance caching techniques for scaling using Terracotta BigMemory
6. Customer use cases where caching was mission critical
In today’s systems , the time it takes to bring data to the end-user can be very long, especially under heavy load. An application can often increase performance by using an appropriate caching system. There are many caching level that you can use in our application today : CDN, In-Memory/Local Cache, Distributed Cache, Outut Cache, Browser Cache, Html Cache
VMworld 2013: Extreme Performance Series: Storage in a Flash VMworld
VMworld 2013
Sankaran Sivathanu, VMware
Mark Achtemichuk, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
Introduction to memcached, a caching service designed for optimizing performance and scaling in the web stack, seen from perspective of MySQL/PHP users. Given for 2nd year students of professional bachelor in ICT at Kaho St. Lieven, Gent.
Magento Imagine eCommerce Conference February 2011: Optimizing Magento For Pe...varien
This presentation was the basis for a panel discussion about how to optimize Magento for maximum performance. The panel was part of the Day 1 technical breakout sessions during Magento's Imagine eCommerce Conference, held February 7-9, 2011 in Los Angeles.
Today's high-traffic web sites must implement performance-boosting measures that reduce data processing and reduce load on the database, while increasing the speed of content delivery. One such method is the use of a cache to temporarily store whole pages, database recordsets, large objects, and sessions. While many caching mechanisms exist, memcached provides one of the fastest and easiest-to-use caching servers. Coupling memcached with the alternative PHP cache (APC) can greatly improve performance by reducing data processing time. In this talk, Ben Ramsey covers memcached and the pecl/memcached and pecl/apc extensions for PHP, exploring caching strategies, a variety of configuration options to fine-tune your caching solution, and discusses when it may be appropriate to use memcached vs. APC to cache objects or data.
Scaling Magento - Reaching Peak Performance
Building a cluster to support Magento is easy and makes a good example for scalable web application platforms.
I will walk through a typical Magento Cluster setup and provide Vagrant/Puppet configurations for the basic setup. Then I will cover some of the hardware and cloud resources that are required as the platform grows. We will move onto application choices, and some of the development, testing and deployment strategies that are required to have a successful clustered platform.
* Hardware vs Cloud: Exploring hardware and software options available for scaling
* Cluster Architecture
* Web server: How to cluster your application
* Varnish: How to speed up response time using reverse proxy caching
* Database: How to cluster Magento Database using Percona
* Redis: How to set up a Redis Cluster using Sentinel and Keepalived
* Filesystem: NFS, NAS or other clustered file systems
* Application Architecture: How to avoid angering your systems administrators
* Testing: Exploring load testing with tools like Gatling and BlazeMeter
* Development and Deployment Process
https://joind.in/talk/view/13541
This tutorial will guide you how to experiment with XAP 10 MemoryXtend
We will use EC2 to start a VM with a Flash Drive.
You may use any other machine running Linux 6.x with SSD Flash Drive with this tutorial.
Caching and tuning fun for high scalabilityWim Godden
Caching has been a 'hot' topic for a few years. But caching takes more than merely taking data and putting it in a cache : the right caching techniques can improve performance and reduce load significantly. But we'll also look at some major pitfalls, showing that caching the wrong way can bring down your site. If you're looking for a clear explanation about various caching techniques and tools like Memcached, Nginx and Varnish, as well as ways to deploy them in an efficient way, this talk is for you.
Emmanuel Katto Uganda - A PhilanthropistMarina Costa
Emmanuel Katto is a well-known businessman from Uganda who is improving his town via his charitable work and commercial endeavors. The Emka Foundation is a non-profit organization that focuses on empowering adolescents through education, business, and skill development. He is the founder and CEO of this organization. His philanthropic journey is deeply personal, driven by a calling to make a positive difference in his home country. Check out the slides to more about his social work.
Gujar Industries India Pvt. Ltd is a leading manufacturer of X-ray baggage scanners in India. With a strong focus on innovation and quality, the company has established itself as a trusted provider of security solutions for various industries. Their X-ray baggage scanners are designed to meet the highest standards of safety and efficiency, making them ideal for use in airports, government buildings, and other high-security environments. Gujar Industries India Pvt. Ltd is committed to providing cutting-edge technology and reliable products to ensure the safety and security of their customers.
Top Best Astrologer +91-9463629203 LoVe Problem SolUtion specialist In InDia ...gitapress3
Top Best Astrologer +91-9463629203 LoVe Problem SolUtion specialist In InDia Love ProBlem asTroloGer +91-9463629203 love problem solution astrologer
best love problem solution astrologer
online love problem solution astrologer
love problem solution astrologer in india
love problem solution astrologer in kolkata
love problem solution astrologer near me
love problem solution astrologer in ludhiana
love problem solution astrologer acharya ji
love problem solution astrologer in delhi
love problem solution astrologer amritsar
astrologer love problem solution
astrologer for love problem
astrology love problem solution
love solution astrologer
love problem solution specialist astrologer
love problem solution by astrologer
astrology love problem solution baba ji
love problem solve astrologer
love problem solution usa
love problem solution expert astrologer
astrologer for love marriage problem solution
love problem solution astrologer in mumbai
love problem solution muslim astrologer
love marriage specialist astrologer problem solution
famous love astrologer
love problem solution astrologer specialist
love problem solution astrologer baba ji
Earth moving equipment refers to heavy-duty machines used in construction, mining, agriculture, and other industries to move large amounts of earth, soil, and other materials. These machines include excavators, bulldozers, loaders, and backhoes, which are essential for tasks such as digging, grading, and leveling land.
Earthmovers is a leading brand in the industry, known for providing reliable and high-performance earth moving equipment. Their machines are designed to handle the toughest jobs with efficiency and precision, ensuring optimal productivity on any project.
DOJO Training Center - Empowering Workforce ExcellenceHimanshu
The document delves into DOJO training, an immersive offline training concept designed to educate both new hires and existing staff. This method follows an organized eight-step process within a simulated work setting. The steps encompass safety protocols, behavioral coaching, product familiarity, production guidelines, and procedural understanding. Trainees acquire skills through hands-on simulations and rehearsal prior to transitioning to actual shop floor duties under supervision. The primary aim is to minimize accidents and defects by ensuring employees undergo comprehensive training, preparing them effectively for their job roles.
Get your dream bridal look with top North Indian makeup artist - Pallavi KadalePallavi Makeup Artist
Achieve your dream wedding day look with renowned North Indian bridal makeup artist, Pallavi Kadale. With years of experience, her expert techniques and skills will leave you looking flawless and radiant. Book today for your perfect bridal makeover.
The Jamstack Revolution: Building Dynamic Websites with Static Site Generator...Softradix Technologies
In this infographic, the Jamstack architecture emphasizes pre-rendered content and decoupling the frontend from the backend. It leverages static site generators (SSGs) to create fast-loading HTML files and APIs for dynamic functionality. Benefits include improved performance, enhanced security, scalability, and ease of deployment. Real-world examples include Netlify, Gatsby, and Contentful. https://softradix.com/web-development/
Bridging the Language Gap The Power of Simultaneous Interpretation in RwandaKasuku Translation Ltd
Rwanda is a nation on the rise, fostering international partnerships and economic growth. With this progress comes a growing need for seamless communication across languages. Simultaneous interpretation emerges as a vital tool in this ever-evolving landscape. When seeking the best simultaneous interpretation in Rwanda, Kasuku Translation stands out as a premier choice.
Comprehensive Water Damage Restoration Serviceskleenupdisaster
Find out how Disaster Kleenup's professional water damage restoration services can quickly and efficiently restore your property. Find more about our advanced techniques and quick action plans. Visit here: https://iddk.com/disaster-cleanup-services/flood-damage/
Unlocking Insights: AI-powered Enhanced Due Diligence Strategies for Increase...RNayak3
Explore how a risk-based approach to Enhanced Due Diligence can deliver effective Anti-Money Laundering (AML) compliance and monitoring in banking and financial services.
Looking for the Reliable Logistics Solutions in India? Discover unparalleled efficiency and reliability with our top-rated logistics services. We specialize in streamlining supply chains, ensuring timely deliveries, and providing cutting-edge tracking solutions. Our platform caters to businesses of all sizes, offering customizable logistics solutions to meet your unique needs. With a focus on innovation and customer satisfaction, we are your trusted partner in navigating the complexities of logistics in India. Choose us for seamless, cost-effective, and scalable logistics solutions. Experience the best in Indian logistics with our expert team by your side.
Nature’s Paradise Glamorous And Sustainable Designs For Your Outdoor Living S...Landscape Express
Create a harmonious blend of luxury and sustainability in your outdoor living space with eco-friendly kitchens, enchanting water features, and lush plant landscaping. Embrace energy-efficient appliances, solar lighting, rainwater harvesting, and native plants to enhance beauty while reducing environmental impact. Transform your space into a glamorous, eco-conscious retreat for relaxation and social gatherings.
Solar power panels, also known as photovoltaic (PV) panels, convert sunlight into electricity, offering a renewable and sustainable energy solution. Composed of semiconductor materials, typically silicon, these panels absorb photons from sunlight, generating an electric current through the photovoltaic effect. This clean energy source reduces dependence on fossil fuels, mitigates greenhouse gas emissions, and contributes to environmental sustainability.
Best steel industrial company LLC in UAEalafnanmetals
AL Afnan Steel Industrial Company LLC is a distinguished steel manufacturer and supplier, celebrated for its high-quality products and outstanding customer service. With a diverse portfolio that includes structural steel, and custom fabrications, AL Afnan meets a wide array of industrial demands. We are dedicated to using advanced technologies and sustainable methods to ensure excellence and reliability in every product, serving both local and international markets with efficiency.
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier. Come to our Trophy Shop today and check out all our variety of Trophies available. We have the widest range of Trophies in Malaysia. Our team is always ready to greet your needs and discuss with you on your custom Trophy for your event. Rest assured, you will be with the best Trophy Supplier in Malaysia. The official Trophy Malaysia. Thank you for your support.
Maximizing Efficiency with Integrated Water Management SystemsIrri Design Studio
Integrated water management systems are essential for improving irrigation design sustainability and efficiency. Irri Design Studio helps customers maximize water consumption, reduce waste, and encourage responsible stewardship of water resources by utilizing cutting-edge technology like drone-based construction updates and BIM modeling. The increasing issues of water shortage and environmental protection require an all-encompassing strategy to water management. Irrigation systems may be planned to optimize water consumption efficiency while guaranteeing the safety of people and the environment by putting new ideas and concepts into practice. Visit our website https://www.irridesignstudio.com/ for more information.
Colors of Wall Paint and Their Mentally Properties.pptxBrendon Jonathan
Discover how different wall paint colors can influence your mood and mental well-being. Learn the psychological effects of colors and find the perfect hue for every room in your home.
SMS2ORBIT | launched in 2022 in Mumbai's Andheri area, aims to be the most reliable Bulk SMS Service Provider in Mumbai.
If More Information About The SMS Service Provided By SMS2ORBIT Is Desired, Please Don’t Hesitate To Contact The Business Team. They Can Be Reached At
business@sms2orbit.com Or By Calling 97248 55877.
BesT panDit Ji LoVe problem solution 9463629203 UK uSA California New Zealand...gitapress3
love problem solution astrologer
best love problem solution astrologer
online love problem solution astrologer
love problem solution astrologer in india
love problem solution astrologer in kolkata
love problem solution astrologer near me
love problem solution astrologer in ludhiana
love problem solution astrologer acharya ji
love problem solution astrologer in delhi
love problem solution astrologer amritsar
astrologer love problem solution
astrologer for love problem
astrology love problem solution
love solution astrologer
love problem solution specialist astrologer
love problem solution by astrologer
astrology love problem solution baba ji
love problem solve astrologer
love problem solution usa
love problem solution expert astrologer
astrologer for love marriage problem solution
love problem solution astrologer in mumbai
love problem solution muslim astrologer
love marriage specialist astrologer problem solution
famous love astrologer
love problem solution astrologer specialist
love problem solution astrologer tantrikBesT panDit Ji LoVe problem solution 9463629203 UK uSA California New Zealand baba ji LoVe marriage specialist Uk USA LonDOn panDit ji
2. About Me
Sr. Director at Amkor Technology
Involved with ColdFusion for 18
years
Author of the O’Reilly’s books:
Programming ColdFusion
Programming ColdFusion MX
Adobe Community Professional
for ColdFusion
Food Geek
Bed Jumper
Photographer
4. Agenda
What We’ll Cover And What We Wont…
What is caching?
What’s Ehcache?
Caching tags and functions
Any questions from Dan Wilson
Disclaimer
Caching Evolution in ColdFusion
Scale Up vs. Scale Out
Caching Architecture Review
Replicated Cache
BigMemory Go
Distributed Cache
Terracotta Management Console
5. Legal Mumbo Jumbo: The Disclaimer
Much of what you’re about to see makes use of third-party libraries and
applications
Some of it requires you to upgrade versions of libraries that ship with
ColdFusion
There are bugs
There are workarounds
There is no official support from Adobe for much of what you’re about to
see
7. Ehcache Implementation : Caching Evolution
Fast restartability
Terracotta Management
Console
Ehcache 2.6.6
11.0
Bug fixes
cacheRemove now takes an
array for ID
Ehcache 2.8.2
Current Version
8. Scale Up vs. Scale Out
ScaleUp
Scale Out
What about cost?
• Hardware
• Data center space
• Power
• Redundancy
• Software Licensing*
• Operations & Sysadmin
How does this change in the cloud?
More CPU
More RAM
More Machines
9. Caching Architectures
In-Process (L1 Cache)
Operates in the same process
(JVM) as the application server
Limited scalability for 32-bit
systems
Must consider possible number of
cache variants
Max JVM heap size
Can fail-over to disk storage
Fast
Data/object serialization is not
required for memory based in-process
cache
JVM
ColdFusion
Cache
In-Process Cache
10. Caching Architectures
Out-of-Process (L2 Cache)
Operates in its own process,
outside of the application
server’s JVM
Highly scalable on both 32-bit
and 64-bit platforms
Scale out
Utilize spare memory throughout
the network
Slower than in-process caching
Data/objects must be
serialized/deserialized
JVM
ColdFusion
Cache
JVM
Cache
Out-of-Process Cache
10
11. Technology
Ehcache
Java caching API
In-process
Open Source /
Commercial
Built-in to
ColdFusion
BigMemory Go
Off-heap memory
storage for the JVM
Stand Alone
Terracotta
Management
Console
Commercial
Terracotta
Distributed in-
memory caching
array
Out-of-process
Open Source no
longer supported
as of version 3.7.7
(Pairs with
Ehcache 2.6.8)
Commercial: Part
of BigMemory
Max
BigMemory Max
Off-heap memory
storage for the JVM
Distributed
Terracotta
Management
Console
Commercial
12. Caching Architecture
Ehcache can be configured to run:
Local: In-process (Ehcache [+
BigMemory Go])
Replicated: In-process (Ehcache [+
BigMemory Go])
Distributed: In-process and Out-of-
process (Ehcache + BigMemory Max)
ColdFusion
Server
Ehcache
ColdFusion
Server
Ehcache
JVM
JVM
ColdFusion
Server
Ehcache
ColdFusion
Server
Ehcache
JVM
JVM
RMI, JMS,
JGroups,
Terracotta
In-Process Cache
Replication
JVM
ColdFusion
Cache
In-Process Cache
JVM
ColdFusion
Cache
JVM
Cache
Out-of-Process Cache
13. To Help Avoid Confusion…
Terracotta recently retired the Terracotta
Server and discontinued the free versions of
BigMemory Go and BigMemory Max
To avoid confusion, keep this in mind:
Ehcache = In-Process Java Caching API – Comes
built-in with ColdFusion
BigMemory Go = Enterprise Ehcache + Off-Heap
Memory Storage for the JVM on a single server -
Commercial (90 day trial)
BigMemory Max = Enterprise Ehcache + Off-Heap
Memory Storage for the JVM + Distributed In-
Memory Caching via the Terracotta Server Array –
Commercial (90 day trial)
14. Still Confused?
BigMemory Go BigMemory Max
Distributed in-memory data store No (standalone JVM) Yes
In-memory capacity Unlimited (limit based on license) Unlimited (limit based on license)
Number of BigMemory mirrored stripes supported N/A Unlimited (limit based on license)
Number of application clients supported N/A Unlimited (limit based on license)
Fast search Yes Yes
Configurable data consistency guarantees N/A Yes
Terracotta Management Console™ Yes Yes
Fast Restartable Store™ Yes Yes
BigMemory-Hadoop Connector support Yes
In-process off-heap storage Yes Yes
Advanced security (authentication/authorization) N/A Yes
Enterprise support Yes Yes
16. Scalability: Cache Replication (Clustering)
All supported cache types can be
replicated
Each CF server in the cluster
maintains its own in-process cache
Data is replicated among L1 caches
Replication via RMI, JMS, JGroups
or Terracotta
Synchronous or asynchronous
Still hit JVM GC issues/limits
Simple configuration via
ehcache.xml file
ColdFusion
Server
Ehcache
ColdFusion
Server
Ehcache
JVM
JVM
ColdFusion
Server
Ehcache
ColdFusion
Server
Ehcache
JVM
JVM
RMI, JMS,
JGroups,
Terracotta
In-Process Cache
Replication
20
17. Potential Replication Gotchas
Synchronous vs. Asynchronous delivery
Asynchronous replication is the fastest method
Because it’s asynchronous the caller returns immediately
Messages are placed in a queue and batched via RMI as they are processed
Potential for data inconsistency exists
Synchronous
Removes potential for data inconsistency
Slower operation as caller waits for replication to complete before returning
Time To Idle
Inconsistent with replicated caching
Data on some nodes will live longer than on others due to cache usage patterns
Do not use unless you don’t care about inconsistent data across cache nodes
18. Replicated Cache Config Per Node – Step 1
Stop your ColdFusion Server
/lib/{servername}/ehcache.xml
Uncomment:
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=automatic,
multicastGroupAddress=230.0.0.1,
multicastGroupPort=4446, timeToLive=1"
propertySeparator=","
/>
22. Problems with Application Scalability on the JVM
Slow Applications lead to caching
Large caches lead to latency from Garbage
Collection pauses
GC pauses necessitate JVM tuning
Application usage and data grows
More caching is needed
More JVM tuning is needed
As cache size increases, more heap memory is used
More heap memory usage results in unpredictable
and longer GC pauses
Eventually you hit a wall
Add more JVMs
Increased deployment and management
complexity
Tune! Tune! Tune!
23. The Problem with Memory and the JVM
RAM is outpacing the JVM
32GB is now fairly standard on most servers
Amazon EC2 allows for up to 68.4GB
Most of that memory is used inefficiently if it’s used at all
Cached data ages differently than standard business objects
which can confuse the Java garbage collector
The cache expiration determines when the data becomes garbage
And then there's tuning…
25. BigMemory to the Rescue
Cache huge amounts of data with no GC pauses
Easy to implement
Pure Java implementation
Works with all JVMs
Works with both standalone and distributed caches
No application code changes necessary to implement
Avoid GC because of pauses
Off heap store on direct memory buffers
Use all available memory on your server (if you want to)
1 million puts per second
1 line of config to use it
JVM doesn’t have to search for garbage because we already know when a cache item
needs to be thrown out (cache expiry)
27. Upgrade Ehcache and Install BigMemory Go
BigMemory Go requires a newer
version of Ehcache
Adobe doesn’t officially support
upgrading. Do so at your own risk!
There’s currently a bug you need to
be aware of in CF 10 (as of updater
11):
3339491: After upgrading Ehcache,
ehcache.xml is ignored. You’ll need to use
auth-ehcache.xml for now. (Marked as Fixed,
but not yet deployed in a hotfix)
60
28. Upgrade Ehcache and Install Big Memory: Step 1
Stop your ColdFusion server
Rename the following files in your servername/lib directory:
ehcache-core-2.5.1.jar ehcache-core-2.5.1.jar.original
slf4j-api-1.5.6.jar slf4j-api-1.5.6.jar.original
slf4j-log4j12-1.5.6.jar slf4j-log4j12-1.5.6.jar.old
29. Upgrade Ehcache and Install Big Memory: Step 2
Download BigMemory Trial (It will give you Max even if you select Go):
http://terracotta.org/products/bigmemorygo
Extract the following files into your servername/lib directory:
From /apis/ehcache/lib
ehcache-ee-<version>.jar
slf4j-api-<version>.jar
From /common/lib
bigmemory-<version>.jar
Copy the terracotta-license.key file you received by email after downloading
BigMemory into your servername/lib directory
30. Upgrade Ehcache and Install Big Memory: Step 3
Download the Slf4j version bundle that matches the version in your
BigMemory download from http://www.slf4j.org/dist/
Extract the slf4j-log4j12-<version>.jar into your servername/lib directory
31. Upgrade Ehcache and Install Big Memory: Step 4
ehcache.xml (auth-cache.xml):
<cache name="sample-offheap-cache"
maxElementsInMemory="100000"
eternal="true"
memoryStoreEvictionPolicy="LRU"
overflowToOffHeap="true"
maxMemoryOffHeap="2G"/>
Start your ColdFusion server
JVM Config in ColdFusion Admin:
-XX:MaxDirectMemorySize=3G
Restart your ColdFusion server
36. Scalability: Distributed Caching (Commercial)
Commercial license
Runs out-of-process
Tiered caching
Hottest data in L1 (< 1 μs access)
Everything in L2 (< 2 ms access)
"Snap-in scale"
Works with single node Ehcache or
replicated Ehcache
Simple config via ehcache.xml
High data capacity: 2TB+
Highly available
Enterprise
Ehcache
Terracotta
Server
Array
Terracotta
Server Array
ColdFusion
Enterprise
Ehcache
ColdFusion
…
Terracotta
Server
Array
Terracotta
Server Array
37. • Stop your ColdFusion server
• Rename the following files in your
servername/lib directory:
ehcache-core-2.5.1.jar ehcache-core-
2.5.1.jar.original
slf4j-api-1.5.6.jar slf4j-api-1.5.6.jar.old
slf4j-log4j12-1.5.6.jar slf4j-log4j12-1.5.6.jar.old
• Add the following jar files:
From apis/ehcache/lib
ehcache-ee-<version>.jar
slf4j-api-<version>.jar
From apis/toolkit/lib
terracotta-toolkit-runtime-ee-<version>.jar
Ehcache
Terracotta
Server
ColdFusion
Ehcache
ColdFusion
…
Distributed Cache Configuration: Step 1/3
39. Start ColdFusion
JVM Config in ColdFusion Admin:
-X:MaxDirectMemorySize=3G
Stop ColdFusion
Start the Terracotta server, then restart
ColdFusion
bin/start-tc-server.sh
bin/start-tc-server.bat
Ehcache
Terracotta
Server
ColdFusion
Ehcache
ColdFusion
…
Distributed Cache Configuration: Step 3/3
40. Terracotta Gotchas
The Terracotta server must be running before you bring up your ColdFusion
server, otherwise your page request (that tries to do a cache operation) will
spin until the connection times out and an error is returned
Terracotta can only be used with ColdFusion Enterprise. There’s a bug if you
try to use it with the Developer Edition where ColdFusion will return an error
telling you it’s an Enterprise Only feature.
42. Installing the Terracotta Management Console
1. Ensure JAVA_HOME is set
2. Extract the BigMemory go files
3. Start the monitor server: /management-console/lib/start-tmc.bat
4. Configure ehcache (auth_cache.xml) and add monitoring line:
<managementRESTService enabled="true" bind="0.0.0.0:9888" />
5. Open the web browser to http://localhost:9889/tmc