Hi All,
Thank you so much for your replies!
For my particular use case ("tail -f" multiple files and write the entries
into a db), I'm using pmap to process each file in a separate thread and
for each file, I'm using doseq to write to db. It seems to be working well
(though I still need to ben
Hi,
On Friday, October 18, 2013 12:12:31 AM UTC+2, Brian Craft wrote:
>
> I briefly tried working with the reducers library, which generally made
> things 2-3 times slower, presumably because I'm using it incorrectly. I
> would really like to see more reducers examples, e.g. for this case:
> re
04:34:18 UTC+2, Pradeep Gollakota wrote:
>
> Hi All,
>
> I’m (very) new to clojure (and loving it)… and I’m trying to wrap my head
> around how to correctly choose doseq vs dorun for my particular use case.
> I’ve read this earlier post
> https://groups.google.com/forum
side effects.
On Thursday, October 17, 2013 4:04:51 AM UTC-7, Mikera wrote:
>
> On Thursday, 17 October 2013 10:34:18 UTC+8, Pradeep Gollakota wrote:
>
>> Hi All,
>>
>> I’m (very) new to clojure (and loving it)… and I’m trying to wrap my head
>> around how to
On Thursday, 17 October 2013 10:34:18 UTC+8, Pradeep Gollakota wrote:
> Hi All,
>
> I’m (very) new to clojure (and loving it)… and I’m trying to wrap my head
> around how to correctly choose doseq vs dorun for my particular use case.
> I’ve read this earlier post
> https:/
Hi,
What is the idiomatic way of parallelizing a computation on a lazy seq?
>
>
> keep in mind, that pmap lazily processes the seq with a moving window the
size of which depends on the available cores on your machine. If the
processing of one element takes a long time, the parallel work will wa
k into pvalues and pcalls.
On Wed, Oct 16, 2013 at 10:34 PM, Pradeep Gollakota wrote:
> Hi All,
>
> I’m (very) new to clojure (and loving it)… and I’m trying to wrap my head
> around how to correctly choose doseq vs dorun for my particular use case.
> I’ve read this earlier post
Hi All,
I’m (very) new to clojure (and loving it)… and I’m trying to wrap my head
around how to correctly choose doseq vs dorun for my particular use case.
I’ve read this earlier post
https://groups.google.com/forum/#!msg/clojure/8ebJsllH8UY/mXtixH3CRRsJ and
I had a clarifying question