Inside http://spring.io

Inside http://spring.io

a production spring reference application

9d1d5b668ad4b1fccb1a80e6789d11b5?s=128

Brian Clozel

April 30, 2015
Tweet

Transcript

  1. Inside  http://spring.io Brian  Clozel   @brianclozel

  2. Chris Beams - spring.io is live!

  3. None
  4. None
  5. None
  6. None
  7. None
  8. Brian Clozel @brianclozel http://spring.io/team/bclozel

  9. 1. Open Sourcing 2. Evolving 3. Latest improvements

  10. Sagan  application 10 Open  sourcing  Sagan

  11. Example/Sample Application

  12. Reference Application

  13. Reference Application + live in production + open source

  14. None
  15. 15

  16. 16 github.com/spring-io/sagan

  17. 17 BSD 3 License master branch == production

  18. Sagan  project  layout 18

  19. 19 Resource Handling with Spring 4.1 workshop
 Missed it?
 http://bit.ly/resourcehandling

  20. 20 Spring Boot \o/

  21. 21 @EnableAutoConfiguration // <- THIS! @Configuration @ComponentScan public class AppConfiguration

    { }
  22. 22 curl spring.io/info curl spring.io/autoconfig curl spring.io/health curl spring.io/beans *

    some endpoints are protected!
  23. Evolving  Sagan 23 while  still  being  live  in  production

  24. 24 // JDK8 streams! List<String> projectVersions = project.getProjectReleases().stream() .map(ProjectRelease::getVersion) .collect(Collectors.toList());

  25. 25 Spring IO Platform dependencies { versionManagement 'io.spring.platform:platform-versions: 1.1.2.RELEASE@properties' }

  26. 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. 27 Distributed team

  28. 28

  29. 29

  30. 30

  31. 31 Blue/Green deployments

  32. 32 Sagan Blue instances CF Router (golang) Sagan Green instances

  33. Latest  improvements 33 …and  what’s  next?

  34. 34 Refactoring, Maintenance, Production issues…

  35. 35

  36. 36

  37. 37

  38. None
  39. None
  40. None
  41. None
  42. None
  43. 43

  44. 44 Asciidoctor documents

  45. None
  46. 46 spring-data-redis + @Cacheable annotations

  47. sagan-site hosted on PWS GET http://spring.io search - get raw

    guides - webhooks ElephantSQL redis
  48. Q&A 48 …and  what’s  next?

  49. One  more  thing 49 a.k.a  «  we  have  some  time

     left  »
  50. 50 Database Migration

  51. 51 Session Management

  52. 52 Search Improvements

  53. 53 SPRING CLOUD

  54. service B Cascading Faults service A

  55. service B service A Circuit breaker
 Hystrix Fallback

  56. Q&A 56 #springio15