I am using mochiweb for a server that may also get a TCP connction to which the client sends a simple string (without a newline, the s开发者_StackOverflowtring is not http). Mochiweb uses HTTP sockets
I\'m new to Erlang but I would like to get started with an application which feels applicable to the technology due to the concurrency desires I have.
Everytime the client/browser connects to Mochiweb server, it creates new process of Loop, doesn\'t it? So, if I want
i am writing records into mnesia which should be kept there only for an allowed time (24 hours). after 24 hours, before a user modifies part of them,
I have written a web-service using Erlang and Mochiweb. The web service returns a lot of results and takes some time to finish the computation.
I tried to increase file descriptors max limit on GNU/Linux: $ ulimit -n 999999 and I\'m starting the server with -env ERL_MAX_PORTS 4096.
I would like to do high level testing of my mochiweb app, like it is possible to do in Python with WebTest, in Django with the test client and in Ruby on Rails with functional or integration testing.
I\'ve been looking into Mochiweb, but I can\'t find a way to read the body while I\'m receiving the request through the socket.
I have a list of tuples which are http headers.I want to convert the list to a JSON object.I t开发者_运维技巧ry mochijson2 but to no avail.
Does anyone know of an example facebook app (or facebook connect app) done in Erlang? I\'m looking for something that includes the whole process. Specifically I don\'t seem to find anything on user au