just queue it topconf

Post on 14-Apr-2017

206 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

COMMUNICATING

IS

HARD!

Just Queue it!

<Say>Hello Topconf!</Say>

@marcos_placonamarcos@twilio.comDeveloper Evangelist @ Twilio

Once upon a time…

<CFQUERY>

<CFMAIL>

<CFFORM>

<CFLOOP>

<CFARGUMENT>

<CFWTF>

… happily ever after?

SOA“After analysing both languages I came to the

conclusion a migration is almost like copy & paste”

SOAboth Java & C# languages almost like copy & paste

Java != .NET

SOASOA

SOASOAMicroservices

Communication

Queues

Why queue?

Everybody hates queues!Except for the British

Why queue?

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?

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?

Back into how communications work

Meow!

Woof!Oh Hai!

Email.SendMessage(msg)

Email.SendMessage(msg)

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

Happy days…

But that’s not all you get

Traffic Shaping

High traffic == GOOD!

Scalability

Apps should scale

Scalability

IsolationIsolation

Keep your errors away

Cross platformCross Platform

Best tool for the job

Why !queue?I got it wrong

Payments

Processed payments

Payments

Feedback

Made my users wait

Feedback

What now?What now?

Demo time

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

@marcos_placonamarcos@twilio.comDeveloper Evangelist @ Twilio

Questions?

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 jobs@twilio.com

top related