A Multithreaded, Transaction-Based Locking Strategy for Containers
A Multithreaded, Transaction-Based Locking Strategy for Containers Bob Steagall CppCon 2020 K E W B C O M P U T I N GCopyright © 2020 Bob Steagall K E W B C O M P U T I N G Overview • Sharing a container • Testing the STO-based solution • Summary CppCon 2020 - A Multi-threaded, Transaction-Based Locking Strategy for Containers 2Copyright © 2020 Bob Steagall K E W B C O M P U T I N G Sharing a Container Transaction-Based Locking Strategy for Containers 3Copyright © 2020 Bob Steagall K E W B C O M P U T I N G Sharing a Container – Avoiding Race Conditions • If all threads are readers… • No locking is required0 码力 | 142 页 | 474.78 KB | 5 月前3Concurrency Patterns I
Sharing ▪ Copied Value ▪ Thread-Specific Storage ▪ Future Dealing with Mutation ▪ Scoped Locking ▪ Strategized Locking ▪ Thread-Safe Interface ▪ Guarded Suspension Concurrent Architecture Active Object Sharing ▪ Copied Value ▪ Thread-Specific Storage ▪ Future Dealing with Mutation ▪ Scoped Locking ▪ Strategized Locking ▪ Thread-Safe Interface ▪ Guarded Suspension Concurrent Architecture Active Object Mutation ▪ Scoped Locking ▪ Strategized Locking ▪ Thread-Safe Interface ▪ Guarded Suspension Concurrent Architecture Active Object Monitor Object ReactorScoped Locking Scoped Locking is RAII applied0 码力 | 39 页 | 1.14 MB | 5 月前3The Weblate Manual 2.11
PostgreSQL Configuring Weblate to use PostgreSQL MySQL or MariaDB Unicode issues in MySQL Transaction locking Creating database in MySQL Configuring Weblate to use MySQL Other configurations Configuring outgoing Example - generating mo files in repository Translation process Suggestion voting Translation locking Additional information on source strings Strings prioritization Quaity check flags Visual context utf8mb4 by: ALTER DATABASE weblate CHARACTER SET utf8mb4; Transaction locking MySQL by default uses has different transaction locking scheme than other databases and in case you see errors like Deadlock0 码力 | 280 页 | 1.12 MB | 1 年前3The Weblate Manual 2.10.1
PostgreSQL Configuring Weblate to use PostgreSQL MySQL or MariaDB Unicode issues in MySQL Transaction locking Creating database in MySQL Configuring Weblate to use MySQL Other configurations Configuring outgoing Example - generating mo files in repository Translation process Suggestion voting Translation locking Additional information on source strings Strings prioritization Quaity check flags Visual context utf8mb4 by: ALTER DATABASE weblate CHARACTER SET utf8mb4; Transaction locking MySQL by default uses has different transaction locking scheme than other databases and in case you see errors like Deadlock0 码力 | 276 页 | 1.12 MB | 1 年前3The Weblate Manual 2.12
PostgreSQL Configuring Weblate to use PostgreSQL MySQL or MariaDB Unicode issues in MySQL Transaction locking Creating database in MySQL Configuring Weblate to use MySQL Other configurations Configuring outgoing Example - generating mo files in repository Translation process Suggestion voting Translation locking Additional information on source strings Strings prioritization Quaity check flags Visual context utf8mb4 by: ALTER DATABASE weblate CHARACTER SET utf8mb4; Transaction locking MySQL by default uses has different transaction locking scheme than other databases and in case you see errors like Deadlock0 码力 | 287 页 | 1.18 MB | 1 年前3The Weblate Manual 2.10
PostgreSQL Configuring Weblate to use PostgreSQL MySQL or MariaDB Unicode issues in MySQL Transaction locking Creating database in MySQL Configuring Weblate to use MySQL Other configurations Configuring outgoing Example - generating mo files in repository Translation process Suggestion voting Translation locking Additional information on source strings Strings prioritization Quaity check flags Visual context utf8mb4 by: ALTER DATABASE weblate CHARACTER SET utf8mb4; Transaction locking MySQL by default uses has different transaction locking scheme than other databases and in case you see errors like Deadlock0 码力 | 276 页 | 1.11 MB | 1 年前3The Weblate Manual 2.2
Example - generating mo files in repository Translation process Suggestion voting Translation locking Checks and fixups Custom automatic fixups Customizing checks Fine tuning existing checks Writing registration contain example.com as domain? Enable indexing offloading Enable OFFLOAD_INDEXING to prevent locking issues and improve performance. Don’t forget to schedule indexing in background job to keep the index translation for translating [Users, Managers] Can lock translation while translating (see Translation locking). Can add suggestion [Users, Managers, Guests] Can add new suggestions. Can use machine translation0 码力 | 160 页 | 473.95 KB | 1 年前3The Weblate Manual 2.3
Example - generating mo files in repository Translation process Suggestion voting Translation locking Checks and fixups Custom automatic fixups Customizing checks Fine tuning existing checks Writing registration contain example.com as domain? Enable indexing offloading Enable OFFLOAD_INDEXING to prevent locking issues and improve performance. Don’t forget to schedule indexing in background job to keep the index for translating [Users, Managers, Owners] Can lock translation while translating (see Translation locking). Can add suggestion [Users, Managers, Owners, Guests] Can add new suggestions. Can use machine0 码力 | 168 页 | 478.30 KB | 1 年前3The Weblate Manual 2.5
Example - generating mo files in repository Translation process Suggestion voting Translation locking Checks and fixups Custom automatic fixups Customizing checks Fine tuning existing checks Writing com/en/stable/ref/contrib/sites/] Enable indexing offloading Enable OFFLOAD_INDEXING to prevent locking issues and improve performance. Don’t forget to schedule indexing in background job to keep the index for translating [Users, Managers, Owners] Can lock translation while translating (see Translation locking). Can add suggestion [Users, Managers, Owners, Guests] Can add new suggestions. Can use machine0 码力 | 215 页 | 996.63 KB | 1 年前3The Weblate Manual 2.1
Example - generating mo files in repository Translation process Suggestion voting Translation locking Checks and fixups Custom automatic fixups Customizing checks Fine tuning existing checks Writing registration contain example.com as domain? Enable indexing offloading Enable OFFLOAD_INDEXING to prevent locking issues and improve performance. Don’t forget to schedule indexing in background job to keep the index translation for translating [Users, Managers] Can lock translation while translating (see Translation locking). Can add suggestion [Users, Managers, Guests] Can add new suggestions. Can use machine translation0 码力 | 160 页 | 473.21 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100