Cloud / Oludap case study - Vittorio Amos Ziparo, Algorithmica

Post on 11-Jun-2015

643 views 2 download

Tags:

description

Oludap is a multiplayer online strategic game that is based on the open-source (j)Ruby on Rails framework MADMASS (MAssively Distributed Multi Agent System Simulator). MADMASS simplifies the development of next-generation web applications by relying on methodologies from Artificial Intelligence and Multi-Agent Systems. In Oludap, players compete in real-time for limited resources in a shared environment. Oludap’s gameplay is episodic, meaning that small groups of users can play one-shot games. This type of games presents two challenges: the episodic nature of the game-play may yield to rapid and unpredictable fluctuations in the workload that can make planning for IT infrastructures not sustainable; the fact that players act on a shared environment generates a high level of contention on data thus, considering that consistency is a strong requirement, scalability may be at risk. In order to overcome these challenges, we are working to re-implement the data layer of the game on top of Hibernate OGM and Infinispan, in the framework of the Specific Targeted Research Project (STReP) Cloud-TM, which is co-financed by the European Commission through the contract no. 257784.

Transcript of Cloud / Oludap case study - Vittorio Amos Ziparo, Algorithmica

an AI approach to an AI approach to web gaming in the cloudweb gaming in the cloud

Vittorio Amos ZiparoVittorio Amos Ziparo@OWF 2011@OWF 2011

Cloud-TMCloud-TM

co-financed by the European Commission through the contract no. 257784. co-financed by the European Commission through the contract no. 257784.

Web GamesWeb Games

Gameforge > 300M reg users!Gameforge > 300M reg users!Zynga has 50% of facebook users!Zynga has 50% of facebook users!

Flash GamesFlash GamesBrowser GamesBrowser Games

OutlookOutlook

● an AI design pattern

● scaling in the Cloud

an AI an AI design patterndesign pattern

MAS: an AI pattern MAS: an AI pattern

EnvironmentEnvironmentAgentAgentActionActionPerceptPercept

mor

e age

nts

mor

e age

nts

1. Benefits of a cmd patternBenefits of a cmd pattern

2.2. Guarantees on correctnessGuarantees on correctness

3.3. Easy to plug in AI and MAS codeEasy to plug in AI and MAS code

Why MAS?Why MAS?

MadMassMadMass

open source

open source

ruby lib (se

rver)

ruby lib (se

rver)

js lib (

js lib (client)

client)

scaling in scaling in the Cloudthe Cloud

The price of scalingThe price of scaling

A DSTM data layerA DSTM data layer

Distributed Software Transactional MemoryDistributed Software Transactional Memory

... imagine a memory that elastically scales... imagine a memory that elastically scales,,

that transparently persists data, that transparently persists data,

and that deals for you with concurrency issuesand that deals for you with concurrency issues

A Red Hat BackboneA Red Hat Backbone

Autonomic Self-OptimizationAutonomic Self-Optimization

Want to know more?Want to know more?

oludap.comoludap.com

github.com/algorithmica/madmass github.com/algorithmica/madmass

cloudtm.eucloudtm.eu

www.hibernate.org/subprojects/ogm www.hibernate.org/subprojects/ogm

www.jboss.org/infinispanwww.jboss.org/infinispan

torquebox.orgtorquebox.org

Thanks!Thanks!