Skip to content

Instantly share code, notes, and snippets.

@vrtmrz
Last active February 7, 2024 10:20
Show Gist options
  • Save vrtmrz/b437a539af25ef191bd452aae369242f to your computer and use it in GitHub Desktop.
Save vrtmrz/b437a539af25ef191bd452aae369242f to your computer and use it in GitHub Desktop.
deploy_couchdb_to_flyio_v2.ipynb
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vrtmrz
Copy link
Author

vrtmrz commented Jul 24, 2023

@nhan000
Copy link

nhan000 commented Aug 8, 2023

Do you mind explaining a bit on what "swap enabled" here means? Would appreciate some pointers. Thank you!

@vrtmrz
Copy link
Author

vrtmrz commented Aug 9, 2023

Thank you for asking me! It is not clear when, but at some point, fly.io started to actively evacuate machines that ran out of memory. So we have to enable using the swap memory if we are using small machines.

@nhan000
Copy link

nhan000 commented Aug 10, 2023

Thanks for the reply. Unfortunately I need you to dumb it down even more for noobs like me 😄. To be more specific, I want to know when and why I need to run the swap-enabled instead of this version. I got here from Setup CouchDB on fly.io and I don't know if I should proceed using this version or the swap-enabled version.
You mention that "we have to enable using the swap memory if we are using small machines", are "we" the users of your plugin and small machines here mean weak PCs?

@vrtmrz
Copy link
Author

vrtmrz commented Aug 10, 2023

Sorry for being so vague! Yes, you have to enable the swap if you are using the free machine. (Small is not about your local device, but about the machine hosted on fly.io).

We means that just I am using fly.io for testing, and also I am always one of the users! Cheers!

@nhan000
Copy link

nhan000 commented Aug 10, 2023

Oh okay. So if I'm using the free machine (mine has 2GB storage I believe), I should use the swap-enabled version. Got it. Thanks a lot for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment