Yes, it's possible to implement horizontal scaling, there must be simply
multiple instances of the application server running and a load balancer in
front.

Since OpenWISP is based on very popular technologies like Django, Celery,
PostgreSQL/MySQL, Redis, you can find plenty of information about
horizontal scaling with these technologies.

For more information on this topic I suggest you look at how to scale
horizontally with Django and uwsgi or another application server of your
choice.
For the workers, it's already possible to spawn multiple workers and
multiple queues, as well as redistribute the tasks to different queues, for
more information on this topic, consult the documentation of celery, which
is the distributed task queue which is used in OpenWISP.

Regarding clusters of databases, the same, look for resources already
written by the respective communities.

For configuration samples, you can look at Docker OpenWISP
<https://github.com/openwisp/docker-openwisp/> (which should support at
least HTTP horizontal scaling) and ansible-openwisp2
<https://github.com/openwisp/ansible-openwisp2> (in which to implement
horizontal scaling it's necessary to deploy on multiple VMs).

There's no documentation on this topic yet.
I hope this helps!

Best regards
*Federico Capoano*
OpenWISP OÜ
Harjumaa, Tallinn, Sepapaja tn 6, 15551
VAT: EE101989729
*openwisp.io* <http://openwisp.io>


On Fri, Jul 30, 2021 at 10:55 AM Matthew Midgett <
wixcedperforma...@gmail.com> wrote:

> I'm not needing help with the networking / VPN as that is already covered
> by our firewalls.
>
> What I need some guidance is on the horizontal scaling of the web app /
> database. Will your system support a load balancer in the web frontend?
> What about a clustered database? Has this been done before? Is there some
> documentation on it?
>
> On Thursday, July 29, 2021 at 6:07:47 PM UTC-4 Matthew Midgett wrote:
>
>> Are there any documents that would be helpful in designing topology and
>> server sizing for 7K + devices? I have 3 controllers from another project
>> that we are planning on flashing openwrt to devices and I'm wondering at
>> scale what do I need to design for.
>>
>> I asked this question earlier but I didn't see it posted so it may not
>> have submitted from my phone. If so please disregard this question.
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openwisp+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/127a216b-110a-4f0a-8224-bf91176b5ecan%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/127a216b-110a-4f0a-8224-bf91176b5ecan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6%2BLEMAjiGdHp4wchG0f6zA8Xv20bJYB%2BLae9Zhknkc8BA%40mail.gmail.com.

Reply via email to