Safecast / safecastapi

The app that powers api.safecast.org
44 stars 25 forks source link

Try out Falcon server #548

Closed matschaffer closed 4 years ago

matschaffer commented 5 years ago

I ran into @ioquatix (:wave:) at RubyKagi who mentioned https://github.com/socketry/falcon should be a drop in rack/rails server.

Could be interesting to try for either api or ingest so making a note here.

ioquatix commented 5 years ago

What help do you need?

matschaffer commented 5 years ago

Do you know offhand if anyone has it running on AWS beanstalk?

Both apps run there today on the Ruby+Puma stack (latest ARN can be checked on https://github.com/Safecast/safecastapi/blob/master/lib/elasticbeanstalk_helper.rb#L18-L25).

Guessing falcon would replace Puma here so if you know of anyone with a working rails+falcon on beanstalk setup that'd be a big help.

matschaffer commented 5 years ago

Fwiw I'd really love to get to a docker stack, but I haven't had luck getting rails to not write to the container filesystem once inside a container. So double bonus if you can point me toward someone with a falcon+rails on docker.

ioquatix commented 5 years ago

I've only done it on Heroku using a Procfile.

matschaffer commented 5 years ago

Ah well :) if you come across it let me know, otherwise we'll have to bang it out ourselves which always takes longer.

Seeing the procfile example couldn't hurt if you have it handy.

matschaffer commented 5 years ago

Ah, also the "help-wanted" is our label for issues that people can start on w/o knowing too much about the safecast biz domain.

ioquatix commented 5 years ago

https://github.com/socketry/utopia-falcon-heroku

robouden commented 5 years ago

Seems nice to move to falcon after reading about it at https://github.com/socketry/falcon

regards rob

Regards, Rob Oudendijk Yuka Hayashi http://yr-design.biz http://oudendijk.biz http://about.me/robouden tel +81 80-22605966 Skype: robouden Facebook:robouden http://on.fb.me/QeKw2P linkedin:robouden https://www.linkedin.com/in/roboudendijk

On Fri, May 10, 2019 at 4:31 PM Samuel Williams notifications@github.com wrote:

https://github.com/socketry/utopia-falcon-heroku

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Safecast/safecastapi/issues/548#issuecomment-491189015, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKSVNX65YKPTAE2PEFU36DPUUQELANCNFSM4HMADLJQ .

matschaffer commented 4 years ago

See discussion on https://github.com/Safecast/safecastapi/issues/548

ioquatix commented 4 years ago

Nice, care to give a summary? How did it work out?

auspicacious commented 4 years ago

I think Mat meant discussion on PR https://github.com/Safecast/safecastapi/pull/673

matschaffer commented 4 years ago

Totally did. Thanks @auspicacious !