erlang @ bet365 @bet365.pdf · erlang @ bet365 dan macklin head of r&d . 3 background . 4 we...

Post on 28-Sep-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

2

Erlang @ bet365

Dan Macklin Head of R&D

3

Background

4

We use Erlang a lot at bet365

5

Why?

Because we have lots of suitable

problems

6

However introducing Erlang was a challenge

7

First someone has to find Erlang

(Not easy until recently)

8

Then you’ve got to convince some people to try it

(Luckily we have an R&D team)

9

After which you’ve got to find a

suitable project (In our case Publishers)

10

Which needs to get into production, which involves getting more

people involved

11

Finally once one system is live you

need to start evaluating other

projects

12

It can be difficult to get a big enough

critical mass

Why?

13

Where do we use

Erlang?

14

Push

15

Cash - out

16

OLTP Processing

Going beyond SQL (A very interesting use case – Scaling a huge SQL database whilst improving availability and

developer productivity)

17

So how did we go

beyond SQL?

18

Distributed Approach

(CAP – We are CAP)

19

Riak

20

Sync Free (avoid synchronisation)

Understand the application invariants for each use case

If you want scalability write bespoke code for key use cases

Model the data differently

If appropriate use CRDTs

Look at what Peter Bailis and the EU SyncFree project are doing

21

Erlang

The common denominator

22

It makes you think

differently in subtle ways

23

I think it made me and my team more rounded problem

solvers

24

So where does

Erlang as a ecosystem go

next?

25

We need to make Erlang easier to

find

26

We need to make

the adoption journey easier

27

Historically the tooling is poor

28

There are many really good libraries

but they are not consistently

maintained and supported

29

Some libraries are

missing

30

A bit of an ivory

tower

#ErlangDidThis25yearsAgo

31

Look at the Elixir Community

32

Erlang Industrial User

Group

Move from a user group to a foundation

33

What are bet365 doing to help?

34

We are members of the EIUG

35

We are involved in two open source projects

https://github.com/bet365

SOAP

Enhancing ODBC

36

The Future of Erlang at bet365

37

Questions???

38

top related