Thu Dec 5 18:29:40 2024
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.

DATE 2021-08-01

HANGOUT

2024-12-05 | 2024-11-05 | 2024-10-05 | 2024-09-05 | 2024-08-05 | 2024-07-05 | 2024-06-05 | 2024-05-05 | 2024-04-05 | 2024-03-05 | 2024-02-05 | 2024-01-05 | 2023-12-05 | 2023-11-05 | 2023-10-05 | 2023-09-05 | 2023-08-05 | 2023-07-05 | 2023-06-05 | 2023-05-05 | 2023-04-05 | 2023-03-05 | 2023-02-05 | 2023-01-05 | 2022-12-05 | 2022-11-05 | 2022-10-05 | 2022-09-05 | 2022-08-05 | 2022-07-05 | 2022-06-05 | 2022-05-05 | 2022-04-05 | 2022-03-05 | 2022-02-05 | 2022-01-05 | 2021-12-05 | 2021-11-05 | 2021-10-05 | 2021-09-05 | 2021-08-05 | 2021-07-05 | 2021-06-05 | 2021-05-05 | 2021-04-05 | 2021-03-05 | 2021-02-05 | 2021-01-05 | 2020-12-05 | 2020-11-05 | 2020-10-05 | 2020-09-05 | 2020-08-05 | 2020-07-05 | 2020-06-05 | 2020-05-05 | 2020-04-05 | 2020-03-05 | 2020-02-05 | 2020-01-05 | 2019-12-05 | 2019-11-05 | 2019-10-05 | 2019-09-05 | 2019-08-05 | 2019-07-05 | 2019-06-05 | 2019-05-05 | 2019-04-05 | 2019-03-05 | 2019-02-05 | 2019-01-05 | 2018-12-05 | 2018-11-05 | 2018-10-05 | 2018-09-05 | 2018-08-05 | 2018-07-05 | 2018-06-05 | 2018-05-05 | 2018-04-05 | 2018-03-05 | 2018-02-05 | 2018-01-05 | 2017-12-05 | 2017-11-05 | 2017-10-05 | 2017-09-05 | 2017-08-05 | 2017-07-05 | 2017-06-05 | 2017-05-05 | 2017-04-05 | 2017-03-05 | 2017-02-05 | 2017-01-05 | 2016-12-05 | 2016-11-05 | 2016-10-05 | 2016-09-05 | 2016-08-05 | 2016-07-05 | 2016-06-05 | 2016-05-05 | 2016-04-05 | 2016-03-05 | 2016-02-05 | 2016-01-05 | 2015-12-05 | 2015-11-05 | 2015-10-05 | 2015-09-05 | 2015-08-05 | 2015-07-05 | 2015-06-05 | 2015-05-05 | 2015-04-05 | 2015-03-05 | 2015-02-05 | 2015-01-05 | 2014-12-05 | 2014-11-05 | 2014-10-05 | 2014-09-05 | 2014-08-05 | 2014-07-05 | 2014-06-05 | 2014-05-05 | 2014-04-05 | 2014-03-05 | 2014-02-05 | 2014-01-05 | 2013-12-05 | 2013-11-05 | 2013-10-05 | 2013-09-05 | 2013-08-05 | 2013-07-05 | 2013-06-05 | 2013-05-05 | 2013-04-05 | 2013-03-05 | 2013-02-05 | 2013-01-05 | 2012-12-05 | 2012-11-05 | 2012-10-05 | 2012-09-05 | 2012-08-05 | 2012-07-05 | 2012-06-05 | 2012-05-05 | 2012-04-05 | 2012-03-05 | 2012-02-05 | 2012-01-05 | 2011-12-05 | 2011-11-05 | 2011-10-05 | 2011-09-05 | 2011-08-05 | 2011-07-05 | 2011-06-05 | 2011-05-05 | 2011-04-05 | 2011-03-05 | 2011-02-05 | 2011-01-05 | 2010-12-05 | 2010-11-05 | 2010-10-05 | 2010-09-05 | 2010-08-05 | 2010-07-05 | 2010-06-05 | 2010-05-05 | 2010-04-05 | 2010-03-05 | 2010-02-05 | 2010-01-05 | 2009-12-05 | 2009-11-05 | 2009-10-05 | 2009-09-05 | 2009-08-05 | 2009-07-05 | 2009-06-05 | 2009-05-05 | 2009-04-05 | 2009-03-05 | 2009-02-05 | 2009-01-05 | 2008-12-05 | 2008-11-05 | 2008-10-05 | 2008-09-05 | 2008-08-05 | 2008-07-05 | 2008-06-05 | 2008-05-05 | 2008-04-05 | 2008-03-05 | 2008-02-05 | 2008-01-05 | 2007-12-05 | 2007-11-05 | 2007-10-05 | 2007-09-05 | 2007-08-05 | 2007-07-05 | 2007-06-05 | 2007-05-05 | 2007-04-05 | 2007-03-05 | 2007-02-05 | 2007-01-05 | 2006-12-05 | 2006-11-05 | 2006-10-05 | 2006-09-05 | 2006-08-05 | 2006-07-05 | 2006-06-05 | 2006-05-05 | 2006-04-05 | 2006-03-05 | 2006-02-05 | 2006-01-05 | 2005-12-05 | 2005-11-05 | 2005-10-05 | 2005-09-05 | 2005-08-05 | 2005-07-05 | 2005-06-05 | 2005-05-05 | 2005-04-05 | 2005-03-05 | 2005-02-05 | 2005-01-05 | 2004-12-05 | 2004-11-05 | 2004-10-05 | 2004-09-05 | 2004-08-05 | 2004-07-05 | 2004-06-05 | 2004-05-05 | 2004-04-05 | 2004-03-05 | 2004-02-05 | 2004-01-05 | 2003-12-05 | 2003-11-05 | 2003-10-05 | 2003-09-05 | 2003-08-05 | 2003-07-05 | 2003-06-05 | 2003-05-05 | 2003-04-05 | 2003-03-05 | 2003-02-05 | 2003-01-05 | 2002-12-05 | 2002-11-05 | 2002-10-05 | 2002-09-05 | 2002-08-05 | 2002-07-05 | 2002-06-05 | 2002-05-05 | 2002-04-05 | 2002-03-05 | 2002-02-05 | 2002-01-05 | 2001-12-05 | 2001-11-05 | 2001-10-05 | 2001-09-05 | 2001-08-05 | 2001-07-05 | 2001-06-05 | 2001-05-05 | 2001-04-05 | 2001-03-05 | 2001-02-05 | 2001-01-05 | 2000-12-05 | 2000-11-05 | 2000-10-05 | 2000-09-05 | 2000-08-05 | 2000-07-05 | 2000-06-05 | 2000-05-05 | 2000-04-05 | 2000-03-05 | 2000-02-05 | 2000-01-05 | 1999-12-05

