Sha256: fff5adef643ff97d59d9291c226231a3296b34dffa51667f7110b4f751ee299e
Contents?: true
Size: 1.69 KB
Versions: 1
Compression:
Stored size: 1.69 KB
Contents
## 0.29 Multithreaded fiber scheduling - some rough corners - Docs: explain difference between `sleep` and `suspend` - Write about threads: scheduling, etc - `Gyro_schedule_fiber` - schedule using fiber's associated thread (store thread ref in fiber), instead of current thread - Check why first call to `#sleep` returns too early in tests. Check the sleep behaviour in a spawned thread. ## 0.30 Working Sinatra application - app with database access (postgresql) - benchmarks! ## 0.31 Sidekick Plan of action: - fork sidekiq, make adjustments to Polyphony code - test performance - proceed from there ## 0.32 Testing && Docs - Pull out redis/postgres code, put into new `polyphony-xxx` gems ## 0.33 Integration ## 0.34 Real IO#gets and IO#read - More tests - Implement some basic stuff missing: - override `IO#eof?` since it too reads into buffer - real `IO#gets` (with buffering) - `IO#read` (read to EOF) - `IO.foreach` - `Process.waitpid` ## 0.35 Rails - Rails? ## 0.36 DNS ### DNS client ```ruby ip_address = DNS.lookup('google.com', 'A') ``` Prior art: - https://github.com/alexdalitz/dnsruby - https://github.com/eventmachine/eventmachine/blob/master/lib/em/resolver.rb - https://github.com/gmodarelli/em-resolv-replace/blob/master/lib/em-dns-resolver.rb - https://github.com/socketry/async-dns ### DNS server ```ruby Server = import('../../lib/polyphony/dns/server') server = Server.new do |transaction| puts "got query from #{transaction.info[:client_ip_address]}" transaction.questions.each do |q| respond(transaction, q[:domain], q[:resource_class]) end end server.listen(port: 5300) puts "listening on port 5300" ``` Prior art: - https://github.com/socketry/async-dns
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polyphony-0.28 | TODO.md |