RoundSparrowM · edit-22 years agoLemmy server admins, please enable pg_stat_statements on your PostgreSQL server so the Lemmy community can better identify the performance problems on the more active sitesplus-squarepinmessage-squaremessage-square10fedilinkarrow-up125arrow-down11
arrow-up124arrow-down1message-squareLemmy server admins, please enable pg_stat_statements on your PostgreSQL server so the Lemmy community can better identify the performance problems on the more active sitesplus-squarepinRoundSparrowM · edit-22 years agomessage-square10fedilink
RoundSparrow @ .ee@lemm.ee · 1 year agoRedis, Memcached, dragonfly for Lemmy and 2010 presentation on scaling....plus-squaremessage-squaremessage-square3fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1message-squareRedis, Memcached, dragonfly for Lemmy and 2010 presentation on scaling....plus-squareRoundSparrow @ .ee@lemm.ee · 1 year agomessage-square3fedilink
RoundSparrowM · 1 year agopost inclusion, a solid WHERE clause filter before any JOIN on SELECT post (listing of posts)message-squaremessage-square20fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1message-squarepost inclusion, a solid WHERE clause filter before any JOIN on SELECT post (listing of posts)RoundSparrowM · 1 year agomessage-square20fedilink
RoundSparrow @ BT@bulletintree.comM · 1 year agolemmy Server Performance backwards from PostgreSQL data to Rust code and TRIGGER FUNCTION logic, listed observationsplus-squaremessage-squaremessage-square0fedilinkarrow-up16arrow-down11
arrow-up15arrow-down1message-squarelemmy Server Performance backwards from PostgreSQL data to Rust code and TRIGGER FUNCTION logic, listed observationsplus-squareRoundSparrow @ BT@bulletintree.comM · 1 year agomessage-square0fedilink
RoundSparrowM · edit-21 year agoLemmy Server Performance, PostgreSQL log_min_duration_statement - can big servers share logs? value 2500ms targeting "slow queries"plus-squaremessage-squaremessage-square1fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1message-squareLemmy Server Performance, PostgreSQL log_min_duration_statement - can big servers share logs? value 2500ms targeting "slow queries"plus-squareRoundSparrowM · edit-21 year agomessage-square1fedilink
RoundSparrowM · edit-21 year agoCode to Stress Test Lemmy for performanceplus-squaremessage-squaremessage-square3fedilinkarrow-up113arrow-down11
arrow-up112arrow-down1message-squareCode to Stress Test Lemmy for performanceplus-squareRoundSparrowM · edit-21 year agomessage-square3fedilink
RoundSparrowM · edit-21 year agoHow lemmy.ca took on finding why PostgreSQL was at 100% CPU and crashing the Lemmy website this past weekend. PostgreSQL auto_explainplus-squaremessage-squaremessage-square6fedilinkarrow-up129arrow-down10
arrow-up129arrow-down1message-squareHow lemmy.ca took on finding why PostgreSQL was at 100% CPU and crashing the Lemmy website this past weekend. PostgreSQL auto_explainplus-squareRoundSparrowM · edit-21 year agomessage-square6fedilink
RoundSparrowM · 1 year agoLemmy Server optimization of PostgreSQL by focusing on community ownership of a post - and visibility of a post in a single control field. Also local flag transition to instance_id field, with value 1plus-squaremessage-squaremessage-square4fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1message-squareLemmy Server optimization of PostgreSQL by focusing on community ownership of a post - and visibility of a post in a single control field. Also local flag transition to instance_id field, with value 1plus-squareRoundSparrowM · 1 year agomessage-square4fedilink
RoundSparrowM · edit-21 year agoLemmy Server Performance - is this Rust code reading the entire table of all site languages? Does it need to?plus-squaremessage-squaremessage-square2fedilinkarrow-up17arrow-down11
arrow-up16arrow-down1message-squareLemmy Server Performance - is this Rust code reading the entire table of all site languages? Does it need to?plus-squareRoundSparrowM · edit-21 year agomessage-square2fedilink
RoundSparrowM · edit-21 year agoLemmy Server Performance, two birds with one stone, mass deletes of content: Account Delete, Community Delete, User Ban - moving these operations to a linear queue and add undo support / grace periodplus-squaremessage-squaremessage-square7fedilinkarrow-up118arrow-down10
arrow-up118arrow-down1message-squareLemmy Server Performance, two birds with one stone, mass deletes of content: Account Delete, Community Delete, User Ban - moving these operations to a linear queue and add undo support / grace periodplus-squareRoundSparrowM · edit-21 year agomessage-square7fedilink
RoundSparrowM · edit-21 year agoLemmy Server and language choices on every individual comment, many rows in the database per-community, per-site, etc. Overheard of a comment INSERT SQLplus-squaremessage-squaremessage-square4fedilinkarrow-up18arrow-down11
arrow-up17arrow-down1message-squareLemmy Server and language choices on every individual comment, many rows in the database per-community, per-site, etc. Overheard of a comment INSERT SQLplus-squareRoundSparrowM · edit-21 year agomessage-square4fedilink
RoundSparrowM · edit-21 year agoREQUEST community review of Lemmy Server Performance on Post Votes, Comment Votes - the most frequent database writes. Optimize?plus-squaremessage-squaremessage-square2fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1message-squareREQUEST community review of Lemmy Server Performance on Post Votes, Comment Votes - the most frequent database writes. Optimize?plus-squareRoundSparrowM · edit-21 year agomessage-square2fedilink
RoundSparrowM · edit-21 year agoGREAT NEWS about Lemmy Server Performance, another major SQL mistake has been discovered today: every single comment & post create (INSERT) is updating ~1700 rows in the site_aggregates tableplus-squaremessage-squaremessage-square30fedilinkarrow-up1242arrow-down12
arrow-up1240arrow-down1message-squareGREAT NEWS about Lemmy Server Performance, another major SQL mistake has been discovered today: every single comment & post create (INSERT) is updating ~1700 rows in the site_aggregates tableplus-squareRoundSparrowM · edit-21 year agomessage-square30fedilink
RoundSparrowM · 1 year agoLemmy scaling/performance: Move expensive PostgreSQL triggers to scheduled jobs. · GitHub Issue #3528 · LemmyNet/lemmyplus-squaregithub.comexternal-linkmessage-square2fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1external-linkLemmy scaling/performance: Move expensive PostgreSQL triggers to scheduled jobs. · GitHub Issue #3528 · LemmyNet/lemmyplus-squaregithub.comRoundSparrowM · 1 year agomessage-square2fedilink
RoundSparrowM · 1 year agoInformation Overload - Beehaw style - Beehawbeehaw.orgexternal-linkmessage-square0fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1external-linkInformation Overload - Beehaw style - Beehawbeehaw.orgRoundSparrowM · 1 year agomessage-square0fedilink
RoundSparrowM · 1 year agolemmy_server Rust code now exposes internal metrics via Prometheus endpointplus-squaregithub.comexternal-linkmessage-square1fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1external-linklemmy_server Rust code now exposes internal metrics via Prometheus endpointplus-squaregithub.comRoundSparrowM · 1 year agomessage-square1fedilink
RoundSparrowM · edit-21 year agoBig Lemmy server lemmy.world has put into production critical performance fixes from a runaway SQL query identified by analyzing pg_stat_statements output - and greatly reduced their server overload!plus-squarelemmy.worldexternal-linkmessage-square7fedilinkarrow-up1153arrow-down12
arrow-up1151arrow-down1external-linkBig Lemmy server lemmy.world has put into production critical performance fixes from a runaway SQL query identified by analyzing pg_stat_statements output - and greatly reduced their server overload!plus-squarelemmy.worldRoundSparrowM · edit-21 year agomessage-square7fedilink
DreadTowel@lemmy.worldEnglish · 1 year agoDe-facto memory leakplus-squaremessage-squaremessage-square10fedilinkarrow-up126arrow-down10
arrow-up126arrow-down1message-squareDe-facto memory leakplus-squareDreadTowel@lemmy.worldEnglish · 1 year agomessage-square10fedilink
RoundSparrowM · 1 year agolemmy PERFORMANCE CRISIS: Rust code in pull requests is starting to use moka caching crateplus-squaremessage-squaremessage-square5fedilinkarrow-up15arrow-down10
arrow-up15arrow-down1message-squarelemmy PERFORMANCE CRISIS: Rust code in pull requests is starting to use moka caching crateplus-squareRoundSparrowM · 1 year agomessage-square5fedilink
RoundSparrowM · edit-21 year agoLemmy PERFORMANCE CRISIS: popular instances with many remote instances following big communities could stop federating outbound for Votes on comments/posts - code path identifiedplus-squaremessage-squaremessage-square15fedilinkarrow-up113arrow-down11
arrow-up112arrow-down1message-squareLemmy PERFORMANCE CRISIS: popular instances with many remote instances following big communities could stop federating outbound for Votes on comments/posts - code path identifiedplus-squareRoundSparrowM · edit-21 year agomessage-square15fedilink