Skip to content

GoSF – Optimizing Go (going from 3K req/s to 480K req/s) + Go and SQL [Nov 19th]

Photo of Ken Fromm
Hosted By
Ken F. and Travis R.
GoSF – Optimizing Go (going from 3K req/s to 480K req/s) + Go and SQL [Nov 19th]

Details

Agenda

6:30 Networking | Food | Drink

7:00 Sharing of Tips and Tools

7:15 Speakers
• Talk 1: Optimizing Go : Going from 3K req/sec to 480K req/sec per core
• Talk 2: Go and SQL

8:30 End

Talk 1: Optimizing Go : Going from 3K req/sec to 480K req/sec per core

CloudFlare provides security and CDN capabilities at hyperscale. One of their services is to protect against DDoS L7 attacks. This talk will provide an in-depth view of how they optimized the service and went from 3K req/sec per core to 480k req/sec.

A few of the items this talk will explore include:

Description of DDoS attacks
• Multi-component approach for detection/mitigation
• Initial requirements/initial benchmarks
• The right and wrong architectural paths
• CPU profiling wins
• Memory optimization wins
• Strings, byte slices, byte arrays, garbage collection, and more
• The final CPU and memory profile
• Things they wish they had done differently

About the Speaker

http://photos1.meetupstatic.com/photos/event/3/3/1/e/600_431353086.jpeg

Ashish Gandhi is a Systems Engineer at CloudFlare (part of the data team) and a longtime GoSF member.

Talk 2: Go and SQL

Working with SQL databases is almost a necessity when it comes to transaction processing. This talk will address the state of the art when it comes to Go/SQL bindings and explore a custom-written SQL ORM created in Go and some of the lessons learned in the process of designing it.

The speakers will touch on:

• Maintaining type safety for database models through using of interfaces

• Tradeoffs between developer ease-of-use and explicitness of code, and what the ecosystem looks like right now

• Migrations and database schema versioning

• Advantages of using explicit modeling to reduce the "magic" occurring behind the scenes

About the Speakers

http://photos4.meetupstatic.com/photos/event/b/0/7/e/600_420885182.jpeg

http://photos1.meetupstatic.com/photos/event/b/1/4/6/600_420885382.jpeg

Ted Kornish and Ryan Atallah are respectively engineer and co-founder at Arktos (http://arktos.io), a startup based out of the Menlo Park area that's building a natural language interface for asking questions about data. They use Go to architect and implement web APIs, data querying and NLP systems. Having backgrounds in both dynamically and strictly typed languages, they enjoy how Go doesn’t sacrifice simplicity and readability for the sake of type safety and performance.

About the Sponsor/Host

http://photos2.meetupstatic.com/photos/event/1/3/8/600_279180312.jpeg

New Relic is a Software Analytics company that makes sense of billions of metrics across millions of apps. They help the people who build modern software understand the stories their data is trying to tell them.

About the Organizer

http://photos4.meetupstatic.com/photos/event/8/5/2/c/600_306514092.jpeg

Iron.io is the maker of IronMQ, a highly available message queue, and IronWorker, an elastic task queue/worker service. Iron.io's services are designed for doing things asynchronously and operating at scale. (www.iron.io (http://www.iron.io/))

Photo of GoSF group
GoSF
See more events