Comments (2)
In our experience running a very large, very active site, we didn't find performance degradation associated with just being up and processing transactions, assuming consistent transaction sizes. I wouldn't consider such degredation normal.
I would probably first start by increasing the various cache sizes (the ZODB connection's ghost cache, the RelStorage internal pickle cache). (You could also look to make sure you don't have any idle-in-transaction connections open to the database.)
But that's a shot in the dark without knowing much, much more about your application's behaviour. To find out more, look at the metrics that RelStorage produces by hooking it up to a StatsD/Graphite system with a visualization front-end (graphite itself comes with a simple one). See also the perfmetrics
package documentation. RelStorage can also be configured to log some interesting performance information as well; this configuration is usually handled with environment variables (of which RelStorage supports many!). Many environment variables are documented (in the release notes and/or API documentation), but if you have the relstorage
logger configured at debug
level when RelStorage is imported, all the environment variables it reads will be logged.
Good luck!
from relstorage.
Hi Jason,
As I use a quite huge catalog, I actually increased the RelStorage cache size and everything seems much better now!
Thank you anyway for all your advises!
Best regards,
Thierry
from relstorage.
Related Issues (20)
- Postgresql config recommendations for Relstorage HOT 7
- Change locking order to eliminate deadlocks
- Cache vacuuming can sometimes take way too long HOT 1
- Clarification on oids.sqlite3 in SQLite storage HOT 2
- FIPS support HOT 5
- Problem packing RelStorage HOT 5
- psycopg2.ProgrammingError: named cursor isn't valid anymore HOT 1
- When Relstorage 3.5.0 final or beta? HOT 2
- Why is psycopg2-binary not recommended in production use? HOT 3
- psycopg2.errors.DuplicateObject: type "temp_store" already exists HOT 7
- Relstorage cache problem? HOT 2
- Prepack fails HOT 2
- pg8000 driver - AttributeError: 'Connection' object has no attribute 'in_transaction' HOT 2
- Avoiding UnableToLockRowsToReadCurrentError exceptions HOT 2
- Unable to install: fails to build relstorage.cache.cache extension HOT 6
- Large PostgreSQL database with blobs HOT 3
- Persistent cache not working? HOT 5
- Problem installing on macOS Sonoma HOT 1
- Uses `six` library but does not declare it.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relstorage.