mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2017-09-24
This commit is contained in:
@ -438,3 +438,22 @@ $ schedtool -D -e ionice -c2 -n7 nice -n19 dspace filter-media -f -i 10947/1 -p
|
||||
- Experimenting with setting up a global JNDI database resource that can be pooled among all the DSpace webapps (reference the [April, 2017 DCAT meeting](https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017) comments)
|
||||
- See: https://www.journaldev.com/2513/tomcat-datasource-jndi-example-java
|
||||
- See: http://memorynotfound.com/configure-jndi-datasource-tomcat/
|
||||
|
||||
## 2017-09-24
|
||||
|
||||
- Start investigating other platforms for CGSpace due to linear instance pricing on Linode
|
||||
- We need to figure out how much memory is used by applications, caches, etc, and how much disk space the asset store needs
|
||||
- First, here's the last week of memory usage on CGSpace and DSpace Test:
|
||||
|
||||

|
||||

|
||||
|
||||
- 8GB of RAM seems to be good for DSpace Test for now, with Tomcat's JVM heap taking 3GB, caches and buffers taking 3–4GB, and then ~1GB unused
|
||||
- 24GB of RAM is _way_ too much for CGSpace, with Tomcat's JVM heap taking 5.5GB and caches and buffers happily using 14GB or so
|
||||
- As far as disk space, the CGSpace assetstore currently uses 51GB and Solr cores use 86GB (mostly in the statistics core)
|
||||
- DSpace Test currently doesn't even have enough space to store a full copy of CGSpace, as its Linode instance only has 96GB of disk space
|
||||
- I've heard Google Cloud is nice (cheap and performant) but it's definitely more complicated than Linode and instances aren't _that_ much cheaper to make it worth it
|
||||
- Here are some theoretical instances on Google Cloud:
|
||||
- DSpace Test, `n1-standard-2 ` with 2 vCPUs, 7.5GB RAM, 300GB persistent SSD: $99/month
|
||||
- CGSpace, `n1-standard-4 ` with 4 vCPUs, 15GB RAM, 300GB persistent SSD: $148/month
|
||||
- Looking at [Linode's instance pricing](https://www.linode.com/pricing#all) it seems we could use the same 8GB instance for $40/month, and then add [block storage](https://www.linode.com/docs/platform/how-to-use-block-storage-with-your-linode) of ~300GB for $30 (block storage is currently in beta and priced at $0.10/GiB)
|
||||
|
Reference in New Issue
Block a user