So the issue is one writer, many readers across processes? Creating
an actual mini-db-server might be the proper way to do this. Expose a
simple socket by which other processes can query the DB state. If you
need persistence between runs of your main server you can always
snapshot on
Graham Fawcett ha scritto:
[...]
Never though about sparse array, what is the advantage?
For the complexity, the same of a good hash map.
Almost certainly worse complexity than a hash map; but the overhead
could be much smaller. If (for example) you only needed a small number
of key/value
Marc Weber ha scritto:
On Wed, Sep 24, 2008 at 11:17:01PM +0200, Manlio Perillo wrote:
Hi.
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what I need
to to is atomically increment some integer values, and I
Graham Fawcett ha scritto:
On Thu, Sep 25, 2008 at 5:09 PM, Manlio Perillo
[EMAIL PROTECTED] wrote:
Graham Fawcett ha scritto:
If you're on Intel/Itanium, I believe there's a CMPXCHG instruction
that will do atomic compare-and-set on a memory address, and I'm not
sure you could get much faster
Rich Neswold ha scritto:
[...]
On Wed, Sep 24, 2008 at 4:17 PM, Manlio Perillo
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I need a simple, concurrent safe, database, written in Haskell.
On Tue, Sep 30, 2008 at 9:18 AM, Manlio Perillo
[EMAIL PROTECTED] wrote:
Graham Fawcett ha scritto:
On Thu, Sep 25, 2008 at 5:09 PM, Manlio Perillo
[EMAIL PROTECTED] wrote:
Graham Fawcett ha scritto:
If you're on Intel/Itanium, I believe there's a CMPXCHG instruction
that will do atomic
Marc
What is this strange syntax
columns = [ (trackId, conT *''Int* )
It looks like a not ended string literal unless I still have sth to learn
about Haskell.
Thank you
J-C
On Thu, Sep 25, 2008 at 12:03 AM, Marc Weber [EMAIL PROTECTED] wrote:
On Wed, Sep 24, 2008 at 11:17:01PM +0200,
On Thu, Sep 25, 2008 at 11:52:26AM +0200, jean-christophe mincke wrote:
Marc
What is this strange syntax
columns = [ (trackId, conT ''Int )
Hi J-C,
I'ts part of template haskell and tells ghc to use the type
referenced by Int. There are some getting started guides on haskell.org
Hello jean-christophe,
Thursday, September 25, 2008, 1:52:26 PM, you wrote:
columns = [ (trackId, conT ''Int )
It looks like a not ended string literal unless I still have sth to learn
about Haskell.
it's TemplateHaskell, look for Reification in
http://www.haskell.org/bz/thdoc.htm
--
Rich Neswold ha scritto:
On Wed, Sep 24, 2008 at 4:17 PM, Manlio Perillo
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what
I need to to is atomically
On Thu, Sep 25, 2008 at 11:09 AM, Manlio Perillo
[EMAIL PROTECTED]wrote:
Rich Neswold ha scritto:
On Wed, Sep 24, 2008 at 4:17 PM, Manlio Perillo [EMAIL PROTECTED]mailto:
[EMAIL PROTECTED] wrote:
I need a simple, concurrent safe, database, written in Haskell.
A database with the
On Wed, Sep 24, 2008 at 5:17 PM, Manlio Perillo
[EMAIL PROTECTED] wrote:
Hi.
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what I need
to to is atomically increment some integer values, and I would like to avoid
Graham Fawcett ha scritto:
On Wed, Sep 24, 2008 at 5:17 PM, Manlio Perillo
[EMAIL PROTECTED] wrote:
Hi.
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what I need
to to is atomically increment some integer values,
On Thu, Sep 25, 2008 at 5:09 PM, Manlio Perillo
[EMAIL PROTECTED] wrote:
Graham Fawcett ha scritto:
If you're on Intel/Itanium, I believe there's a CMPXCHG instruction
that will do atomic compare-and-set on a memory address, and I'm not
sure you could get much faster than that. :-)
I have an
Hi.
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what I
need to to is atomically increment some integer values, and I would like
to avoid to use SQLite.
Thanks Manlio Perillo
On Wed, Sep 24, 2008 at 4:17 PM, Manlio Perillo [EMAIL PROTECTED]wrote:
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what I need
to to is atomically increment some integer values, and I would like to avoid
to
On Wed, Sep 24, 2008 at 11:17:01PM +0200, Manlio Perillo wrote:
Hi.
I need a simple, concurrent safe, database, written in Haskell.
A database with the interface of Data.Map would be great, since what I need
to to is atomically increment some integer values, and I would like to avoid
17 matches
Mail list logo