Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Rack adapter #4

Closed
mferrier opened this issue Apr 19, 2012 · 5 comments
Closed

Rack adapter #4

mferrier opened this issue Apr 19, 2012 · 5 comments

Comments

@mferrier
Copy link

Love this idea, will make testing s3 stuff much easier. Would be much better as a Rack app so I could just throw it in my local passenger config and wouldn't have to run it by hand each time.

@dcu
Copy link

dcu commented Apr 21, 2012

I'll try to do this, will post results later.

@dcu
Copy link

dcu commented Apr 21, 2012

almost done. I have 5 tests broken now

@dcu
Copy link

dcu commented Apr 22, 2012

just pushed my code here: https://github.com/ricodigo/fake-s3/tree/rack

  1. it's slower. I am not sure why yet
  2. I replaced default server(webrick) with thin

if you wanna run it as rack app use FakeS3::App and if you wanna run it as middleware use FakeS3::Servlet

EDIT1: I was wrong, it's much faster and work better on concurrent environments. looks like with some extra work(using a different store engine) this could be used in production environments.
the tests run slower in this branch tho. I need to fix this before submitting a pull request

@mferrier
Copy link
Author

awesome, thanks for your help!

@pickhardt
Copy link
Collaborator

Closing since this is now present in a pull request #7

I promise to go through many of the older PRs this weekend too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants