In his report, Orkhan Gasimov (Digital Transformation Architect, Consultant, GlobalLogic, Kyiv) talked to the participants about the willingness of developers to go to Serverless, talked about the new Spring Cloud Function project, and the ability to reuse the code as an http endpoint, a stream handler, or as a cloud serverless function. The report also addressed the features of the Spring Cloud Function and how to use it to improve development performance.
This presentation was delivered at GlobalLogic Kharkiv Java TechTalk #1 on February 5, 2019.
Video: https://youtu.be/WLojSXqCvSE
2. Orkhan Gasimov
Digital Transformation Architect @ GlobalLogic
15 years of software engineering;
training & mentorship;
author of trainings about:
Microservices;
Spring Cloud;
Akka;
2Speaker
60. 60Beans
Declare function as beans
@SpringBootApplication
public class TestApp {
@Bean
public Function<Flux<String>, Flux<String>> upperCase() {
return flux -> flux.map(String::toUpperCase);
}
61. 61Beans
Declare function as beans
@SpringBootApplication
public class TestApp {
@Bean
public Function<Flux<String>, Flux<String>> upperCase() {
return flux -> flux.map(String::toUpperCase);
}
@Bean
public Supplier<String> helloWorld() {
return () -> "Hello World";
}
62. 62Beans
Declare function as beans
@SpringBootApplication
public class TestApp {
@Bean
public Function<Flux<String>, Flux<String>> upperCase() {
return flux -> flux.map(String::toUpperCase);
}
@Bean
public Supplier<String> helloWorld() {
return () -> "Hello World";
}
public static void main(String[] args) {
SpringApplication.run(TestApp.class, args);
}
}
90. 90Examples
• Projects
• Media Processing
• Data Processing Pipelines
• Financial Calculators
• Use-cases
• Semi-universal deployment model
• Separation of independent function from service logic
• On-prem FaaS
• Proprietary FaaS platform