# Hosting Total Cost of Ownership Squad

**URL:** <https://forum.communityhealthtoolkit.org/t/hosting-total-cost-of-ownership-squad/4568>\
**Category:** Squads\
**Created:** [January 16, 2025, 7:06pm UTC](https://forum.communityhealthtoolkit.org/t/hosting-total-cost-of-ownership-squad/4568 "2025-01-16T19:06:48Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![mrjones](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/mrjones/32/681_2.png) [@mrjones](https://forum.communityhealthtoolkit.org/u/mrjones)\
**Post date:** [June 3, 2025, 2:28am UTC](https://forum.communityhealthtoolkit.org/t/hosting-total-cost-of-ownership-squad/4568/24 "2025-06-03T02:28:05Z")

</div>

## 3 Jun 2025 Call

### Attending

- @jkuester - Medic
- @sugat - Medic
- @mrjones - Medic
- @twier - Medic
- @elijah - Medic

### Notes

- Review [main ticket](https://github.com/medic/cht-core/issues/9542)
  - [#9845: refactor shared libssearch to call cht datasource freetext search APIs](https://github.com/medic/cht-core/pull/9845#top) - PR approved - should be merged!
  - [Upgrade to latest version of Couch/Nouveau to 3.4.3 #9882](https://github.com/medic/cht-core/issues/9882) can be merged in 4.x and not wait for 5.x
  - should

- any ddoc changes, all views are rebuilt
  - See [related comment](https://github.com/medic/cht-core/issues/9989#issuecomment-2920362941) on research ticket
  - **Q** : _do we know for certain if a 4.19 → 4.20 will cause this spike in disk use?_ **A:**. _From the [current diff](https://github.com/medic/cht-core/compare/4.19.0...master) of `4.19.0...master`, I do not see any changes to the ddoc files_
  - Need for more disk space upgrade testing on ec2 test instance with prod data?

- MoH KE update on testing Nouveau on prod data
  - had to work through MoH process for provisioning a new VM
  - got a large and small cloned instance
  - will commence testing once ready - but need to make sure large instance has enough free space before proceeding

- hosting TCO 2.0
  - consider moving views to more/different ddocs?
  - existing [research ticket](https://github.com/medic/cht-core/issues/2849)
  - current ticket status is “it’s tricky”
  - still looking into this effort though as it’s still quite promising - it is likely a key part of path forward to address 5x disk space in upgrading
  - relevant findings in shard/cpu [research on forums](https://forum.communityhealthtoolkit.org/t/investigate-adding-more-shards-as-a-potential-avenue-for-improved-performance/4831)
  - tom exploring why exactly the space used is more than ~5x we see in production. ideally it’s ~2x.
  - early research showing map reduce (including, but beyond, freetext) views are resource intensive (both CPU & Disk)
  - some [early research](https://github.com/medic/cht-core/issues/9293) on removing freetext views

---

_[View the full topic](https://forum.communityhealthtoolkit.org/t/hosting-total-cost-of-ownership-squad/4568)._
