just queue it topconf

44

Upload: marcos-placona

Post on 14-Apr-2017

205 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Just queue it   topconf
Page 2: Just queue it   topconf

COMMUNICATING

Page 3: Just queue it   topconf

IS

Page 4: Just queue it   topconf

HARD!

Page 5: Just queue it   topconf

Just Queue it!

<Say>Hello Topconf!</Say>

@[email protected] Evangelist @ Twilio

Page 6: Just queue it   topconf

Once upon a time…

Page 7: Just queue it   topconf
Page 8: Just queue it   topconf
Page 9: Just queue it   topconf

<CFQUERY>

<CFMAIL>

<CFFORM>

<CFLOOP>

<CFARGUMENT>

<CFWTF>

Page 10: Just queue it   topconf

… happily ever after?

Page 11: Just queue it   topconf
Page 12: Just queue it   topconf
Page 13: Just queue it   topconf

SOA“After analysing both languages I came to the

conclusion a migration is almost like copy & paste”

Page 14: Just queue it   topconf

SOAboth Java & C# languages almost like copy & paste

Page 15: Just queue it   topconf

Java != .NET

Page 16: Just queue it   topconf
Page 17: Just queue it   topconf

SOASOA

Page 18: Just queue it   topconf
Page 19: Just queue it   topconf

SOASOAMicroservices

Page 20: Just queue it   topconf
Page 21: Just queue it   topconf

Communication

Page 22: Just queue it   topconf

Queues

Page 23: Just queue it   topconf

Why queue?

Everybody hates queues!Except for the British

Why queue?

Page 24: Just queue it   topconf

What!?

“An enterprise messaging system is a set of standards that allows organisations to send semantically precise messages between

computer systems. They promote loosely coupled architectures that allow changes in the formats of messages to have minimum

impact on subscribers”

What?

Page 25: Just queue it   topconf

What!?

“An enterprise messaging system is a set of standards that allows organisations to send semantically precise messages between

computer systems. They promote loosely coupled architectures that allow changes in the formats of messages to have minimum

impact on subscribers”

What?

Page 26: Just queue it   topconf

Back into how communications work

Page 27: Just queue it   topconf

Meow!

Woof!Oh Hai!

Email.SendMessage(msg)

Page 28: Just queue it   topconf

Email.SendMessage(msg)

Page 29: Just queue it   topconf

Pub/Sub

Publisher

I want to send an email

I’m uploading an image

Update my currency

conversions

Got any emails for me? $$$

I am The Doctor!

Mrs. Banker

Messaging Bus

Mr. Postman

The Doctor

Page 30: Just queue it   topconf

Happy days…

Page 31: Just queue it   topconf

But that’s not all you get

Page 32: Just queue it   topconf

Traffic Shaping

High traffic == GOOD!

Page 33: Just queue it   topconf

Scalability

Apps should scale

Scalability

Page 34: Just queue it   topconf

IsolationIsolation

Keep your errors away

Page 35: Just queue it   topconf

Cross platformCross Platform

Best tool for the job

Page 36: Just queue it   topconf
Page 37: Just queue it   topconf

Why !queue?I got it wrong

Page 38: Just queue it   topconf

Payments

Processed payments

Payments

Page 39: Just queue it   topconf

Feedback

Made my users wait

Feedback

Page 40: Just queue it   topconf

What now?What now?

Page 41: Just queue it   topconf

Demo time

Page 42: Just queue it   topconf

Key takeaways✓ Communicating is hard! ✓ High traffic is a good problem

to have ✓ Think at scale ✓ Stay away from exceptions ✓ Use the best tool for the job ✓ Queues aren’t the answer to

everything

Key takeaways

Page 43: Just queue it   topconf

@[email protected] Evangelist @ Twilio

Questions?

Page 44: Just queue it   topconf

WE’RE HIRING!

We’re hiring for positions across our global office locations:

We’re looking for people that work hard, think smart, and move fast to join us on the following teams:

• Customer Support• Engineering• Finance & Admin

• Marketing• Product• Sales

FIND OUT MORE AT bit.ly/twiliojobs OR SHOOT US AN EMAIL AT [email protected]