Caching and Serving Blobs from S3




Jim Fulton, Zope Corporation

Scala DC - MD - NOVA

Jan 15, 2014

https://bitbucket.org/zc/s3blobserver

About me

Use case: Serve Blobs from S3

Architecture

Other Architecture

This is a pretty small application that exercises lots of technologies and techniques and should be a good source of examples.

https://bitbucket.org/zc/s3blobserver

Testing

Spray caching

Spray routing

server.scala

Mocking

S3.scala

S3Spec.scala

Logging

Dependency injection with subcut

ZooKeeperRegistration.scala

ZooKeeperRegistrationSpec.scala

Style

How many people think you should be able to read code without an IDE?

Style

This may be radical, but:

Questions

http://jimfulton.info/talks/s3blobserver/

https://bitbucket.org/zc/s3blobserver