Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Activiti Cloud Deep Dive

1,365 views

Published on

Alfresco DevCon Activiti Cloud Deep Dive session covering example from: http://github.com/activiti/activiti-cloud-examples/

Published in: Software
  • Be the first to comment

  • Be the first to like this

Activiti Cloud Deep Dive

  1. 1. 2018 Activiti Cloud Deep Dive Mauricio Salatino https://github.com/salaboy Elias De Medeiros https://github.com/erdemedeiros Ryan Dawson https://github.com/ryandawsonuk 17.01.2018
  2. 2. 2018 Learn. Connect. Collaborate. Our cloud vision • Activiti should help you to be in control of your business and your cloud-native services
  3. 3. 2018 Learn. Connect. Collaborate. I’m already doing microservices… • Why would I need Activiti?
  4. 4. 2018 Learn. Connect. Collaborate. Does this resonate?
  5. 5. 2018 Learn. Connect. Collaborate. Stronger together • Scalable • Intuitive • Visible • Manageable
  6. 6. 2018 Learn. Connect. Collaborate. But how? • Let’s get a better picture of this - an example using our 7-201712-EA release • Introduce key Activiti Cloud concepts and illustrate how they can work for you
  7. 7. 2018 Learn. Connect. Collaborate. Marketing Example • Promote brands on Social Media (e.g. Twitter) – Filter feed/s of content by relevance to brand – Rank authors by relevance and sentiment of content to brands • Periodically reward authors as incentive to post more
  8. 8. 2018 Learn. Connect. Collaborate. BPM Processes - process that ranks authors based on tweets - process to reward Campaign Feed and Ranking – instance per tweet Campaign Rewards – initiated on timer
  9. 9. 2018 Learn. Connect. Collaborate. We made some BPMN – what’s our path to prod? We designed some nice BPMN! Now how do we get an app to prod? What do we normally do in the BPM world?
  10. 10. 2018 Learn. Connect. Collaborate. Put it in a BPM Suite? • E.g. V6 kickstart or Alfresco Process Services in Tomcat
  11. 11. 2018 Learn. Connect. Collaborate. Use embedded engine? • Maybe you ‘make jar not war’ e.g. activiti spring boot starter
  12. 12. 2018 Learn. Connect. Collaborate. Make cloud not war! • To do this with Activiti Cloud we’ll have multiple smaller apps: – Runtime bundle = scalable app that can execute BPMN – Connectors = apps that can implement service tasks, talk to the runtime bundle (e.g. start instances) and handle interactions with external systems (e.g. twitter) • These are new concepts we will demonstrate. • Why all this new stuff?
  13. 13. 2018 Because we’re doing microservices! Monolith Microservices Just one java classpath = monolith
  14. 14. 2018 Learn. Connect. Collaborate. Why microservices? • Because things fail – fault-tolerance • Load-balancing • Independent scaling • Independent releasing • Zero-downtime releases • Etc. • So what does it look like?
  15. 15. 2018 Learn. Connect. Collaborate. -Runtime Bundle -Twitter Connector -Processing Connector -Ranking Connector -Reward Connector Rewards Process Handle Tweets
  16. 16. 2018 Learn. Connect. Collaborate. Runtime Bundle • Lightweight BPM executor • Interfaces to other cloud components • Independently scalable
  17. 17. 2018 Learn. Connect. Collaborate. Cloud Connectors • Independently scalable • Implementations of service tasks • Interfaces to runtime bundles
  18. 18. 2018 Learn. Connect. Collaborate. Which looks like… • https://github.com/Activiti/activiti-cloud- examples/tree/develop/trending-topic-campaigns
  19. 19. 2018 Learn. Connect. Collaborate. What do we do with it? • Dockerize and then Kubernetes on AWS? • Start listening to twitter? • Alas, not at DevCon - this is an offline demo L • We will use a fake twitter feed and run locally using docker-compose and minikube
  20. 20. 2018 Learn. Connect. Collaborate. What we didn’t talk about • Activiti Cloud Query • Activiti Cloud SSO IDM • Activiti Cloud Audit • and more… check out https://www.gitbook.com/book/activiti/activiti-7- developers-guide/details
  21. 21. 2018 Questions?
  22. 22. 2018 Activiti Cloud Deep Dive Thank you!
  23. 23. 2018 Credits -Twitter image from http://www.activemarketing.com/news/archive/twitter-marketing- tips-how-to-win-followers-the-right-way/ -Happy developer with image for path to prod from https://www.otssolutions.com/blog/how-qa-testing-effort-has- changed-in-software-product-development-in-past-years/ -Activiti Kickstart screenshot from http://www.baeldung.com/activiti-kickstart-and-rest-apps -Monolith v Microservices idea from https://www.slideshare.net/lalitkale/introduction-to- microservices-80583928 , images from http://vsbattles.wikia.com/wiki/Felonius_Gru and http://globalmedicalco.com/group/Minions%20Picture/ -ELK image from https://blog.takipi.com/15-tools-to-use-when- deploying-code-to-production/ -Docker compose image from https://blog.docker.com/2016/02/compose-1-6/ -Sneak Preview image from http://www.freestockphotos.biz/stockphoto/8040 -Popeye image from http://www.dailymail.co.uk/news/article- 3186889/Well-blow-Real-life-Popeye-49cm-forearms-travels- America-compete-arm-wrestling-contests.html -Spring Cloud Netflix logo from https://ixor.be/2016/11/03/spring- cloud-netflix-microservice-architecture/ -Confused Popeye head from http://dgallucci.com/popeyes- paradox/ -Microservices Spaghetti image from https://www.slideshare.net/danveloper/microservices-the-right- way

×