seitime-frappe/frappe/database
Ankush Menat fdba41c682
perf: misc client cache improvements (#29070)
* perf: Reduce penalty for lack of redis connection

If redis isn't running than this client cache is slower than default
implementation because of the extra locking overhead.

* test: update perf redis counts

* perf: cache table columns in client-cache

* fix: race condition on cache-client_cache init

Rare but apparant in synthetic benchmarks.

Cache is set but client cache is still being initialized then request
will fail.

* perf: Don't run notifications when loading document

WHAT?

* fix: use cached doc to repopulate

* perf: reduce get_meta calls
2025-01-07 16:14:43 +05:30
..
mariadb fix: MariaDBDatabase.get_tables() should not query the entire database schema (#28846) 2024-12-22 13:45:23 +05:30
postgres perf: misc client cache improvements (#29070) 2025-01-07 16:14:43 +05:30
__init__.py fix: don't use frappe.flags for mariadb_user_host_login_scope 2024-03-29 16:57:04 +05:30
database.py perf: misc client cache improvements (#29070) 2025-01-07 16:14:43 +05:30
db_manager.py fix(restore): remove MariaDB view security definers 2024-12-23 17:23:17 +05:30
operator_map.py fix: 'not set' must translate to the same condition whether used via QB or not 2024-10-07 18:52:29 +02:00
query.py perf: speedup QB field sanitization (#28818) 2024-12-18 05:47:02 +00:00
schema.py perf: misc client cache improvements (#29070) 2025-01-07 16:14:43 +05:30
sequence.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
utils.py chore(docref): fix circular imports (#28282) 2024-10-24 22:31:12 +02:00