Skip to main content

Smart Odoo Loadbalancer

Project description

Fortitude

Loadbalancer pour Odoo

methodes de répartition R/W :

  • random ->répartition aléatoire
  • robin -> appels séquentiels aux serveurs
  • session -> le user est affecté à un serveur
  • availability -> utilise le serveur avec le moins de connexions actives

lister de préférence des serveurs du moins puissant au plus puissant Fichier de configuration json :

{ "http_port" : 443, "http_bind" : "0.0.0.0", "secure" : true, "secure_cert" : "/etc/letsencrypt/live/XXXXX.XXX/cert.pem", "secure_key" : "/etc/letsencrypt/live/XXXXX.XXX/privkey.pem", "write_srv" : [ {"host" : "localhost", "port" : 8081}, {"host" : "localhost", "port" : 8082} ], "read_srv" : [ {"host" : "localhost", "port" : 8082} ], "ws_srv" : {"host" : "localhost", "port" : 8071},
"distribution" : "robin", "read_rules" :[ "^/(.*)/static/(.*)", "^/web/image\\?(.*)", "^/web/dataset/call_kw/(.*)/get_views", "^/web/dataset/call_kw/(.*)/web_search_read", "^/web/dataset/call_kw/(.*)/has_group", "^/web/dataset/call_kw/(.*)/web_read", "^/web/dataset/call_kw/(.*)/name_search", "^/web/dataset/call_kw/(.*)/retrieve_dashboard", "^/web/assets/(.*)/(.*)\\.js", "^/web/assets/(.*)/(.*)\\.css", "^/web/webclient/load_menus/(.*)", "^/web/webclient/translations/(.*)", "^/mail/thread/data", "^/mail/thread/messages", "^/web/action/load" ] }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fortitude-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file fortitude-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fortitude-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.20.0 setuptools/69.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.18

File hashes

Hashes for fortitude-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21c586b132778e3430a51f5bbadc74e510fe80b6bc904f4158c9506efc1a3777
MD5 3e37c472da33407c9b16cbf94a87c1cf
BLAKE2b-256 563fc06ebada93068becf594c680fce63a978ac51bb6be85fbc9e27039492c3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page