pavel prischepa - how we build a startup with drupal

25
How we build a startup with Drupal Pavel Prischepa

Upload: drupalsib

Post on 24-Jan-2017

463 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Pavel Prischepa - How we build a startup with Drupal

How we build a startup with Drupal

Pavel Prischepa

Page 2: Pavel Prischepa - How we build a startup with Drupal

Pavel Prischepa

6 years in Drupal

Developer > Team Lead > CTO

CTO & Co-founder at Wodby

[email protected]

Page 3: Pavel Prischepa - How we build a startup with Drupal

What is Wodby?

Wodby

Your server

Your code

Page 4: Pavel Prischepa - How we build a startup with Drupal

Application page

Page 5: Pavel Prischepa - How we build a startup with Drupal

Design architecture

Page 6: Pavel Prischepa - How we build a startup with Drupal

Based on Drupal

+ High speed of prototyping, development (relatively

to our team)

- Not enough speed in Full bootstrap

- A lot of Database queries

- No native “non-blocking I/O” integration

Page 7: Pavel Prischepa - How we build a startup with Drupal

Architecture

API(Drupal module Endpoint)

Back-end (Drupal)

wodby.com(User register, login,

password reset)

Dashboard(AngularJS)

Page 8: Pavel Prischepa - How we build a startup with Drupal

Architecture

API(Drupal module Endpoint)

Back-end (Drupal)

Dashboard(AngularJS)

Comet(Drupal module NodeJS)

wodby.com(User register, login,

password reset)

Page 9: Pavel Prischepa - How we build a startup with Drupal

Architecture

API(Drupal module Endpoint)

Dashboard(AngularJS)

Back-end (Drupal)

Comet(Drupal module NodeJS)

Microservices(Drupal module Microservices)

wodby.com(User register, login,

password reset)

Page 10: Pavel Prischepa - How we build a startup with Drupal

MicroservicesThe heart of Wodby backend

Page 11: Pavel Prischepa - How we build a startup with Drupal

Microservices

...API App CronBackup

MySQL Redis

Page 12: Pavel Prischepa - How we build a startup with Drupal

Microservices

...API App CronBackup

MySQL Redis

Actions, Results, Events

Page 13: Pavel Prischepa - How we build a startup with Drupal

Microservices in action

Page 14: Pavel Prischepa - How we build a startup with Drupal
Page 15: Pavel Prischepa - How we build a startup with Drupal

Clear App cache

API

App Gate

Page 16: Pavel Prischepa - How we build a startup with Drupal

API

App

Gate

call app.cache_clear()

Page 17: Pavel Prischepa - How we build a startup with Drupal

API AppGate

call gate.exec(“drush cc all”)

Page 18: Pavel Prischepa - How we build a startup with Drupal

API App GateWebSocket

Client server

Page 19: Pavel Prischepa - How we build a startup with Drupal

API App GateWebSocket

Client server

Page 20: Pavel Prischepa - How we build a startup with Drupal

Gate

Wodby Agent

Client server

WebSocket

Docker containers

Page 21: Pavel Prischepa - How we build a startup with Drupal

Gate

Wodby Agent

Client server

WebSocket

Nginx

Docker containers

Page 22: Pavel Prischepa - How we build a startup with Drupal
Page 23: Pavel Prischepa - How we build a startup with Drupal

Hints

● Use reliable and flexible tools

● Keep Database query simple

● Use Redis

● Cache by tags

● Slack is “all you need” (monitoring, notifications, logs, ….)

● Integrate continuously, if you can...

Page 25: Pavel Prischepa - How we build a startup with Drupal

Pavel Prischepa

Золотой спонсор:

It’s time to build startupswith Drupal!

При поддержке: Серебряный спонсор:

[email protected]@pavel_prischepa