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
320
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
680
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.6k
Inside spring.io: a production spring reference application
bclozel
0
130
Open-sourcing http://spring.io
bclozel
1
630
Other Decks in Programming
See All in Programming
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
180
HTML/CSS超絶浅い説明
yuki0329
0
190
Azure AI Foundryのご紹介
qt_luigi
1
210
Flatt Security XSS Challenge 解答・解説
flatt_security
0
740
ドメインイベント増えすぎ問題
h0r15h0
2
570
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
130
php-conference-japan-2024
tasuku43
0
430
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
1k
PHPカンファレンス 2024|共創を加速するための若手の技術挑戦
weddingpark
0
140
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
Featured
See All Featured
Building Adaptive Systems
keathley
38
2.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
Docker and Python
trallard
43
3.2k
A Tale of Four Properties
chriscoyier
157
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Mobile First: as difficult as doing things right
swwweet
222
9k
Thoughts on Productivity
jonyablonski
68
4.4k
Code Review Best Practice
trishagee
65
17k
Optimizing for Happiness
mojombo
376
70k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Designing for Performance
lara
604
68k
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