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
120
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
のびしろを広げる巻き込まれ力:偶然を活かすキャリアの作り方/oso2024
takahashiikki
1
400
CSC509 Lecture 08
javiergs
PRO
0
100
RailsのPull requestsのレビューの時に私が考えていること
yahonda
5
1.7k
開発効率向上のためのリファクタリングの一歩目の選択肢 ~コード分割~ / JJUG CCC 2024 Fall
ryounasso
0
360
Kubernetes for Data Engineers: Building Scalable, Reliable Data Pipelines
sucitw
1
190
カスタムしながら理解するGraphQL Connection
yanagii
1
1.2k
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
240
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
230
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.3k
qmuntal/stateless のススメ
sgash708
0
120
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.6k
Go言語でターミナルフレンドリーなAIコマンド、afaを作った/fukuokago20_afa
monochromegane
2
140
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
31
1.5k
Designing Experiences People Love
moore
138
23k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How STYLIGHT went responsive
nonsquared
95
5.2k
GraphQLの誤解/rethinking-graphql
sonatard
66
9.9k
How GitHub (no longer) Works
holman
311
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
It's Worth the Effort
3n
183
27k
Designing the Hi-DPI Web
ddemaree
280
34k
4 Signs Your Business is Dying
shpigford
180
21k
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