This document discusses setting up and using Apache jclouds, an open source multi-cloud library, to create and manage cloud databases. It provides code snippets for initializing the jclouds API, creating a database instance on a cloud provider like Rackspace, and polling the instance status until it is ready. The document also outlines the jclouds architecture and abstractions for cloud database services like Trove, and explains how to add support for new providers.
Hazelcast provides scale-out computing capabilities that allow cluster capacity to be increased or decreased on demand. It enables resilience through automatic recovery from member failures without data loss. Hazelcast's programming model allows developers to easily program cluster applications as if they are a single process. It also provides fast application performance by holding large data sets in main memory.
Introduction to Stacki at Atlanta Meetup February 2016
An introduction to Stacki-the fastest bare metal Linux server provisioning tool from the Stacki Atlanta kickoff meetup on 2/23/16 at the Microsoft Innovation Center. Greg Bruno is the VP Engineering at StackIQ.
This document describes Matteo Moretti's company Madisoft's migration of their Nuvola application from on-premise servers to AWS. It involved moving over 60 servers, 1000 databases totaling 4.5TB of data, and 25M media files to AWS using Ansible automation. The migration provided benefits like increased flexibility, horizontal scaling, infrastructure as code, and cost optimization. It took place over multiple environments using tools like Ansible, AWS EC2, RDS, S3, Route53, and was completed in around 50 minutes with no issues for users.
Configuration management and deployment with ansible
This document discusses configuration management and deployment using Ansible. It provides an overview of Ansible's key capabilities including configuration management, ad-hoc execution, rolling updates, multi-tier deployment and cloud provisioning. It also discusses Ansible's architecture including being SSH-based and agentless, its use of inventory files, playbooks and roles to define configurations. Finally it demonstrates examples of using Ansible modules, tasks, and playbooks to manage and deploy applications.
Australian OpenStack User Group August 2012: Chef for OpenStack
This document discusses how Chef can be used to deploy and manage OpenStack infrastructure. It provides an overview of Chef's capabilities for infrastructure automation including defining servers, applications, and databases through code and templates. The document also describes the Chef for OpenStack project which provides cookbooks for deploying OpenStack components like Keystone, Glance, Nova, etc. It promotes the community around automating OpenStack deployment and management with Chef.
Dave Peterson's presentation on how Salesforce uses Stacki and Chef to provision and manage thousands of servers. Stacki Atlanta kickoff Meetup on 2/23/16 at the Microsoft Innovation Center. Dave is a Lead Systems Engineer at Salesforce.
Tips for going fast in a slow world: Michael May at OSCON 2015
Fastly engineer Michael May at OSCON 2015: When it comes to caching, we fall into two categories – those who make phat stacks of cache money and those who suffer from cache anxiety. We know caching aggressively improves performance; however, advanced caching strategies for event-driven content or user-specific content are often neglected for fear of complexity or lack of understanding. In this talk, we’ll cover HTTP caching, old and new strategies for caching historically ‘uncacheable’ content, and secret features of HTTP accelerators like Varnish. Whether you’re already stacking cache or just seeking a prescription for one, you’ll leave with a deeper understanding of caching and accelerating applications that you can take and apply to your Rails, Django, etc. apps.
Apache Traffic Server (ATS) is a fast, scalable HTTP caching proxy server. It allows plugins to be written using Lua, a lightweight scripting language. This provides advantages over writing plugins in C/C++, including easier development, testing, and ability to leverage Lua features. The presentation discusses using Lua with ATS, including exposing ATS APIs as Lua functions, implementing plugins, testing plugins, and security considerations like input validation and sandboxing. Future work may include exposing more ATS APIs and providing input validation libraries.
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014
Peek behind the scenes to learn about Amazon ElastiCache's design and architecture. See common design patterns of our Memcached and Redis offerings and how customers have used them for in-memory operations and achieved improved latency and throughput for applications. During this session, we review best practices, design patterns, and anti-patterns related to Amazon ElastiCache.
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.
The document discusses best practices for using Apache Cassandra, including:
- Topology considerations like replication strategies and snitches
- Booting new datacenters and replacing nodes
- Security techniques like authentication, authorization, and SSL encryption
- Using prepared statements for efficiency
- Asynchronous execution for request pipelining
- Batch statements and their appropriate uses
- Improving performance through techniques like the new row cache
This document provides an overview of Hazelcast, an open source in-memory data grid. It discusses what Hazelcast is, common use cases, features, and how to configure and use distributed maps (IMap) and querying with predicates. Key points covered include that Hazelcast stores data in memory and distributes it across a cluster, supports caching, distributed computing and messaging use cases, and IMap implements a distributed concurrent map that can be queried using predicates and configured with eviction policies and persistence.
Amazon EC2 provides a broad selection of instance types to accommodate a diverse mix of workloads. In this session, we provide an overview of the Amazon EC2 instance platform, key platform features, and the concept of instance generations. We dive into the current generation design choices of the different instance families, including the General Purpose, Compute Optimized, Storage Optimized, Memory Optimized, and GPU instance families. We also detail best practices and share performance tips for getting the most out of your Amazon EC2 instances.
Challenges when building high profile editorial sites
This talk will be a walk through the challenges encountered when building a high profile editorial sites. My goal is to present some of the common pitfalls we have encountered at Lincoln Loop and to explain how we solved:
* Legacy migration always take longer
* devops
* Multiple environment
* Easy deployment
* Responsive design impacts the backend
* Journey of an image
* Picturefill.js
* Danger of reusing published django applications
* Caching strategy
* Html fragment
* Varnish
Audience Decision maker that are going to rebuild their magazine Developer bidding for this kind of projects for the first time
This document discusses benchmarking Drupal performance and optimizing it with APC caching. It finds that a plain HTML page serves 1000 requests 32 times faster than Drupal. Installing the APC opcode cache speeds up Drupal significantly by caching compiled PHP files in memory. The document provides instructions for installing APC on Linux and verifying its setup. Other caching techniques like Varnish, Memcache and database tuning are also mentioned as ways to improve Drupal performance.
Stupid Boot Tricks: using ipxe and chef to get to boot management bliss
Jason Cook discusses his experience setting up boot infrastructure for Fastly's caching clusters. He outlines how they moved from using existing tools like Cobbler and Razor to building their own solution called Donner using iPXE to boot machines over HTTP. Donner uses Chef to store machine metadata and configuration which allows the boot process to install operating systems, configure networking, and run Chef on first boot to provision machines.
This presentation explains how to deploy and use the Integrated Caching feature on Netscaler. I gave this presentation to Citrix staff, customers and partners in worldwide in 2011. The presentation covers best practices and gotchas :) Integrated Caching is an excellent feature that can greatly improve the performance of your website.
The document discusses using Apache jclouds to interact with cloud databases. It introduces jclouds as a cloud SDK that allows interacting with multiple cloud providers through a common API. It then demonstrates how to use the jclouds database API to create a database instance on Rackspace, create a database, and add a user, providing code examples for each step.
This document discusses different types of wireless network security protocols and configurations for local area networks (LANs). It describes WEP, WPA, PSK, TKIP, and AES security protocols, explaining their purpose and differences. It also outlines three configurations for connecting devices like computers and an Xbox in a LAN, either through wired or wireless connections using a router.
This document describes PLANET, a system for massively parallel learning of tree ensembles using MapReduce. PLANET can build decision trees on very large datasets in a scalable way. It uses a master node to control the process and MapReduce jobs to handle tasks like finding the best splits when data is too large to fit in memory. PLANET supports techniques like bagging and boosting to build ensembles of trees for better predictive performance. Evaluation shows PLANET can efficiently learn from large datasets and complex models. Future work includes improving support for sampling and high-cardinality categorical attributes.
Tax is a compulsory payment to the government and can be direct or indirect. Direct taxes have an immediate burden on the taxpayer, like income and wealth taxes. Indirect taxes are collected by intermediaries and included in the price, like sales tax. Governments in India levy various direct and indirect taxes. The central government levies income, wealth, customs, excise and service taxes. State governments levy professional, entertainment, VAT and state excise duties. Local governments levy property, water and sewerage taxes. Direct taxes are more equitable but also more complex and unpopular. Indirect taxes are more convenient but also more inflationary and expensive to collect.
This document is a glossary containing vocabulary words organized into categories including animals, professions, rooms and objects, clothing, and transportation. The animals category lists creatures such as goldfish, snakes, sharks, and whales. Professions include occupations like photographer, doctor, chef, and engineer. Rooms and objects contain terms for interior spaces and furnishings. Clothing features items of dress like jackets, pants, dresses and accessories. Transportation covers vehicles and modes of transit.
The niche in the market: The case of Belgian Wines
Belgian wines have a very small share of less than 0.1% of the Belgian wine market, which is dominated by imports, primarily from France. Total Belgian wine production meets only about 0.1% of domestic consumption. To distinguish Belgian wines in this saturated market and justify their higher average price of €11 per bottle, producers need to focus on quality and terroir, educate consumers, and promote through competitions and tastings to build legitimacy and awareness. The marketing strategy of Belgian Wines Ltd. emphasizes developing the brand through understanding local markets and consumers and choosing appropriate marketing mix elements like price, placement in shops and restaurants, and promotional activities.
The document describes Skill Accelerator, a new approach to intensive training that provides interactive training and coaching to improve skills and performance. It offers both generic and customized delivery options including online, in-person, and through a team learning and simulation approach (TLSA). Skill Accelerator covers various skills like sales, customer service, and leadership. It works in three phases - training, coaching, and simulation/debriefing. The coaching session can integrate customized or standard business simulations to test and embed learning while developing critical thinking. Skill Accelerator is a flexible platform that challenges professionals and helps organizations capture and share knowledge.
This document appears to be a list of students' results from the Grade 8 exams administered by the Punjab Examination Commission in 2013. It includes the roll numbers, names, and total scores of 401 students who took the exam at GHSS City Muslim Town (M-1) in Faisalabad. The scores are either numerical values or indicators like "FAIL" to show if a student passed or failed the exam.
Reflexes are rapid, involuntary motor responses to stimuli that can involve peripheral nerves and the spinal cord or higher brain centers. There are several types of reflexes classified by their anatomical location, number of synapses involved, or whether they produce flexion or extension responses. Muscle spindles and Golgi tendon organs are proprioceptors that provide feedback to the central nervous system to regulate muscle tone and reflexes like the stretch reflex and Golgi tendon reflex. Abnormal muscle tone like spasticity or rigidity can result from upper motor neuron disorders that disrupt the inhibitory pathways controlling motor neurons.
A Theoretical Analysis of the Tenets of Multinational Enterprise (MNE)
In this paper, we analyzed the basic tenets of multinational enterprise (MNE) from a theoretical perspective, shedding light on the growing significance of MNEs in today’s global economy. The concept of MNE has been reviewed. We examined two theories of MNE – the trade theory and the transaction cost or internalization theory, in line with emerging global trends. We conclude that no single theory can explain MNE, rather, a combination of theories.
.NET Developer Days - So many Docker platforms, so little time...
Docker is a key player in the microservices movement and is arguably the leader in containerization technology.
That said, there are many ways to “do Docker”.
Between the leading cloud providers AWS, Azure, and Google; plus other platform stacks like Docker/Swarm, Apache Mesos – DC/OS, and Kubernetes; it can get confusing.In this session, Michele will bring her customer experiences building solutions across most of these platforms – to provide you with the highlights, the architecture topologies, and some perspective on the way she helps her customers choose the right platform for their cloud, on premise or hybrid solutions.
Running your Java EE 6 applications in the Cloud (FISL 12)
This document discusses running Java EE 6 applications in the cloud. It provides an overview of Java EE 6 and demonstrates how to deploy Java EE 6 applications on various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. The document also discusses the Java EE 7 specification and upcoming GlassFish Server distributions.
This document discusses running Java EE 6 applications in the cloud. It provides an overview of Java EE 6 and demonstrates deploying applications to various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It also compares these platforms and discusses how Java EE can evolve to better support cloud computing.
JFokus 2011 - Running your Java EE 6 apps in the Cloud
Oracle provides Java EE 6 application servers and databases that can run on various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. These cloud platforms offer virtual servers, storage, databases and additional services that allow flexible deployment of Java EE 6 applications in public, private and hybrid cloud environments. Pricing models vary between platforms and include consumption-based or commitment-based options.
The document discusses running Java EE applications in the cloud using platforms like Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It provides an overview of deploying Java EE applications on each platform, including how to configure and manage applications on Amazon EC2 and S3, deploy using RightScripts on RightScale, publish to Microsoft Azure using Visual Studio, and the language and server options for Joyent. The document also touches on pricing models and some considerations for evolving Java EE for cloud platforms.
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...
Disaster Recovery Site on AWS: Minimal Cost Maximum Efficiency discusses setting up disaster recovery sites on AWS for minimal cost and maximum efficiency. Common disaster recovery architectures on AWS include pilot light, where a scaled-down copy of production resources is kept running, and backup and restore, where backups are taken and restored in an outage. Customer case studies demonstrate cost savings of up to 70% for disaster recovery sites on AWS compared to on-premises solutions.
Running your Java EE 6 Apps in the Cloud - JavaOne India 2011
This document discusses running Java EE 6 applications in the cloud. It provides an overview of deploying Java EE 6 applications to various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It also discusses the Java EE 7 specification and how it will further support cloud deployments with a focus on multi-tenancy and elasticity. Lastly, it outlines the GlassFish Server distributions for both open source and commercial use on private and public clouds.
JavaOne India 2011 - Running your Java EE 6 Apps in the Cloud
This document discusses running Java EE 6 applications in the cloud. It provides an overview of deploying Java EE 6 applications to various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It also discusses the Java EE 7 specification and how it will further support cloud deployments with a focus on multi-tenancy and elasticity. Lastly, it outlines the GlassFish Server distributions for both open source and commercial use on private and public clouds.
This document discusses automating the deployment and configuration of virtual machines (VMs) created with Apache CloudStack using Puppet. It provides an overview of CloudStack and its architecture before explaining how Puppet can be used to classify and configure VMs at launch based on custom facts extracted from metadata passed to the VM. The document recommends minimizing templates and configuring all VMs via Puppet for easy management at scale. It also describes how the CloudStack API can be used to programmatically deploy VMs that are then automatically configured by Puppet.
This document outlines the agenda for a meetup on cloud computing hosted by StartupDecode. The meetup includes sessions on what cloud computing is, cloud computing on AWS, hands-on tutorials for Heroku and AWS, and a networking apéro. The hands-on portions will guide attendees on deploying a sample Rails app to Heroku with AWS S3 integration for file storage.
The document discusses deploying Windows containers with Kubernetes. It covers building Windows containers, deploying containers on Kubernetes, and operating Kubernetes. Specifically, it shows how to:
- Build a Windows container with SQL Server using Docker
- Deploy a .NET Core app container to Kubernetes and expose it using a load balancer
- Scale the deployment to multiple replicas and observe traffic distribution
- Perform rolling updates to deploy new versions of the application
Java EE 6 applications can be deployed to various cloud platforms including Amazon EC2, RightScale, Elastra, and Joyent. On Amazon EC2, GlassFish and MySQL AMIs are used to deploy applications which are load balanced and auto-scaled. RightScale provides server templates and automation tools to deploy Java EE applications on multiple clouds. Elastra allows designing and deploying hybrid Java EE applications across on-premise and cloud infrastructures. Joyent offers high performance Smart Machines running Solaris zones to deploy Java EE applications with root access and dedicated resources.
Java EE 6 applications can be deployed to various cloud platforms including Amazon EC2, RightScale, Elastra, and Joyent. On Amazon EC2, GlassFish and MySQL AMIs are used to deploy applications which are load balanced and auto-scaled. RightScale provides server templates and automation tools to deploy Java EE applications on multiple clouds. Elastra allows designing and deploying hybrid Java EE applications across on-premise and cloud infrastructures. Joyent offers high performance Smart Machines running Solaris zones to deploy Java EE applications with root access and dedicated resources.
Terraform for azure: the good, the bad and the ugly -
Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. The presenter discusses the good, bad, and ugly aspects of using Terraform with Azure. The good includes its simple configuration language and ability to integrate with Azure and automate deployments. The bad includes limitations in its language and some errors being difficult to debug. The ugly involves challenges around managing state files and keeping infrastructure definitions well organized. Overall, Terraform provides benefits but also requires understanding its quirks and handling state carefully.
modern module development - Ken Barber 2012 Edinburgh Puppet CampPuppet
The document provides information on modern Puppet module development best practices. It discusses what modules are and common patterns like package, config, service that address 80% of module needs. It also covers validation of module parameters using Kwalify schemas, testing modules with rspec-puppet, and packaging modules for release on the Puppet Forge using the puppet-module tool. The document emphasizes the importance of coding style, linting with puppet-lint, and following patterns and best practices to create high quality, reusable modules.
This document discusses using "Game Days" to simulate crisis situations and test systems, applications, and teams. It recommends creating a simulated environment to practice deployments, failures, and responses. Key aspects include role playing different scenarios, recording results, and debriefing to identify issues and improve procedures. The goal is to validate architectures and assumptions, prove resilience, and train teams through a fun but realistic learning experience.
The document discusses installing Cloudera Hadoop (CDH 4) on Ubuntu 12.04 LTS. It provides an overview of Hadoop and its components. It then outlines the installation steps for Cloudera Hadoop which include preparing the system by installing prerequisites like OpenSSH, configuring password-less SSH and sudo, editing the host file, installing MySQL and the JDBC connector, and downloading and running the Cloudera Manager installer.
Hazelcast provides scale-out computing capabilities that allow cluster capacity to be increased or decreased on demand. It enables resilience through automatic recovery from member failures without data loss. Hazelcast's programming model allows developers to easily program cluster applications as if they are a single process. It also provides fast application performance by holding large data sets in main memory.
Introduction to Stacki at Atlanta Meetup February 2016StackIQ
An introduction to Stacki-the fastest bare metal Linux server provisioning tool from the Stacki Atlanta kickoff meetup on 2/23/16 at the Microsoft Innovation Center. Greg Bruno is the VP Engineering at StackIQ.
This document describes Matteo Moretti's company Madisoft's migration of their Nuvola application from on-premise servers to AWS. It involved moving over 60 servers, 1000 databases totaling 4.5TB of data, and 25M media files to AWS using Ansible automation. The migration provided benefits like increased flexibility, horizontal scaling, infrastructure as code, and cost optimization. It took place over multiple environments using tools like Ansible, AWS EC2, RDS, S3, Route53, and was completed in around 50 minutes with no issues for users.
Configuration management and deployment with ansibleIvan Dimitrov
This document discusses configuration management and deployment using Ansible. It provides an overview of Ansible's key capabilities including configuration management, ad-hoc execution, rolling updates, multi-tier deployment and cloud provisioning. It also discusses Ansible's architecture including being SSH-based and agentless, its use of inventory files, playbooks and roles to define configurations. Finally it demonstrates examples of using Ansible modules, tasks, and playbooks to manage and deploy applications.
Australian OpenStack User Group August 2012: Chef for OpenStackMatt Ray
This document discusses how Chef can be used to deploy and manage OpenStack infrastructure. It provides an overview of Chef's capabilities for infrastructure automation including defining servers, applications, and databases through code and templates. The document also describes the Chef for OpenStack project which provides cookbooks for deploying OpenStack components like Keystone, Glance, Nova, etc. It promotes the community around automating OpenStack deployment and management with Chef.
Salesforce at Stacki Atlanta Meetup February 2016StackIQ
Dave Peterson's presentation on how Salesforce uses Stacki and Chef to provision and manage thousands of servers. Stacki Atlanta kickoff Meetup on 2/23/16 at the Microsoft Innovation Center. Dave is a Lead Systems Engineer at Salesforce.
Tips for going fast in a slow world: Michael May at OSCON 2015Fastly
Fastly engineer Michael May at OSCON 2015: When it comes to caching, we fall into two categories – those who make phat stacks of cache money and those who suffer from cache anxiety. We know caching aggressively improves performance; however, advanced caching strategies for event-driven content or user-specific content are often neglected for fear of complexity or lack of understanding. In this talk, we’ll cover HTTP caching, old and new strategies for caching historically ‘uncacheable’ content, and secret features of HTTP accelerators like Varnish. Whether you’re already stacking cache or just seeking a prescription for one, you’ll leave with a deeper understanding of caching and accelerating applications that you can take and apply to your Rails, Django, etc. apps.
Apache Traffic Server (ATS) is a fast, scalable HTTP caching proxy server. It allows plugins to be written using Lua, a lightweight scripting language. This provides advantages over writing plugins in C/C++, including easier development, testing, and ability to leverage Lua features. The presentation discusses using Lua with ATS, including exposing ATS APIs as Lua functions, implementing plugins, testing plugins, and security considerations like input validation and sandboxing. Future work may include exposing more ATS APIs and providing input validation libraries.
(SDD402) Amazon ElastiCache Deep Dive | AWS re:Invent 2014Amazon Web Services
Peek behind the scenes to learn about Amazon ElastiCache's design and architecture. See common design patterns of our Memcached and Redis offerings and how customers have used them for in-memory operations and achieved improved latency and throughput for applications. During this session, we review best practices, design patterns, and anti-patterns related to Amazon ElastiCache.
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.
The document discusses best practices for using Apache Cassandra, including:
- Topology considerations like replication strategies and snitches
- Booting new datacenters and replacing nodes
- Security techniques like authentication, authorization, and SSL encryption
- Using prepared statements for efficiency
- Asynchronous execution for request pipelining
- Batch statements and their appropriate uses
- Improving performance through techniques like the new row cache
This document provides an overview of Hazelcast, an open source in-memory data grid. It discusses what Hazelcast is, common use cases, features, and how to configure and use distributed maps (IMap) and querying with predicates. Key points covered include that Hazelcast stores data in memory and distributes it across a cluster, supports caching, distributed computing and messaging use cases, and IMap implements a distributed concurrent map that can be queried using predicates and configured with eviction policies and persistence.
Amazon EC2 provides a broad selection of instance types to accommodate a diverse mix of workloads. In this session, we provide an overview of the Amazon EC2 instance platform, key platform features, and the concept of instance generations. We dive into the current generation design choices of the different instance families, including the General Purpose, Compute Optimized, Storage Optimized, Memory Optimized, and GPU instance families. We also detail best practices and share performance tips for getting the most out of your Amazon EC2 instances.
Challenges when building high profile editorial sitesYann Malet
This talk will be a walk through the challenges encountered when building a high profile editorial sites. My goal is to present some of the common pitfalls we have encountered at Lincoln Loop and to explain how we solved:
* Legacy migration always take longer
* devops
* Multiple environment
* Easy deployment
* Responsive design impacts the backend
* Journey of an image
* Picturefill.js
* Danger of reusing published django applications
* Caching strategy
* Html fragment
* Varnish
Audience Decision maker that are going to rebuild their magazine Developer bidding for this kind of projects for the first time
This document discusses benchmarking Drupal performance and optimizing it with APC caching. It finds that a plain HTML page serves 1000 requests 32 times faster than Drupal. Installing the APC opcode cache speeds up Drupal significantly by caching compiled PHP files in memory. The document provides instructions for installing APC on Linux and verifying its setup. Other caching techniques like Varnish, Memcache and database tuning are also mentioned as ways to improve Drupal performance.
Stupid Boot Tricks: using ipxe and chef to get to boot management blissmacslide
Jason Cook discusses his experience setting up boot infrastructure for Fastly's caching clusters. He outlines how they moved from using existing tools like Cobbler and Razor to building their own solution called Donner using iPXE to boot machines over HTTP. Donner uses Chef to store machine metadata and configuration which allows the boot process to install operating systems, configure networking, and run Chef on first boot to provision machines.
This presentation explains how to deploy and use the Integrated Caching feature on Netscaler. I gave this presentation to Citrix staff, customers and partners in worldwide in 2011. The presentation covers best practices and gotchas :) Integrated Caching is an excellent feature that can greatly improve the performance of your website.
Taming the Cloud Database with Apache jcloudszshoylev
The document discusses using Apache jclouds to interact with cloud databases. It introduces jclouds as a cloud SDK that allows interacting with multiple cloud providers through a common API. It then demonstrates how to use the jclouds database API to create a database instance on Rackspace, create a database, and add a user, providing code examples for each step.
This document discusses different types of wireless network security protocols and configurations for local area networks (LANs). It describes WEP, WPA, PSK, TKIP, and AES security protocols, explaining their purpose and differences. It also outlines three configurations for connecting devices like computers and an Xbox in a LAN, either through wired or wireless connections using a router.
This document describes PLANET, a system for massively parallel learning of tree ensembles using MapReduce. PLANET can build decision trees on very large datasets in a scalable way. It uses a master node to control the process and MapReduce jobs to handle tasks like finding the best splits when data is too large to fit in memory. PLANET supports techniques like bagging and boosting to build ensembles of trees for better predictive performance. Evaluation shows PLANET can efficiently learn from large datasets and complex models. Future work includes improving support for sampling and high-cardinality categorical attributes.
Structure of taxation and classification of taxesshaik moin
Tax is a compulsory payment to the government and can be direct or indirect. Direct taxes have an immediate burden on the taxpayer, like income and wealth taxes. Indirect taxes are collected by intermediaries and included in the price, like sales tax. Governments in India levy various direct and indirect taxes. The central government levies income, wealth, customs, excise and service taxes. State governments levy professional, entertainment, VAT and state excise duties. Local governments levy property, water and sewerage taxes. Direct taxes are more equitable but also more complex and unpopular. Indirect taxes are more convenient but also more inflationary and expensive to collect.
This document is a glossary containing vocabulary words organized into categories including animals, professions, rooms and objects, clothing, and transportation. The animals category lists creatures such as goldfish, snakes, sharks, and whales. Professions include occupations like photographer, doctor, chef, and engineer. Rooms and objects contain terms for interior spaces and furnishings. Clothing features items of dress like jackets, pants, dresses and accessories. Transportation covers vehicles and modes of transit.
The niche in the market: The case of Belgian WinesJonas De Maere
Belgian wines have a very small share of less than 0.1% of the Belgian wine market, which is dominated by imports, primarily from France. Total Belgian wine production meets only about 0.1% of domestic consumption. To distinguish Belgian wines in this saturated market and justify their higher average price of €11 per bottle, producers need to focus on quality and terroir, educate consumers, and promote through competitions and tastings to build legitimacy and awareness. The marketing strategy of Belgian Wines Ltd. emphasizes developing the brand through understanding local markets and consumers and choosing appropriate marketing mix elements like price, placement in shops and restaurants, and promotional activities.
The document describes Skill Accelerator, a new approach to intensive training that provides interactive training and coaching to improve skills and performance. It offers both generic and customized delivery options including online, in-person, and through a team learning and simulation approach (TLSA). Skill Accelerator covers various skills like sales, customer service, and leadership. It works in three phases - training, coaching, and simulation/debriefing. The coaching session can integrate customized or standard business simulations to test and embed learning while developing critical thinking. Skill Accelerator is a flexible platform that challenges professionals and helps organizations capture and share knowledge.
This document appears to be a list of students' results from the Grade 8 exams administered by the Punjab Examination Commission in 2013. It includes the roll numbers, names, and total scores of 401 students who took the exam at GHSS City Muslim Town (M-1) in Faisalabad. The scores are either numerical values or indicators like "FAIL" to show if a student passed or failed the exam.
Reflexes are rapid, involuntary motor responses to stimuli that can involve peripheral nerves and the spinal cord or higher brain centers. There are several types of reflexes classified by their anatomical location, number of synapses involved, or whether they produce flexion or extension responses. Muscle spindles and Golgi tendon organs are proprioceptors that provide feedback to the central nervous system to regulate muscle tone and reflexes like the stretch reflex and Golgi tendon reflex. Abnormal muscle tone like spasticity or rigidity can result from upper motor neuron disorders that disrupt the inhibitory pathways controlling motor neurons.
A Theoretical Analysis of the Tenets of Multinational Enterprise (MNE)Claretta Webb
In this paper, we analyzed the basic tenets of multinational enterprise (MNE) from a theoretical perspective, shedding light on the growing significance of MNEs in today’s global economy. The concept of MNE has been reviewed. We examined two theories of MNE – the trade theory and the transaction cost or internalization theory, in line with emerging global trends. We conclude that no single theory can explain MNE, rather, a combination of theories.
Docker is a key player in the microservices movement and is arguably the leader in containerization technology.
That said, there are many ways to “do Docker”.
Between the leading cloud providers AWS, Azure, and Google; plus other platform stacks like Docker/Swarm, Apache Mesos – DC/OS, and Kubernetes; it can get confusing.In this session, Michele will bring her customer experiences building solutions across most of these platforms – to provide you with the highlights, the architecture topologies, and some perspective on the way she helps her customers choose the right platform for their cloud, on premise or hybrid solutions.
Running your Java EE 6 applications in the Cloud (FISL 12)Arun Gupta
This document discusses running Java EE 6 applications in the cloud. It provides an overview of Java EE 6 and demonstrates how to deploy Java EE 6 applications on various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. The document also discusses the Java EE 7 specification and upcoming GlassFish Server distributions.
Running your Java EE 6 Applications in the CloudArun Gupta
This document discusses running Java EE 6 applications in the cloud. It provides an overview of Java EE 6 and demonstrates deploying applications to various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It also compares these platforms and discusses how Java EE can evolve to better support cloud computing.
JFokus 2011 - Running your Java EE 6 apps in the CloudArun Gupta
Oracle provides Java EE 6 application servers and databases that can run on various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. These cloud platforms offer virtual servers, storage, databases and additional services that allow flexible deployment of Java EE 6 applications in public, private and hybrid cloud environments. Pricing models vary between platforms and include consumption-based or commitment-based options.
Running your Java EE 6 applications in the CloudArun Gupta
The document discusses running Java EE applications in the cloud using platforms like Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It provides an overview of deploying Java EE applications on each platform, including how to configure and manage applications on Amazon EC2 and S3, deploy using RightScripts on RightScale, publish to Microsoft Azure using Visual Studio, and the language and server options for Joyent. The document also touches on pricing models and some considerations for evolving Java EE for cloud platforms.
Disaster Recovery Site on AWS - Minimal Cost Maximum Efficiency (STG305) | AW...Amazon Web Services
Disaster Recovery Site on AWS: Minimal Cost Maximum Efficiency discusses setting up disaster recovery sites on AWS for minimal cost and maximum efficiency. Common disaster recovery architectures on AWS include pilot light, where a scaled-down copy of production resources is kept running, and backup and restore, where backups are taken and restored in an outage. Customer case studies demonstrate cost savings of up to 70% for disaster recovery sites on AWS compared to on-premises solutions.
Running your Java EE 6 Apps in the Cloud - JavaOne India 2011Arun Gupta
This document discusses running Java EE 6 applications in the cloud. It provides an overview of deploying Java EE 6 applications to various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It also discusses the Java EE 7 specification and how it will further support cloud deployments with a focus on multi-tenancy and elasticity. Lastly, it outlines the GlassFish Server distributions for both open source and commercial use on private and public clouds.
JavaOne India 2011 - Running your Java EE 6 Apps in the CloudArun Gupta
This document discusses running Java EE 6 applications in the cloud. It provides an overview of deploying Java EE 6 applications to various cloud platforms including Amazon Web Services, RightScale, Microsoft Azure, and Joyent. It also discusses the Java EE 7 specification and how it will further support cloud deployments with a focus on multi-tenancy and elasticity. Lastly, it outlines the GlassFish Server distributions for both open source and commercial use on private and public clouds.
Automating Your CloudStack Cloud with Puppetbuildacloud
This document discusses automating the deployment and configuration of virtual machines (VMs) created with Apache CloudStack using Puppet. It provides an overview of CloudStack and its architecture before explaining how Puppet can be used to classify and configure VMs at launch based on custom facts extracted from metadata passed to the VM. The document recommends minimizing templates and configuring all VMs via Puppet for easy management at scale. It also describes how the CloudStack API can be used to programmatically deploy VMs that are then automatically configured by Puppet.
This document outlines the agenda for a meetup on cloud computing hosted by StartupDecode. The meetup includes sessions on what cloud computing is, cloud computing on AWS, hands-on tutorials for Heroku and AWS, and a networking apéro. The hands-on portions will guide attendees on deploying a sample Rails app to Heroku with AWS S3 integration for file storage.
Deploying windows containers with kubernetesBen Hall
The document discusses deploying Windows containers with Kubernetes. It covers building Windows containers, deploying containers on Kubernetes, and operating Kubernetes. Specifically, it shows how to:
- Build a Windows container with SQL Server using Docker
- Deploy a .NET Core app container to Kubernetes and expose it using a load balancer
- Scale the deployment to multiple replicas and observe traffic distribution
- Perform rolling updates to deploy new versions of the application
Running your Java EE 6 applications in the cloudArun Gupta
Java EE 6 applications can be deployed to various cloud platforms including Amazon EC2, RightScale, Elastra, and Joyent. On Amazon EC2, GlassFish and MySQL AMIs are used to deploy applications which are load balanced and auto-scaled. RightScale provides server templates and automation tools to deploy Java EE applications on multiple clouds. Elastra allows designing and deploying hybrid Java EE applications across on-premise and cloud infrastructures. Joyent offers high performance Smart Machines running Solaris zones to deploy Java EE applications with root access and dedicated resources.
Java EE 6 applications can be deployed to various cloud platforms including Amazon EC2, RightScale, Elastra, and Joyent. On Amazon EC2, GlassFish and MySQL AMIs are used to deploy applications which are load balanced and auto-scaled. RightScale provides server templates and automation tools to deploy Java EE applications on multiple clouds. Elastra allows designing and deploying hybrid Java EE applications across on-premise and cloud infrastructures. Joyent offers high performance Smart Machines running Solaris zones to deploy Java EE applications with root access and dedicated resources.
Terraform for azure: the good, the bad and the ugly -Giulio Vian
Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. The presenter discusses the good, bad, and ugly aspects of using Terraform with Azure. The good includes its simple configuration language and ability to integrate with Azure and automate deployments. The bad includes limitations in its language and some errors being difficult to debug. The ugly involves challenges around managing state files and keeping infrastructure definitions well organized. Overall, Terraform provides benefits but also requires understanding its quirks and handling state carefully.
OSCON 2013 - Planning an OpenStack Cloud - Tom FifieldOSCON Byrum
The flexibility of OpenStack is a dual-edged sword, giving you unprecedented control over your infrastructure, but potentially becoming a nightmare for the indecisive manager, architect or sysadmin!
In this presentation, Tom Fifield – co-author of the OpenStack Operations Guide, and Community Manager at the OpenStack Foundation – takes you through some of the decisions you will face when planning your OpenStack cloud. In addition to a brief introduction on OpenStack and advice on how to interact with the community, he will cover topics such as:
How to approach your deployment, ranging from DIY to a turn-key solution from the ecosystem
Storage and networking decisions, including plugin options
Automating deployment and configuration with popular tools like Puppet and Chef
Through discussion of the ecosystem, customization and scaling, you’ll walk away with an understanding of ‘what it takes’ to build your OpenStack cloud.
This document discusses using Windows Server AppFabric to scale the data tier of web applications. It describes the typical challenges of scaling a web application's data tier, such as databases becoming saturated and services slowing down. It then introduces Windows Server AppFabric as a solution, which provides a distributed in-memory cache that can be shared across servers and services. This allows caching data across multiple machines, reducing database load and eliminating duplicate requests. It provides examples of how AppFabric can be used to cache reference data, integrate with sessions, and support optimistic/pessimistic locking for shared resources.
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...Timofey Turenko
The presentation describes CI environment for our product - Maxscale - database proxy server. To test such product we need a setup that consists of tens of machines: locally hosted virtual machines as well as machines from different clouds. All our Jenkins jobs are implemented in the form of Jenkins Job Builder code. Presentations also tells about our tool to manage virtual machines (wrapper over Vagrant)- MDBCI.
Where is my cache architectural patterns for caching microservices by exampleRafał Leszko
The document discusses various architectural patterns for caching microservices, including embedded caching, embedded distributed caching, client-server caching, cloud caching, sidecar caching, reverse proxy caching, and reverse proxy sidecar caching. It provides examples and descriptions of each pattern, discussing pros and cons. The presentation concludes with a summary matrix comparing the different caching patterns based on factors like whether they are application-aware, support containers, are language-agnostic, support large amounts of data, have security restrictions, and can be deployed to the cloud.
The document outlines tips for troubleshooting CloudStack. It discusses ACS error codes, debugging in development, SSVM troubleshooting, and ACS ports. It also covers installation, configuration, log analysis, global parameters, the cloud database, reusing hypervisors, and best practices for CloudStack administrators. References and Q&A are included at the end.
Similar to Taming the Cloud Database with Apache jclouds, ApacheCon Europe 2014 (20)
Best Programming Language for Civil EngineersAwais Yaseen
The integration of programming into civil engineering is transforming the industry. We can design complex infrastructure projects and analyse large datasets. Imagine revolutionizing the way we build our cities and infrastructure, all by the power of coding. Programming skills are no longer just a bonus—they’re a game changer in this era.
Technology is revolutionizing civil engineering by integrating advanced tools and techniques. Programming allows for the automation of repetitive tasks, enhancing the accuracy of designs, simulations, and analyses. With the advent of artificial intelligence and machine learning, engineers can now predict structural behaviors under various conditions, optimize material usage, and improve project planning.
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc
Six months into 2024, and it is clear the privacy ecosystem takes no days off!! Regulators continue to implement and enforce new regulations, businesses strive to meet requirements, and technology advances like AI have privacy professionals scratching their heads about managing risk.
What can we learn about the first six months of data privacy trends and events in 2024? How should this inform your privacy program management for the rest of the year?
Join TrustArc, Goodwin, and Snyk privacy experts as they discuss the changes we’ve seen in the first half of 2024 and gain insight into the concrete, actionable steps you can take to up-level your privacy program in the second half of the year.
This webinar will review:
- Key changes to privacy regulations in 2024
- Key themes in privacy and data governance in 2024
- How to maximize your privacy program in the second half of 2024
Support en anglais diffusé lors de l'événement 100% IA organisé dans les locaux parisiens d'Iguane Solutions, le mardi 2 juillet 2024 :
- Présentation de notre plateforme IA plug and play : ses fonctionnalités avancées, telles que son interface utilisateur intuitive, son copilot puissant et des outils de monitoring performants.
- REX client : Cyril Janssens, CTO d’ easybourse, partage son expérience d’utilisation de notre plateforme IA plug & play.
Choose our Linux Web Hosting for a seamless and successful online presencerajancomputerfbd
Our Linux Web Hosting plans offer unbeatable performance, security, and scalability, ensuring your website runs smoothly and efficiently.
Visit- https://onliveserver.com/linux-web-hosting/
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxSynapseIndia
Your comprehensive guide to RPA in healthcare for 2024. Explore the benefits, use cases, and emerging trends of robotic process automation. Understand the challenges and prepare for the future of healthcare automation
7 Most Powerful Solar Storms in the History of Earth.pdfEnterprise Wired
Solar Storms (Geo Magnetic Storms) are the motion of accelerated charged particles in the solar environment with high velocities due to the coronal mass ejection (CME).
Kief Morris rethinks the infrastructure code delivery lifecycle, advocating for a shift towards composable infrastructure systems. We should shift to designing around deployable components rather than code modules, use more useful levels of abstraction, and drive design and deployment from applications rather than bottom-up, monolithic architecture and delivery.
The Rise of Supernetwork Data Intensive ComputingLarry Smarr
Invited Remote Lecture to SC21
The International Conference for High Performance Computing, Networking, Storage, and Analysis
St. Louis, Missouri
November 18, 2021
YOUR RELIABLE WEB DESIGN & DEVELOPMENT TEAM — FOR LASTING SUCCESS
WPRiders is a web development company specialized in WordPress and WooCommerce websites and plugins for customers around the world. The company is headquartered in Bucharest, Romania, but our team members are located all over the world. Our customers are primarily from the US and Western Europe, but we have clients from Australia, Canada and other areas as well.
Some facts about WPRiders and why we are one of the best firms around:
More than 700 five-star reviews! You can check them here.
1500 WordPress projects delivered.
We respond 80% faster than other firms! Data provided by Freshdesk.
We’ve been in business since 2015.
We are located in 7 countries and have 22 team members.
With so many projects delivered, our team knows what works and what doesn’t when it comes to WordPress and WooCommerce.
Our team members are:
- highly experienced developers (employees & contractors with 5 -10+ years of experience),
- great designers with an eye for UX/UI with 10+ years of experience
- project managers with development background who speak both tech and non-tech
- QA specialists
- Conversion Rate Optimisation - CRO experts
They are all working together to provide you with the best possible service. We are passionate about WordPress, and we love creating custom solutions that help our clients achieve their goals.
At WPRiders, we are committed to building long-term relationships with our clients. We believe in accountability, in doing the right thing, as well as in transparency and open communication. You can read more about WPRiders on the About us page.
Transcript: Details of description part II: Describing images in practice - T...BookNet Canada
This presentation explores the practical application of image description techniques. Familiar guidelines will be demonstrated in practice, and descriptions will be developed “live”! If you have learned a lot about the theory of image description techniques but want to feel more confident putting them into practice, this is the presentation for you. There will be useful, actionable information for everyone, whether you are working with authors, colleagues, alone, or leveraging AI as a collaborator.
Link to presentation recording and slides: https://bnctechforum.ca/sessions/details-of-description-part-ii-describing-images-in-practice/
Presented by BookNet Canada on June 25, 2024, with support from the Department of Canadian Heritage.
Best Practices for Effectively Running dbt in Airflow.pdfTatiana Al-Chueyr
As a popular open-source library for analytics engineering, dbt is often used in combination with Airflow. Orchestrating and executing dbt models as DAGs ensures an additional layer of control over tasks, observability, and provides a reliable, scalable environment to run dbt models.
This webinar will cover a step-by-step guide to Cosmos, an open source package from Astronomer that helps you easily run your dbt Core projects as Airflow DAGs and Task Groups, all with just a few lines of code. We’ll walk through:
- Standard ways of running dbt (and when to utilize other methods)
- How Cosmos can be used to run and visualize your dbt projects in Airflow
- Common challenges and how to address them, including performance, dependency conflicts, and more
- How running dbt projects in Airflow helps with cost optimization
Webinar given on 9 July 2024
Quantum Communications Q&A with Gemini LLM. These are based on Shannon's Noisy channel Theorem and offers how the classical theory applies to the quantum world.
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfjackson110191
These fighter aircraft have uses outside of traditional combat situations. They are essential in defending India's territorial integrity, averting dangers, and delivering aid to those in need during natural calamities. Additionally, the IAF improves its interoperability and fortifies international military alliances by working together and conducting joint exercises with other air forces.
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Chris Swan
Have you noticed the OpenSSF Scorecard badges on the official Dart and Flutter repos? It's Google's way of showing that they care about security. Practices such as pinning dependencies, branch protection, required reviews, continuous integration tests etc. are measured to provide a score and accompanying badge.
You can do the same for your projects, and this presentation will show you how, with an emphasis on the unique challenges that come up when working with Dart and Flutter.
The session will provide a walkthrough of the steps involved in securing a first repository, and then what it takes to repeat that process across an organization with multiple repos. It will also look at the ongoing maintenance involved once scorecards have been implemented, and how aspects of that maintenance can be better automated to minimize toil.
2. Before we begin: Setup
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
2
Virtual Machine pre-setup provided
http://rack.to/ace14vm
Avoid downloading during this presentation
3. Before we begin: Setup
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
3
Alternatively you need
Oracle Java 7
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-
ubuntu-via.html
maven
http://maven.apache.org/download.cgi
git config --global core.autocrlf false
4. Before we begin: Setup
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
4
Testing on your machine (no subscriptions)
Devstack
http://devstack.org/
http://blog.phymata.com/2014/04/18/devstack-icehouse-on-the-
rackspace-cloud/
Providers: Rackspace, HP, others
http://www.openstack.org/marketplace/public-clouds/
http://rack.to/ace14
5. Before we begin: Setup
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
5
git clone https://github.com/zack-shoylev/jclouds-
developer-examples.git
Multiple branches
git clone https://github.com/rackerlabs/jclouds-
examples.git
Branch trove-example-only
6. Introductions
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
6
➢ Zack Shoylev
➢ irc: zacksh twitter: @zackshoylev
freenode #jclouds
Also email
@rackspace.com
7. Introductions
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
7
Developer Experience
https://developer.rackspace.com/support/
8. Goals
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
8
➢ jclouds
➢ Create a database in the cloud
➢ Abstractions and how to contribute
➢ How to add support for an API
9. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
9
➢ Networked and distributed computing
➢ Variety of services
➢ Compute (servers)
➢ Storage (files)
➢ Databases
➢ Email
➢ …
10. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
10
➢ Can’t someone else do it?
11. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
11
12. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
12
➢ Public cloud (external provider)
➢ Private cloud (internal deployment)
➢ Hybrid cloud
➢ Public + Private
Rackspace
example
13. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
13
Your
System
S
D
K
Cloud
AP
I
VM
VM
VM
➢ This can be an application server
➢ Or your home machine
➢ Or belong to one of your end users
➢ Or a cloud VM
➢ Or a smartphone
jclouds
14. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
14
➢ Advantages
➢ Metered pricing (pay as you go)
➢ Project scalability (unlimited)
➢ Safer (offsite/redundant)
➢ Economies of scale
➢ Expertise
➢ Support
15. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
15
➢ Disadvantages
➢ Less hardware control
➢ Provider-controlled downtime
➢ Virtualization (efficiency)
➢ Provider lock-in
➢ Provider-specific apis/sdks/features
➢ Expensive to switch clouds or deploy locally
➢ jclouds minimizes this disadvantage
16. The Cloud
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
16
➢ Database specific advantages
➢ Optimized by provider
➢ Settings
➢ Container virtualization
➢ Automated software updates
➢ Redundant data storage
➢ Backup
➢ Migration
➢ Choice
➢ Clustering (upcoming)
➢ Support
17. OpenStack
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
17
➢ Cloud OS
➢ Open-sourced by Rackspace and NASA
(2010)
➢ Free
➢ Supported
➢ AT&T, HP, IBM, Red Hat, Rackspace, Dell, Cisco,
Intel, VMware, …
18. OpenStack
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
18
➢ http://stackalytics.com/
19. jclouds
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
19
➢ Cloud SDK
➢ Apache project
➢ Java (and Clojure)
➢ Easy
➢ Portable
➢ Cloud-agnostic
➢ Community
➢ Open source
20. jclouds
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
20
➢ https://jclouds.apache.org/
21. jclouds
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
21
➢ HTTP requests, responses, retries
➢ Authentication and re-authentication
➢ Pagination
➢ Polling
➢ Rate limits
➢ Retries
➢ Abstractions
➢ Logging
➢ Less code
30. POM
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
30
mvn dependency:copy-dependencies "-DoutputDirectory=./lib"
31. Logging
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
31
// This module is responsible for enabling logging
Iterable<Module> modules = ImmutableSet.<Module> of(new SLF4JLoggingModule());
ComputeServiceContext context = ContextBuilder.newBuilder(provider)
.credentials(username, apiKey)
.modules(modules) // don't forget to add the modules to your context!
.buildView(ComputeServiceContext.class);
logback.xml
<configuration scan="false">
…
<appender name="WIREFILE" class="ch.qos.logback.core.FileAppender">
<file>target/test-data/jclouds-wire.log</file>
<encoder>
<Pattern>%d %-5p [%c] [%thread] %m%n</Pattern>
</encoder>
</appender>
32. Java Project
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
32
Skeleton
Project
Create User
Create Instance
Initialize API
Create Database
Test Connection
Cleanup
33. Initialize
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
33
private final TroveApi troveApi;
troveApi = ContextBuilder
.newBuilder("rackspace-clouddatabases-us")
.credentials(username, apiKey)
.buildApi(TroveApi.class);
34. Architecture
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
34
Cloud Databases
Trove
jclouds-database
Increasing level of
abstraction
Provider
settings:
Endpoint, etc.
Implementation
code
Abstraction
s
35. Architecture
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
35
Cloud Databases
Trove
jclouds-database
Increasing level of
abstraction
Provider
settings:
Endpoint, etc.
Implementation
code
Abstraction
s
Not implemented
36. Initialize
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
36
private final FlavorApi flavorApi;
flavorApi = troveApi.getFlavorApiForZone(ZONE);
38. Java Project
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
38
Skeleton
Project
Create User
Create Instance
Initialize API
Create Database
Test Connection
Cleanup
39. Create Instance
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
39
Flavor flavor = Iterables.getFirst(flavorApi.list(), null);
…
Instance instance = instanceApi.create(flavorId, size, name);
flavor.getId()
Volume size in
GB
40. Create Instance
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
40
Instance updatedInstance = awaitAvailable(instance, instanceApi);
41. Create Instance
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
41
Instance updatedInstance = awaitAvailable(instance, instanceApi);
Polls status, waits until ready. Will not retry by
itself!
43. Actual Code
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
43
Utils.
getWorkingInstance(
String zone,
String name,
String flavorId,
int size)
44. Java Project
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
44
Skeleton
Project
Create User
Create Instance
Initialize API
Create Database
Test Connection
Cleanup
45. Create Database
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
45
troveApi = ContextBuilder.newBuilder(PROVIDER)
.credentials(username, apiKey)
.buildApi(TroveApi.class);
instanceApi = troveApi.getInstanceApiForZone(ZONE);
databaseApi = troveApi
.getDatabaseApiForZoneAndInstance(ZONE,getInstance().getId());
getSomeApiForXandYandZ – fairly common in jclouds
46. Create Database
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
46
boolean result = databaseApi.create(NAME);
47. Java Project
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
47
Skeleton
Project
Create User
Create Instance
Initialize API
Create Database
Test Connection
Cleanup
48. Create User
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
48
userApi = troveApi
.getUserApiForZoneAndInstance(ZONE, instance.getId());
boolean result = userApi.create(UNAME, PASSWORD, DBNAME);
User name
User password
Database
name
49. Java Project
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
49
Skeleton
Project
Create User
Create Instance
Initialize API
Create Database
Test Connection
Cleanup
50. Test Connection
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
50
Load balancer needed!
CreateLoadBalancer createLB = CreateLoadBalancer.
builder()
.name(NAME)
.protocol("MYSQL")
.port(3306)
.algorithm(LoadBalancer.Algorithm.RANDOM)
.nodes(addNodes)
.virtualIPType(VirtualIP.Type.PUBLIC)
.build();
51. Test Connection
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
51
loadBalancer = lbApi.create(createLB);
52. Test Connection
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
52
StringBuilder connString = new StringBuilder();
connString.append("jdbc:mysql://");
connString
.append(getVirtualIPv4(getLb().getVirtualIPs()));
connString.append("/");
connString.append(DBNAME); connString.append("?
user=");
connString.append(UNAME);
connString.append("&password=");
connString.append(PASSWORD);
53. Test Connection
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
53
Connection conn =
DriverManager.getConnection(connString.toString());
54. Test Connection
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
54
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT 3+5");
rs.first();
System.out.format(" 3+5 is %s%n", rs.getInt(1));
59. Going forward
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
59
➢ TroveApi
➢ Backup Extension
➢ Settings Extension
➢ Clustering
➢ Abstraction layer
Rackspac
e
Microsof
t
Amazo
n
CouchDB
Salesforc
e
60. Going forward
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
60
➢ TroveApi
➢ Backup Extension
➢ Settings Extension
➢ Clustering
➢ Abstraction layer
Rackspac
e
Microsof
t
Amazo
n
CouchDB
Salesforc
e
61. Going forward
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
61
Collaborate!
http://jclouds.apache.org/
http://jclouds.apache.org/community/
62. Implementing an API
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
62
Fork <link to my fork>
Alternatively, fork jclouds-labs-openstack (for
openstack).
63. Implementing an API
Taming the Cloud Database with Apache jclouds http://rack.
to/ace14db
63
On to the IDE