# Keeping data querable while processes are taking down

**URL:** <https://forum.kx.com/t/keeping-data-querable-while-processes-are-taking-down/13867>\
**Category:** Community Support\
**Tags:** imported, kdb-and-q\
**Created:** [April 3, 2024, 3:11pm UTC](https://forum.kx.com/t/keeping-data-querable-while-processes-are-taking-down/13867 "2024-04-03T15:11:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcalister](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@mmcalister](https://forum.kx.com/u/mmcalister)\
**Post date:** [April 3, 2024, 3:11pm UTC](https://forum.kx.com/t/keeping-data-querable-while-processes-are-taking-down/13867/1 "2024-04-03T15:11:23Z")

</div>

[https://learninghub.kx.com/forums/topic/keeping-data-querable-while-processes-are-taking-down](https://learninghub.kx.com/forums/topic/keeping-data-querable-while-processes-are-taking-down)

If you had to take a process down for a short period of time (around 10 seconds) for a refresh. How can you ensure the data is still querable for clients during this process?

---

<div class="post-metadata">

**Author:** ![pgyorok](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/pgyorok/32/128_2.png) [@pgyorok](https://forum.kx.com/u/pgyorok)\
**Post date:** [April 3, 2024, 3:35pm UTC](https://forum.kx.com/t/keeping-data-querable-while-processes-are-taking-down/13867/2 "2024-04-03T15:35:27Z")

</div>

It is a good idea to have multiple processes with a load balancer in front. That way if one or more processes dies the others can still serve incoming requests.

If you have multiple processes and you need to restart them, you could do it one by one such that there is always at least one process available.

---

<div class="post-metadata">

**Author:** ![sujoy13](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@sujoy13](https://forum.kx.com/u/sujoy13)\
**Post date:** [June 5, 2024, 1:35pm UTC](https://forum.kx.com/t/keeping-data-querable-while-processes-are-taking-down/13867/3 "2024-06-05T13:35:58Z")

</div>

[https://code.kx.com/q/wp/socket-sharding/](https://code.kx.com/q/wp/socket-sharding/)
