summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2021-03-28 00:24:28 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2021-03-28 00:24:28 +0200
commit3961fa4365d6d78c86d63c17944a0181ee1b7bb6 (patch)
tree74089730c913a14296387e57b6f0e7e0d462ae06 /docs
parentd10f20215d8c78e9e2d32d634f276bb89f86ca38 (diff)
downloadapscheduler-3961fa4365d6d78c86d63c17944a0181ee1b7bb6.tar.gz
Removed obsolete FAQ section about sharing job stores
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.rst23
1 files changed, 1 insertions, 22 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 7b6a319..baac05a 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -71,30 +71,9 @@ production), you should also read the next section.
.. _uWSGI-threads: https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html#a-note-on-python-threads
-How do I share a single job store among one or more worker processes?
-=====================================================================
-
-Short answer: You can't.
-
-Long answer: Sharing a persistent job store among two or more processes will lead to incorrect
-scheduler behavior like duplicate execution or the scheduler missing jobs, etc. This is because
-APScheduler does not currently have any interprocess synchronization and signalling scheme that
-would enable the scheduler to be notified when a job has been added, modified or removed from a job
-store.
-
-Workaround: Run the scheduler in a dedicated process and connect to it via some sort of remote
-access mechanism like RPyC_, gRPC_ or an HTTP server. The source repository contains an example_ of
-a RPyC based service that is accessed by a client.
-
-.. _RPyC: https://rpyc.readthedocs.io/en/latest/
-.. _gRPC: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwj-wMe-1eLcAhXSbZoKHdzGDZsQFjAAegQICRAB&url=https%3A%2F%2Fgrpc.io%2F&usg=AOvVaw0Jt5Y0OKbHd8MdFt9Kc2FO
-.. _example: https://github.com/agronholm/apscheduler/tree/master/examples/rpc
-
How do I use APScheduler in a web application?
==============================================
-First read through the previous section.
-
If you're running Django, you may want to check out django_apscheduler_. Note, however, that this
is a third party library and APScheduler developers are not responsible for it.
@@ -124,4 +103,4 @@ incomplete list:
.. _pyramid_scheduler: https://github.com/cadithealth/pyramid_scheduler
.. _aiohttp: https://pypi.org/project/aiohttp/
.. _apschedulerweb: https://github.com/marwinxxii/apschedulerweb
-.. _Nextdoor scheduler: https://github.com/Nextdoor/ndscheduler \ No newline at end of file
+.. _Nextdoor scheduler: https://github.com/Nextdoor/ndscheduler