Pypy and seafile

Good evening.
Sorry for my question (maybe silly)…
I’ve read that pypy is quicker than standard python.
Is possible to get seafile for Windows running with that stuff?
Kindly Regards
G

I don’t think so because:

  1. pypy doesn’t support all python libraries for example the PIL library seafile used to process image thumbnails
  2. there are caveats with pypy and AFAIK companies who uses pypy in production would have a dedicated (small) team working with it.

If you want to improve the performance of your seafile server, consider adding memcache.

Done at the installation :slight_smile:

For Windows servers, the memcached settings are here:
https://manual.seafile.com/config/seahub_settings_py.html
Regards
G

Are you sure? All of the applicable settings and instructions seem to only be for Linux. Not sure if it is an easy adjustment to work on windows?

good morning,

you are right, these settings are for linux version, but some time ago, there was django settings for windows too. the right setting, if i remember, should be:

CACHES = {
‘default’: {
‘BACKEND’: ‘django.core.cache.backends.memcached.MemcachedCache’,
‘LOCATION’: ‘127.0.0.1:11211’,
}
}

now we’ve migrated seafile to a new machine running nginx on w2008r2-x64 and we use redis instead of memcached, beacuse php ext for memcached doesn’t work for us. however, redis is not supported for seahub.

king regards