| Subcribe via RSS

QCon SF 2009: Simon Guest, Patterns of Cloud Compu…

Декабрь 31st, 2009 | No Comments | Posted in Модули Apache

These are my unedited notes from Simon Guest’s talk about Patterns for Cloud Computing at QCon SF 2009. «This talk is about Jim, he has many questions about cloud computing…» 5 pattern of cloud-based applications Definition of cloud computing Different models: Applications must run on-premises – complete control, upfront capital costs Application runs at a hoster – lower capital costs, but pay for fixed capacity even if idle Shared, multi-tenant, pay as you go – pay someone for a pool of computing resources that can be applied to a set of applications Public Cloud vs. Private Cloud – private cloud useful e.g. for telcos offering this to their customers Windows Azure – compute, сторидж, management, based on 64bit Windows images SQL Azure – RDBMS .NET Service – service bus and access control [ed.: Who thinks of these names, and even more importantly, why doesn't Microsoft fire them?] Different models infrastructure (IaaS) vs. Platform as a Service (PaaS) as main paths Slide shows that MS offers a higher-level stack than Amazon – EC2 provides instance, Windows Azure model is a platform as a service model [Seems to me this is one of the major problems of Azure – it seems neither парилки I would define PaaS as what GAE набросившись which is much higher-level than simply a Windows Server] Pattern #1: Using the Cloud for Scale Shows how to scale up a Web app using more machines, load balancer, database partitioning A lot of work – a lot of money Designed for peak capacity, idle for a lot of time Much easier to let cloud vendor handle this dynamically Prerequisite for successful scaling in the cloud: having a queue to decouple интернет tier and backend Starbucks [of all possible examples! ;-) ] as an example for queueing Demo: «PrimeSolvr» (Web 2.0 because it’s missing the last «e») 3 takeaways: 1) core tenet of cloud computing: ability to scale up/down 2) understand how to communicate between roles and nodes 3) strategy for when to scale up and down Pattern #2: Using the cloud for multi tenancy Simply approach internally: one application per customer – works only for small numbers Implications: Schema customizations, UI customizations 3 options for data in a multi-tenant environment: 1) share DB between customers 2) each customer gets a separate DB – hard to do on-premise, much easier in the cloud 3) fixed DB schema with customizations on a tenant-by-tenant basis Demo: ASP.NET MVC app using the HTTP host name to switch UI and DB Schema Takeaways: 1) Consider multi-tenancy first, hard to retrofit 2) Design considerations must include both data and UI specifics 3) Identity as a very important consideration, see MS Patterns and Practices paper on multi-tenancy ID Pattern #3: Using the cloud for compute Popularized by MapReduce Apache Hadoop, Cloudera, Amazon Elastic MapReduce, Hadoop implementation Typical on-premise solution: very infrastructure-heavy, complex, expensive No explicit framework implementation on Azure Demo (inspired my MapReduce): Development Fabric (local execution environment), not using virtualization [similar to GAE environment]; next step is upload to Azure staging area, next level production Takeaways: MapReduce very visible, although can be hard to initally grasp, learn about existing implementations; MS academic effort: Dryad Pattern #4: Using the cloud for (infinite) сторидж Problem: Affinity between hardware and data how does the cloud help? breaks the affinity virtualized layer between the data you store and the hardware underneath Three ways: blobs, tables, relational MS: Azure Blog Storage – REST API (using GET (even range requests) and PUT); PutBlock API to move blocks – transaction build up [must look this up] Azure Table Storage (Key/Value pairs) Initial relational effort: SQL Server Data Services (MIX 08) – REST API on top of SQL Customer reaction: We want to do TDS (MS native DB protocol) SQL Data Services (MIX 09), late SQL Azure: TDS (SQL Server) in the Cloud Similarity between internal and cloud architecture makes it easier for customers [agreed, even though this might me more of a problem] Demo: SQL Azure (http://sql.azure.com); Codeplex sqlazuremw (migration wizard) – migration from local SQL Server DB to the cloud (subset of SQL Server functionality, e.g. restrictions on certain value types, clustered indexes) Takeaways: 1) Storage in the cloud may look the same, but breaks the affinity problem 2) Pricing is relevant 3) SQL Azure factor for moving to cloud in the first place= * Pattern #5: Using the cloud for communications Classic approach: VAN, now replace by Internet direct file transfers Cloud approach: REST-based queues could be used for communication – not commonly used, problem: need to pass tokens around Putting a интернет facade in front of the queue doesn’t work too well either due to firewall problems. HTTP polling is bad [why?] MS Solution: .NET Service Bus TCP Relay: outbound bi-directional socket, tunneled through the bus and kept alive on both sides. Enables routing of arbitrary protocols across company boundaries Alternative: Message Buffer, exposed using AtomPub, support retrieve, peek, lock Takeaways: Be careful consuming REST-based queues because of shared secret additional trouble because of REST service bus as potential solution

More »

Tags:

How To Set Up WebDAV With Lighttpd On Mandriva 200…

Декабрь 30th, 2009 | No Comments | Posted in Модули Apache

How To Set Up WebDAV With Lighttpd On Mandriva 2009.1 This guide explains how to set up WebDAV with lighttpd on a Mandriva 2009.1 server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the lighttpd server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.

More »

Tags:

[ Советы по защите форумов Vbulletin ]

Декабрь 29th, 2009 | No Comments | Posted in Модули Apache

Если Вы держите собственный vbulletin форум, то когда бы то ни было приходится мыслить о обороне Вашего форума. Разумеется Начнем:

1) Апдейтимся в самый конец собственной линейки(3.5.х,3.6.х,3.7.х)

Почему?: JelSoft непрерывно перекрывает всплывшие уязвимости.

Описание: Переименовываем админку, хотя в конфигурации ни под каким видом не пишем путь к нашей переименованной админке. Однако, Также переименовываем модерку, хотя её теснее возможно написать в конфигурации(хотя также не предпочтительно), т.к. она наименее уязвима

More »

Tags:

apache2 и php

Декабрь 28th, 2009 | No Comments | Posted in Модули Apache

» ) ); topic_rate.settings['allow_rating'] = parseInt(»0″); topic_rate.settings['default_rating'] = parseInt(»0″); topic_rate.settings['img_base_url'] = ipb_var_image_url + ‘/folder_topic_view’; topic_rate.settings['div_rating_wrapper'] = ‘topic-rating-wrapper’; topic_rate.settings['text_rating_image'] = ‘topic-rating-img-’; topic_rate.languages['img_alt_rate'] = «Нажмите на звездочку для оценки данной темы»; topic_rate.languages['rate_me'] = «Рейтинг:»; topic_rate.init_rating_images(); –>

More »

Tags:

Williams Seeks FERC Nod To Up Southeast Gas Servic…

Декабрь 27th, 2009 | No Comments | Posted in Модули Apache

November 18, 2009 (FinancialWire) Williams (NYSE: WMB) said it has filed an application with the Federal Energy Regulatory Commission to expand its Transco natural gas pipeline to serve markets in the southeastern United States.

The company said that new service from the Mobile Bay South II Expansion project would be available in the spring of 2011, subject to FERC approval.

More »

Tags:

mod_perl

Декабрь 26th, 2009 | No Comments | Posted in Модули Apache

is ready for you.

There are plenty of excellent documents on the mod_perl Web site ( http://perl.apache.org ) but for the novice they may be somewhat overwhelming (I am trying to convince you to use mod_perl and make you believe that it is a piece of cake , here…). Moreover, most of these documents are in the form of a reference rather than a tutorial . They also assume that you need to install and compile the mod_perl . Since FC6 comes with mod_perl , you do not have to start from scratch, so bear with me a bit longer before you decide to go to the SOURCE and become an expert. I will put more links towards the end, but I want you to try mod_perl first. Log in as root , run X (since you will need a browser, e.g., Firefox ), open a terminal and check if you have Apache installed. Obviously you need perl . Type the following and check: yum list perl

More »

Tags:

Ubuntu from dead Windows Vista installation?

Декабрь 25th, 2009 | No Comments | Posted in Модули Apache

I have a computer modem / tower a HP Compaq Presario running a x86 processor.

It died because I didn’t have a license key for Windows Vista, so now I don’t have a desktop IDE (integrated desktop (not development / data) enviroment).

So I would like to know how I would install Ubuntu from the downloader, is it a boot image? If so how do I use it on a dead Operating System?

More »

Tags:

PHP on nginx vs apache

Декабрь 24th, 2009 | No Comments | Posted in Модули Apache

в продолжение http://community.livejournal.com/ru_highload/86584.html

имеем приемлимо тормозной web-сайт на движке медиавики

тестовая страничка как правило наблюдает инфу в мемкеше, несколько из mysql (данное иной сервер, тот самый самый в двух вариантах)

время генерации одной странички:

а под перегрузкой все напротив:

More »

Tags:

Flash Remoting w/ AMFPHP – Intro

Декабрь 23rd, 2009 | No Comments | Posted in Модули Apache

Alrighty guys and gals after a brief (but unavoidable) hiatus we are ready to dive headfirst into our first series of workshops! Our first workshop topic (drum-roll please)….Flash Remoting with AMFPHP!!

Grant and myself are working on the course content but we’d love any contributions to the course from anyone who feels they can offer insight or experience on the topic. This first workshop will be more about getting familiar with general remoting applications, setup, and caveats to getting started.

More »

Tags:

Beginning Perl Web Development: From Novice to Pro…

Декабрь 22nd, 2009 | No Comments | Posted in Модули Apache

Perl and the Internet, especially the интернет, are nothing new. CGI programming and Perl were part of the early wild, wild west days of the World Wide Web. However, Perl is more than just a CGI processor relegated to handling simple email forms and other mundane интернет tasks. In this book the author will take you through several examples and topics dealing with using Perl for database development, XML and RSS feeds, performance monitoring of your интернет server, and advanced CGI tasks such as how to handle uploaded files on the интернет with Perl, and much more.

More »

Tags: