You are on page 1of 58

M

----

@inter12

----

:
:
:O2O

--
1. -- ...
2. -- ...

--

--


()

/
--- WebxStruts2


: -- GitSvn


-- TCP/IP MYSQL

Restful


-- JVM

-- Strom
+
-- WWW




SOA




Standalone


MVC
DCI
CQRS


modelviewControl


Data, Context, Interactions

DBC

DDD


()+
+

+
MVC


WEB -- REST SERVICE -- ++
WEB -- SERVICE--SOA

+
WEB:CQRS/MVC ;SERVICE:DDD+DBC

WEB
1.
2.
3.

SERVICE
1. -- api/remote
2.
2.1 + ()
2.2 DTO
2.3 :
3. -- ()
4. --
5. --
6. --
7.
()
()
,()

()

REST+CQRS

MobileWapMWeb

+
SOA
DDD+DBC

--

1.Entity:
2.BO:WEBSERVICE
3.VO:WEB
1.Domain:
2.TO:Domain
3.Service:

Helper:

--
--
--
--

--

--

ACTION:

--

:
:()

queryOnProceed();
queryOnComplete();
------------------------------------------------query(int status);


--


fail fast


WEBStruts2 + REST Plugin
IOC+AOPSpring + Javaassist
ORMIbaits
swiftly-utils
asarum
Guava + commons-lang + commons-collections
CAT+
WEB

CPU

IO

Action:
1.urlrewrite
2.F5()


(http://f2e.dp:8011/#)


1.
2.
3.
4.

--

http://alibench.com/rp/64ba8aa1483d8feb00140bc7b5fd579c



http://alibench.com/rp/ca8e2d91090f72e3cc9ad93464e12bbe
action:(ga,)

http://alibench.com/rp/92311f9561ca8abe6cd8cd8d20b0d96e
action:+

http://alibench.com/rp/37c1cb273ccf5bfe3ba05269dcec320a
action:+


1.js
2.jscss
3.
4.hippoga
5.webkitwap.
https://docs.google.com/a/dianping.com/presentation/d/1Od6swSJtFTtZb8dgz8LbHdPsJQnTWINJfa_Z5noZM0/edit#slide=id.p



http://alibench.com/rp/64ba8aa1483d8feb00140bc7b5fd579c
http
http://alibench.com/rp/62cc7c92b1a41eda3958f1ac069f920a

ping
http://alibench.com/rp/06e1a7601ad7c440c1965ed41698ecc5
DNS
http://alibench.com/rp/bd86554f14b328a944b0f478a5cfc242


1.
2.CDN
3.()

--

http://alibench.com/rp/ca8e2d91090f72e3cc9ad93464e12bbe
action:(ga,)

http://alibench.com/rp/92311f9561ca8abe6cd8cd8d20b0d96e
action:+

http://alibench.com/rp/37c1cb273ccf5bfe3ba05269dcec320a
action:+

--
1. (swiftly/Apache Hama )
swiftly-utilbug
Apache Hama:
2.: CQRS
guava:EventBus
:swallow or zeromq or rabbitmq
AOP+
3.


1. asarum
2.
3.

MURL



1.
2.
3.


LoadMap
demo : 15
15


25

QA