photon
photon copied to clipboard
Photon - an experimental transparent Fiber scheduler and event-loop for DLang
Looking at Wekka's Mecca I see they also use Edge Trigger mode of epoll but do not care to remember short-reads/short-writes. Indeed only streaming protocols stand to slightly benefit from...
If anything Wekka.io proves that in order to maximize performance one has to go as low to the metal as possible. Photon is not exactly in the same league but...
if I comment out version(linux) stoploop(); in runFibers then process exits normally. ``` Threads: 1192 ms [New Thread 0x7fffe57fa700 (LWP 11353)] [New Thread 0x7fffe4ff9700 (LWP 11355)] [New Thread 0x7fffe67fc700 (LWP...
I wonder if it's possible to keep Photon's syscall hooks and scheduling machinery general, so for example it could be used with Lua (coroutines), etc. It seems a challenge for...
For now only HTTP server sample could serve to find certain bugs under load. Need cleaner benchmarks / tests that do not depend on lots of user-land processing (HTTP certainly...
To show how to setup Photon-driven project + showcase support for some C/C++ libraries out of the box.
I have it in Photon and it's a sizable chunk but I'd rather keep it separate. Being extremely lightweight it could also easily work on threads, fibers with Mecca/foi and...
Provide at least first iteration of channels distributed over network, these must support: - working over existing protocols such as AMPQ, MQTT etc. - bring your own serialization (including to...
Might be looking for some creative use of futex syscall + atomic ops on a word of memory. The idea is to start with lightweight object, then fallback to eventfd...