You are correct that the Redis server is less important. Any background jobs won't be recreated. But in practice there should only be very few background jobs in Redis at the same time since they are all processed immediately after being put on the queue.
On Tue, Jun 24, 2014 at 11:29 AM, Dave Brown <[email protected]> wrote: > Ok that's great, thank you very much for this information. > > By the sounds of it redundancy isn't especially important on Redis, then. If > the Redis server went down we'd only need to restart it and restart Gitlab, > then users would need to log in again. > > Can you please confirm this would be ok? Would the background jobs be > recreated when they were needed? > > Many thanks. > > > On Tuesday, 24 June 2014 10:01:47 UTC+1, Sytse Sijbrandij wrote: >> >> Did I say 1kB? It is more like 25kB per user. >> >> On Tue, Jun 24, 2014 at 10:30 AM, Sytse Sijbrandij <[email protected]> >> wrote: >> > Redis stores all user sessions and the background task queue. The >> > storage requirements for Redis are minimal, about 1kB per user. >> > Sidekiq processes the background jobs with a multithreaded process. >> > This process starts with the entire Rails stack (200MB+) but it can >> > grow over time due to memory leaks. On a very active server (10.000 >> > active users) the Sidekiq process can use 1GB+ of memory. >> > >> > On Mon, Jun 23, 2014 at 5:58 PM, Dave Brown <[email protected]> wrote: >> >> The requirements document makes no mention of Redis. >> >> >> >> We'd like to know how large the storage for Redis persistence should be >> >> in >> >> the case of 500 users, 1000 users, 2000 users etc. >> >> >> >> Any suggestions? >> >> >> >> Many thanks. >> >> >> >> Notice: This email is confidential and may contain copyright material >> >> of >> >> members of the Ocado Group. Opinions and views expressed in this >> >> message may >> >> not necessarily reflect the opinions and views of the members of the >> >> Ocado >> >> Group. >> >> >> >> If you are not the intended recipient, please notify us immediately and >> >> delete all copies of this message. Please note that it is your >> >> responsibility to scan this message for viruses. >> >> >> >> References to the “Ocado Group” are to Ocado Group plc (registered in >> >> England and Wales with number 7098618) and its subsidiary undertakings >> >> (as >> >> that expression is defined in the Companies Act 2006) from time to >> >> time. >> >> The registered office of Ocado Group plc is Titan Court, 3 Bishops >> >> Square, >> >> Hatfield Business Park, Hatfield, Herts. AL10 9NE. >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "GitLab" group. >> >> To unsubscribe from this group and stop receiving emails from it, send >> >> an >> >> email to [email protected]. >> >> To view this discussion on the web visit >> >> >> >> https://groups.google.com/d/msgid/gitlabhq/f60a1b62-e722-4560-b98d-de8e3888dda0%40googlegroups.com. >> >> For more options, visit https://groups.google.com/d/optout. > > > Notice: This email is confidential and may contain copyright material of > members of the Ocado Group. Opinions and views expressed in this message may > not necessarily reflect the opinions and views of the members of the Ocado > Group. > > If you are not the intended recipient, please notify us immediately and > delete all copies of this message. Please note that it is your > responsibility to scan this message for viruses. > > References to the “Ocado Group” are to Ocado Group plc (registered in > England and Wales with number 7098618) and its subsidiary undertakings (as > that expression is defined in the Companies Act 2006) from time to time. > The registered office of Ocado Group plc is Titan Court, 3 Bishops Square, > Hatfield Business Park, Hatfield, Herts. AL10 9NE. > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/6ce3f7ef-69a1-4254-968c-a0d013b0130a%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAEG31mMAqdVRZcSp6RQhi4a-Ci8Z-yNFL8NLY-e71TkP%3DvUYRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
