Questions tagged [lamina-clojure]

event-driven workflow library for clojure

9 questions
7
votes
3 answers

Asynchronous job queue for web service in Clojure

At the moment I'm trying to construct a web service with a RESTful API that handles some long running tasks (jobs). The idea is that a user submits a job by doing a POST which returns some URL for checking the job status which also contains a url…
JoelKuiper
  • 4,362
  • 2
  • 22
  • 33
5
votes
2 answers

Clojure core.async and Lamina

Is core.async a replacement to Lamina or does it intend to become a replacement for Lamina? If not, are there clear situations where one is preferable over the other?
shmish111
  • 3,697
  • 5
  • 30
  • 52
5
votes
3 answers

Lamina vs Storm

I am designing a prototype realtime monitor for processing fairly large amounts (>30G/day) of streaming numeric data. I would like to write this in Clojure, as the language seems to be well suited to the kind of "Observer + state machine" system…
4
votes
2 answers

Lamina undo siphon - Clojure

I'm using Lamina to implement a basic pubsub pattern. When a client subscribes to a topic I create a new channel for it (if it doesn't already exist) and then siphon it to the client's channel. However, I can't figure out how to reverse this to let…
Ilia Choly
  • 18,070
  • 14
  • 92
  • 160
3
votes
3 answers

Clojure Functional reactive programming (FRP) with Lamina: Simple clock code?

I'm using Lamina to implement Functional reactive programming (FRP). As a starter, I try to code a very simple clock in order to understand the library basics. According to the Lamina 0.5.0-rc4 API documentation, there is lamina.time…
user1028880
2
votes
1 answer

How to install lamina / aleph to Clojure?

Currently, I use Leiningen 2.1.3 on Java 1.6.0_45 Clojure 1.5.1 connected LightTable IDE 0.4.11 I want to install lamina, but looking at Installation- [lamina "0.5.0-rc3"] doesn't make sense to me since I'm fairly new. Please advice how to install,…
user1028880
1
vote
1 answer

Lamina Batched Queue

I'm trying to write a web service that takes requests, puts them into a queue, and then processes them in batches of 2. The response can be sent straight away, and I'm trying to use Lamina as follows (though not sure it's the right choice)... (def…
rodnaph
  • 1,237
  • 10
  • 12
1
vote
1 answer

Async access to MongoDB using Aleph/Lamina

I have been reading about Clojure for some time and I'm considering it as a replacement to Node.js (which I have used for another project). The most promising library seems to be Aleph/Lamina, which unfortunately doesn't have nearly as many examples…
aeuhuea
  • 449
  • 4
  • 7
0
votes
0 answers

I'm trying to access an array of type null in the view, I can't find the source of the error

I have to register a user in the database and when I click on the register button an error appears saying: Trying to access array offset on value of type null (View: …