VirtualTam's bookmarks
27 bookmarks found
-
jackc/pgx - PostgreSQL Driver and Toolkit
2023-07-04 - Getting started with
pgx
- https://donchev.is/post/working-with-postgresql-in-go-using-pgx/
- jackc/pgx/v5/pgtype - Map between all common base types directly between Go and PostgreSQL
- jackc/pgx/v5/pgxpool - Concurrency-safe connection pool for
pgx
- scany/v2/pgxscan - Scan data into Go structs and other composite types
- Bulk INSERT in Postgres in GO using pgx
- Postgres table batch updates using golang pgxpool not reflected in database
- pgx.Conn can see uncommitted changes made from a pgx.Tx - TL;DR use
pgxpool
for concurrency-safe transactions - Not clear if caller is required to close in case of QueryRow or if QueryRow properly closes in case of error
- Getting started with
-
Observer pattern - Wikipedia
2018-02-19 -
Python - Logging and Multiprocessing
2017-11-09 - https://docs.python.org/3/library/logging.html
- https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue
- https://stackoverflow.com/questions/641420/how-should-i-log-while-using-multiprocessing-in-python
- https://stackoverflow.com/questions/21419323/multiprocessing-logging-lock-vs-queue
- https://github.com/jruere/multiprocessing-logging
-
Actor model - Wikipedia
2017-09-24 - https://en.wikipedia.org/wiki/Actor_model_implementation
- https://stackoverflow.com/questions/3423447/which-actor-model-library-framework-for-python-and-erlang-like
- https://quantmind.github.io/pulsar/ - https://github.com/quantmind/pulsar
- https://www.pykka.org/en/latest/ - https://github.com/jodal/pykka
- http://www.celeryproject.org/