Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Inside http://spring.io
Search
Brian Clozel
April 30, 2015
Programming
1
310
Inside http://spring.io
a production spring reference application
Brian Clozel
April 30, 2015
Tweet
Share
More Decks by Brian Clozel
See All by Brian Clozel
Back from SpringOnePlatform 2019
bclozel
4
220
Intro à Spring Boot
bclozel
0
130
Cloud native apps with Spring Cloud
bclozel
1
670
HTTP2 for the web developer devoxx
bclozel
0
180
HTTP2 for the web developer
bclozel
1
130
Static Resources Management with Spring
bclozel
0
350
Intro to Spring Boot
bclozel
4
2.5k
Inside spring.io: a production spring reference application
bclozel
0
120
Open-sourcing http://spring.io
bclozel
1
630
Other Decks in Programming
See All in Programming
cmp.Or に感動した
otakakot
3
260
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
120
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.2k
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
260
Outline View in SwiftUI
1024jp
1
350
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
1.1k
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Tauriでネイティブアプリを作りたい
tsucchinoko
0
380
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
110
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
140
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
180
21k
BBQ
matthewcrist
85
9.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Producing Creativity
orderedlist
PRO
341
39k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Scaling GitHub
holman
458
140k
Embracing the Ebb and Flow
colly
84
4.5k
Transcript
Inside http://spring.io Brian Clozel @brianclozel
Chris Beams - spring.io is live!
None
None
None
None
None
Brian Clozel @brianclozel http://spring.io/team/bclozel
1. Open Sourcing 2. Evolving 3. Latest improvements
Sagan application 10 Open sourcing Sagan
Example/Sample Application
Reference Application
Reference Application + live in production + open source
None
15
16 github.com/spring-io/sagan
17 BSD 3 License master branch == production
Sagan project layout 18
19 Resource Handling with Spring 4.1 workshop Missed it? http://bit.ly/resourcehandling
20 Spring Boot \o/
21 @EnableAutoConfiguration // <- THIS! @Configuration @ComponentScan public class AppConfiguration
{ }
22 curl spring.io/info curl spring.io/autoconfig curl spring.io/health curl spring.io/beans *
some endpoints are protected!
Evolving Sagan 23 while still being live in production
24 // JDK8 streams! List<String> projectVersions = project.getProjectReleases().stream() .map(ProjectRelease::getVersion) .collect(Collectors.toList());
25 Spring IO Platform dependencies { versionManagement 'io.spring.platform:platform-versions: 1.1.2.RELEASE@properties' }
26 <!—- in dependencyManagement —-> <dependency> <groupId>io.spring.platform</groupId> <artifactId>platform-bom</artifactId> <version>1.1.2.RELEASE</version> <type>pom</type>
<scope>import</scope> </dependency>
27 Distributed team
28
29
30
31 Blue/Green deployments
32 Sagan Blue instances CF Router (golang) Sagan Green instances
Latest improvements 33 …and what’s next?
34 Refactoring, Maintenance, Production issues…
35
36
37
None
None
None
None
None
43
44 Asciidoctor documents
None
46 spring-data-redis + @Cacheable annotations
sagan-site hosted on PWS GET http://spring.io search - get raw
guides - webhooks ElephantSQL redis
Q&A 48 …and what’s next?
One more thing 49 a.k.a « we have some time
left »
50 Database Migration
51 Session Management
52 Search Improvements
53 SPRING CLOUD
service B Cascading Faults service A
service B service A Circuit breaker Hystrix Fallback
Q&A 56 #springio15