Key: Value:

Key: Value:

MESSAGE
DATE 2021-08-25
FROM Brad Van Sickle
SUBJECT Re: [Hangout - NYLXS] Sharing read/WRITE data between threads?
I've shared read-only data across threads many times a cheap and easy
caching mechanims, but as I'm sure you've found in your research, the
"copy-on-write" methodology employed by mod_perl prevents you from doing
that for mutable data and I'm not aware of a way around that without
fundamental changes to mod_perl itself.

There are some very good reasons that mod_perl is architected that way. 
You may very well have a specific use case that makes sharing mutable
data in memory for a threaded application desirable, but I know that
oftentimes when I've  tried to find ways to workaround a fundamental
architectural element in a toolset, the best solution for me has
ultimately been to rethink my approach rather than to wrestle the
toolset into submission.

In short, and although this isn't what you asked and I know next to
nothing about your project, constraints or requirements... it sounds
like you might want to consider a cache server
(Redis/Varnish/Elasticache/etc...) and then solve the problem and
proactively notify subscribed threads of changes if you need to.




On 8/24/2021 7:50 PM, David Booth wrote:
> I am using Apache/2.4.41 (Ubuntu), with mod_perl.  Apache uses
> multiple threads, and I want to share read/WRITE data between threads.
> (I.e., I want to be able to modify some shared data in one thread,
> such that other threads can see those changes.)  In "Practical
> mod_perl" Stas Bekman describes how to share read-only data between
> threads, but says nothing about how to share WRITABLE data between
> threads.
>
> Any clues about how this can be done?  I've searched high and low and
> found nothing.  I will also want to know what mechanisms are available
> to coordinate access to that shared data, such as locks or semaphores.
>
> I also posted this message to StackOverflow, but got no response so far:
> https://stackoverflow.com/questions/68901260/how-to-share-read-write-data-in-mod-perl-apache2
>
>
> Any help would be appreciated!
>
> Thanks,
> David Booth
_______________________________________________
Hangout mailing list
Hangout-at-nylxs.com
http://lists.mrbrklyn.com/mailman/listinfo/hangout

  1. 2021-08-01 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Wykoof like
  2. 2021-08-01 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Chaim Deutsch
  3. 2021-08-02 G?bor Szab? <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #523 - How to improve your Perl?
  4. 2021-08-07 Ruben Safir <ruben.safir-at-my.liu.edu> Subject: [Hangout - NYLXS] New Tee Shirts
  5. 2021-08-08 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] pgadmin4
  6. 2021-08-08 Axel Braun <axel.braun-at-gmx.de> Re: [Hangout - NYLXS] [Health] pgadmin4
  7. 2021-08-08 From: "Schanzenbach, Martin" <mschanzenbach-at-posteo.de> Subject: [Hangout - NYLXS] GNUnet 0.15.0 released
  8. 2021-08-09 G?bor Szab? <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #524 - Object::Pad
  9. 2021-08-11 IEEE Engineering in Medicine and Biology Society <noreply-at-embs.org> Subject: [Hangout - NYLXS] IEEE EMBS Public Forum on Healthcare Tech
  10. 2021-08-16 G?bor Szab? <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #525 - Vacation time?
  11. 2021-08-17 NYOUG <execdir-at-nyoug.org> Subject: [Hangout - NYLXS] Upcoming Events for Oracle Professionals
  12. 2021-08-19 IEEE Engineering in Medicine and Biology Society <noreply-at-embs.org> Subject: [Hangout - NYLXS] IEEE EMBS Public Forum on Healthcare Tech
  13. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  14. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  15. 2021-08-20 Qontinuum <qontinuum-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  16. 2021-08-20 Jeff Pohlmeyer <yetanothergeek-at-gmail.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  17. 2021-08-20 Jeff Pohlmeyer <yetanothergeek-at-gmail.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  18. 2021-08-20 Qontinuum <qontinuum-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  19. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  20. 2021-08-20 Qontinuum <qontinuum-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  21. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  22. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  23. 2021-08-19 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  24. 2021-08-10 Dudemanguy <dudemanguy-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] [s6] starting oneshots as non
  25. 2021-08-09 Javier <je-vv-at-e.email> Re: [Hangout - NYLXS] [artix-general] [s6] starting oneshots as non
  26. 2021-08-09 Dudemanguy <dudemanguy-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] [s6] starting oneshots as non
  27. 2021-08-09 Javier <je-vv-at-e.email> Subject: [Hangout - NYLXS] [artix-general] [s6] starting oneshots as non root
  28. 2021-08-20 Qontinuum <qontinuum-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  29. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  30. 2021-08-20 Qontinuum <qontinuum-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  31. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  32. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] [artix-general] mirror dns issues with orion
  33. 2021-08-20 winfried szukalski <szukw000-at-arcor.de> Subject: [Hangout - NYLXS] [png-mng-implement] Reading single MNG image
  34. 2021-08-19 IEEE Engineering in Medicine and Biology Society <noreply-at-embs.org> Subject: [Hangout - NYLXS] IEEE EMBS Public Forum on Healthcare Tech
  35. 2021-08-20 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  36. 2021-08-20 From: "Donald Robertson, III, FSF" <info-at-fsf.org> Subject: [Hangout - NYLXS] Meeting every Friday: Help us update the Free
  37. 2021-08-21 Rick Moen <rick-at-linuxmafia.com> Re: [Hangout - NYLXS] [artix-general] iptables blocking dns queries
  38. 2021-08-21 Javier <je-vv-at-e.email> Subject: [Hangout - NYLXS] [artix-general] [thunderbird-artix] TB calendar
  39. 2021-08-23 G?bor Szab? <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #526 - Politics in Programming?
  40. 2021-08-22 artist <artist-at-artixlinux.org> Re: [Hangout - NYLXS] [artix-general] [thunderbird-artix] TB
  41. 2021-08-23 mayer ilovitz <pmamayeri-at-gmail.com> Subject: [Hangout - NYLXS] JP 8/20/21: Yes,
  42. 2021-08-23 G?bor Szab? <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #526 - Politics in Programming?
  43. 2021-08-23 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] genes Genes Jeans
  44. 2021-08-24 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] [artix-general] squashed initramfs.img
  45. 2021-08-24 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Actually - it is a bug with xfs root file systems
  46. 2021-08-25 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Hangout - NYLXS] [artix-general] Actually - it is a bug with
  47. 2021-08-26 From: "Pat Schloss" <pschloss-at-umich.edu> Subject: [Hangout - NYLXS] [mothur] mothur v.1.46.0 release and other
  48. 2021-08-27 Kevin Cole <dc.loco-at-gmail.com> Subject: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  49. 2021-08-27 Kevin Cole <dc.loco-at-gmail.com> Subject: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  50. 2021-08-27 Kevin Cole <dc.loco-at-gmail.com> Subject: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  51. 2021-08-28 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  52. 2021-08-27 Kevin Cole <dc.loco-at-gmail.com> Re: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  53. 2021-08-27 Kevin Cole <dc.loco-at-gmail.com> Re: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  54. 2021-08-27 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  55. 2021-08-27 Kevin Cole <dc.loco-at-gmail.com> Subject: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  56. 2021-08-30 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Future of Fashion - today..
  57. 2021-08-30 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Really we are reaching the end of humanity...
  58. 2021-08-30 Lee Shallis <gb2985-at-gmail.com> Subject: [Hangout - NYLXS] [png-mng-implement] Own implementation
  59. 2021-08-29 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  60. 2021-08-28 Kevin Cole <dc.loco-at-gmail.com> Re: [Hangout - NYLXS] [Health] My GNU Health merely crashes...
  61. 2021-08-31 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Fwd: Control your computer with code,
  62. 2021-08-30 From: "Free Software Foundation" <info-at-fsf.org> Subject: [Hangout - NYLXS] FSF copyright handling: A basis for distribution,
  63. 2021-08-25 David Booth <david-at-dbooth.org> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads? [EXT]
  64. 2021-08-25 Jacques Deguest <jack-at-deguest.jp> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads?
  65. 2021-08-25 James Smith <js5-at-sanger.ac.uk> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads? [EXT]
  66. 2021-08-25 Brad Van Sickle <bvs7085-at-gmail.com> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads?
  67. 2021-08-24 David Booth <david-at-dbooth.org> Subject: [Hangout - NYLXS] Sharing read/WRITE data between threads?
  68. 2021-08-10 From: "Tammer, Rainer" <Rainer.Tammer-at-schulergroup.com> Re: [Hangout - NYLXS] Problem compiling mod_perl on AIX
  69. 2021-08-11 Steve Hay <steve.m.hay-at-googlemail.com> Re: [Hangout - NYLXS] Problem compiling mod_perl on AIX
  70. 2021-08-10 Steve Hay <steve.m.hay-at-googlemail.com> Re: [Hangout - NYLXS] Problem compiling mod_perl on AIX
  71. 2021-08-28 Alexandre Prokoudine via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] screen interface too small to use
  72. 2021-08-28 Kerry Jones via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] [Gimp-user] screen interface too small to use
  73. 2021-08-25 Liam R E Quin <liam-at-holoweb.net> Re: [Hangout - NYLXS] [Gimp-user] language
  74. 2021-08-25 Fons de Wit <fons.de.wit-at-orange.fr> Subject: [Hangout - NYLXS] [Gimp-user] language
  75. 2021-08-25 James Smith <js5-at-sanger.ac.uk> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads? [EXT]
  76. 2021-08-25 David Booth <david-at-dbooth.org> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads? [EXT]
  77. 2021-08-25 Jacques Deguest <jack-at-deguest.jp> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads?
  78. 2021-08-25 Brad Van Sickle <bvs7085-at-gmail.com> Re: [Hangout - NYLXS] Sharing read/WRITE data between threads?
  79. 2021-08-24 David Booth <david-at-dbooth.org> Subject: [Hangout - NYLXS] Sharing read/WRITE data between threads?
  80. 2021-08-10 From: "Tammer, Rainer" <Rainer.Tammer-at-schulergroup.com> Re: [Hangout - NYLXS] Problem compiling mod_perl on AIX
  81. 2021-08-11 Steve Hay <steve.m.hay-at-googlemail.com> Re: [Hangout - NYLXS] Problem compiling mod_perl on AIX
  82. 2021-08-10 Steve Hay <steve.m.hay-at-googlemail.com> Re: [Hangout - NYLXS] Problem compiling mod_perl on AIX

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!