inspring conference - enterprise infrastructure

Post on 16-Jul-2015

285 Views

Category:

Internet

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Enterprise Infrastucture the multithreading thing

Stefan WillkommerCo-Founder and CTO

@

swillkommer

TigerSissi

me ;)Annette

What is

ENTERPRISE

more servers more transactionmore users

What is the

PROBLEM

>1.000.000huge imports

records

SERVERmultiple

setup

TRAFFICvolatile

peaks

CACHEincreasing

dilemma

scale

OUT

What’s

WRONG?

think outside the

BOX

Java RubyPython JS

and now?

IMAGINE

POSSIBILITIES

EVENTLOOPS

FORKS

THREADS

What is a

THREAD

Process-ModelwithoutTHREADS

Process-ModelwithTHREADS

What do we

NEED

PHP 5.3+

compiled thread-safe--enable-maintainer-zts

PECL extensionpthreads

What can we do

NOW

my firstTHREAD

my firstTHREAD

What is a

STACKABLE

enabling sharing and synchronizingData over THREADS

tasks which can be processedby a WORKER

What can be

SHARED

everything which is

SERIALIZABLE

sharing Data with aStackable

sharing Data with aStackable

sharing Data with aStackable

What is a

WORKER

allows stacking ofDATA

like aQUEUE

SYNCHRONISATIONand

CONCURRENCY HANDLING

waiting for Threads with

join()

enables waiting for one or moreTHREADS

makes sure that result is available inTHREAD

synchronizing Threads with

synchronized()

sharing

Resources

What to do with all these

POSSIBILITIES

sure thing, building an

INFRASTRUCTURE

RuntimeApplicationServer

HTTPRemoteMethodMessage

Container 1MQ Server PC Server WebServer

Servlet Engine

Socket0.0.0.0:8587

Socket0.0.0.0:8585

Socket0.0.0.0:8586

MBeansSBeans

TimerService

Container 2

……

Let’s get

STARTED

running

NEOSon appserver.io

What’s

NEXT?

Version

1.1

Thank You

Questions?

top related