<endformationage>
It's great to quickly test simple ideas, get rcaps worked out..
<endformationage>
Hmm. It looks like th eplayground is broken.
<endformationage>
After attempted Run: mktemp: failed to create directory via template '/tmp/tmp.XXXXXXXXXX': No space left on device
<endformationage>
:/
<endformationage>
Yep. It ran out of space.
<FunkyBob>
erk
* endformationage
sits outside playground fence until equipment is fixed.
<endformationage>
FunkyBob: RE: the TCPConnection, I think you're right.
<endformationage>
And then unregister after you're done handling the request I guess.
chatter29 has joined #ponylang
chatter29 has quit [Client Quit]
chatter29 has joined #ponylang
<chatter29>
hey guys
<chatter29>
allah is doing
<chatter29>
sun is not doing allah is doing
<chatter29>
to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger
<FunkyBob>
peace be upon you ,too, but I feel this is all off topic.
chatter29 has quit [Client Quit]
chatter29 has joined #ponylang
chatter29 has quit [Client Quit]
<endformationage>
SeanTAllen: FYI, playground is broken.
<endformationage>
Perhaps it will come back upgraded to 0.140.
<FunkyBob>
heh
<doublec>
FunkyBob: still need help?
Candle has quit [*.net *.split]
atk has quit [*.net *.split]
papey_lap has quit [*.net *.split]
Candle has joined #ponylang
papey_lap has joined #ponylang
<FunkyBob>
doublec: yep
<FunkyBob>
btw is there a nice pattern for "read chunks from this file until we're done"?
<SeanTAllen>
Thanks for the note about Pony Playground. I pinged Paul who runs it.
<FunkyBob>
SeanTAllen: not sure if you saw my earlier adventures...
<FunkyBob>
I wrote a simple static http server...
<FunkyBob>
will benchmark it, then try to weave an actor into it for parallelism
<FunkyBob>
however...
<FunkyBob>
apparently it used be possible to have a callback request more chunks of content... I can't see how to do anything like that now
cquinn has quit []
cquinn has joined #ponylang
_andre has joined #ponylang
<SeanTAllen>
Pony Playground fixed
<SeanTAllen>
ive never used the http server so i'm not sure about that FunkyBob
<SeanTAllen>
the first "http server" was a simple proof of concept that was rewritten and the new server was submitted by a community member
<FunkyBob>
hmm
<FunkyBob>
well, I have tihngs working, and I'm creating an Actor, now, for each response
<FunkyBob>
but unless File is wrapping up an actor somewhere,....
<FunkyBob>
I can't see where the actor might yield to another actor
<FunkyBob>
I guess since it's palmed off to an actor, at least it can handle another request
abbiya has quit [Remote host closed the connection]
<FunkyBob>
am hitting it with siege... it's using 200+ % CPU :)
<FunkyBob>
Transaction rate: 3638.44 trans/sec
<FunkyBob>
ok, something's not right
<FunkyBob>
second run never got any answers
<FunkyBob>
I tried making my HTTPHandler an actor, but couldn't get the permissions right somewhere
<FunkyBob>
s/perms/rcaps/
<FunkyBob>
ok, I'm getting lost here
<FunkyBob>
later, people
malthe is now known as malthe|away
aav has joined #ponylang
jemc has joined #ponylang
jemc has quit [Ping timeout: 258 seconds]
jemc has joined #ponylang
IdkPony has joined #ponylang
<IdkPony>
Is there a guide/tutorial about working with async I/O in pony somewhere? Or any code examples that might explain how Async I/O works in Pony?
pduncan has joined #ponylang
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
irx[m] has quit [Ping timeout: 252 seconds]
<SeanTAllen>
IdkPony: the tutorial contains a section on behaviors. all actor to actor calls in Pony are done via behaviors which are async.
<SeanTAllen>
o
<SeanTAllen>
async I/O
<SeanTAllen>
when you say "async i/o" IdkPony, are you referring to network IO? File? Something else?
<SeanTAllen>
or perhaps you mean how Pony works with KQueue, Epoll et al?
irx[m] has joined #ponylang
flutter30 has quit [Ping timeout: 268 seconds]
IdkPony has quit [Ping timeout: 260 seconds]
flutter38 has joined #ponylang
M-hrjet has quit [Remote host closed the connection]
buchanon[m] has quit [Remote host closed the connection]
srenatus[m]1 has quit [Read error: Connection reset by peer]
graaff has joined #ponylang
irx[m] has quit [Ping timeout: 252 seconds]
irx[m] has joined #ponylang
amclain has joined #ponylang
srenatus[m] has joined #ponylang
M-hrjet has joined #ponylang
buchanon[m] has joined #ponylang
endformationage has joined #ponylang
papey_lap has joined #ponylang
papey_lap has quit [Client Quit]
flutter38 has quit [Ping timeout: 272 seconds]
flutter11 has joined #ponylang
papey_lap has joined #ponylang
Matthias247 has joined #ponylang
plietar has joined #ponylang
graaff has quit [Ping timeout: 272 seconds]
graaff has joined #ponylang
TheLemonMan has joined #ponylang
IdkPony has joined #ponylang
<IdkPony>
SeanTAllen, Specifically File I/O at the moment, however I want to look into network later. I'm not looking for how it works with kqueue, epoll or iocpm
<IdkPony>
I'll have a look at behaviors. A code example of how a async file I/O is done would be interesting to look at for example.
<jemc>
IdkPony: I think the `files` package in the standard library currently only implements synchronous I/O - network I/O is all asynchronous in Pony, but we're currently missing the files API to match, in part because synchronous file I/O doesn't pose a lot of the same problems as synchronous network I/O, so nobody has scratched that particular itch yet
kempe has quit [Remote host closed the connection]
kempe has joined #ponylang
graaff has quit [Quit: Leaving]
jmiven has quit [Quit: WeeChat 1.7.1]
jmiven has joined #ponylang
_andre has quit [Quit: leaving]
IdkPony has quit [Ping timeout: 260 seconds]
papey_lap has quit [Ping timeout: 272 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<SeanTAllen>
idkPony: anything in particular you are looking to do with async file I/O?
flutter11 has quit [Read error: Connection reset by peer]
plietar has quit [Remote host closed the connection]
plietar has joined #ponylang
plietar_ has joined #ponylang
plietar has quit [Ping timeout: 264 seconds]
plietar_ has quit [Remote host closed the connection]
plietar has joined #ponylang
plietar has quit [Ping timeout: 240 seconds]
plietar has joined #ponylang
<FunkyBob>
morning, all
<jemc>
hello!
<FunkyBob>
how's things, jem?
<FunkyBob>
so yesterday I managed a "simple" static web server, and am now working to make it scale :)
<FunkyBob>
but I'm sure I've something wrong, as whilst the first benchmark works fine, subsequent ones can't connect