mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #85] optimize session usage #84
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Nov 13, 2013).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/85
we access the session rather often:
read accesses:
write accesses:
note about session stores:
@ThomasWaldmann commented on GitHub (Nov 14, 2013):
some optimizations / cleanups done by
f6fb8b67bdthe "database is locked" seems to be an issue with concurrent accesses to sqlite database and seems to only happen under high load.
@ThomasWaldmann commented on GitHub (Nov 14, 2013):
it doesn't set a cookie / establish a session for ipv4/6.BASEDOMAIN/myip or /detectip - as we don't access request.session there. if one uses the full application on these hosts (other views), it does establish a session, of course.
@ThomasWaldmann commented on GitHub (Nov 14, 2013):
the code part of this issue is done.
what remains is to use a more scalable DB and a more scalable session store on nsupdate.info site (postgreSQL?) and/or a better session store (memcached?). created #97 and #98 about that, so this issue can be closed.