Relative Content

Tag Archive for concurrency

Can Clojure’s thread-based agents handle c10k performance?

I’m writing a c10k-style service and am trying to evaluate Clojure’s performance. Can Clojure agents handle this scale of concurrency with its thread-based agents? Other high performance systems seem to be moving towards async-IO/events/greenlets, albeit at a seemingly higher complexity cost.

how to verify ConcurrentHashMap is threadsafe?

As the jdk doc said, ConcurrentHashMap is thread safe and it doesn’t block multiple thread read. It is not necessary to doubt that since it was under many and restricted test. But I just curious how to tell and write code to verify that.

How to keep background requests in sequence

I’m faced with implementing interfaces for some rather archaic systems, for handling online deposits to stored value accounts (think campus card accounts for students).

Are these advanced/unfair interview questions regarding Java concurrency? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]

Design question about a concurrent forking server

I’m in the early stages of designing a client/server application. The clients will be batch programs that read a file of customer contact data (name, address, email address, phone no’s) and pass these components to the server, which will add them (if not already present) to corresponding mySQL tables and return id’s for each component. In order to boost performance, the server will have spawned four “manager” servers, each tasked with looking up and possibly adding a new row, and will pass the four components via IPC to those managers so that they can work concurrently.

Common Lisp Implementations – threading and multiplatform?

I’m learning Common Lisp, mostly as a “mind gym” hobby thing, but I want to end up with a set of skills that would also be usable “in real life”, because when you learn a language you also accumulate knowledge about module and package management, deployment and stuff, whether you like it or not, so I want to learn with a CL implementation that is also usable in production. So my question is: